{"id":"CVE-2026-97585","aliases":["CVE-2026-97585"],"related":[],"kind":"vulnerability","state":"published","title":"afs: Fix double-unmap of directory block","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nafs: Fix double-unmap of directory block\n\nFix afs_edit_dir_remove() to use a cleanup function to unmap the block\npointed to by afs_dir_iter::block if it's left pointing to something rather\nthan manually kunmapping the blocks.  Manually kunmapping without clearing\niter.blocks can result in a double-kunmap if afs_dir_find_block() is called\ntwice in a row (which would be the case if the block being modified is not\nfirst in the hash chain).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nafs: Fix double-unmap of directory block\n\nFix afs_edit_dir_remove() to use a cleanup function to unmap the block\npointed to by afs_dir_iter::block if it's left pointing to something rather\nthan manually kunmapping the blocks.  Manually kunmapping without clearing\niter.blocks can result in a double-kunmap if afs_dir_find_block() is called\ntwice in a row (which would be the case if the block being modified is not\nfirst in the hash chain).","source":"cvelist"}],"published":"2026-09-25T10:22:04.942Z","modified":"2026-10-19T10:17:27.910Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e","fixed":"9d6c703e24da3d39067e3c75f4ac2f6001c2472f","status":"affected"},{"type":"git","introduced":"a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e","fixed":"b60f51e4ad0f6f940899788ccc2762db1e3b69e6","status":"affected"},{"type":"git","introduced":"a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e","fixed":"e3cfd3eb7d5be7787cc69530b423f788f14d084f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.14","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.7","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/9d6c703e24da3d39067e3c75f4ac2f6001c2472f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b60f51e4ad0f6f940899788ccc2762db1e3b69e6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e3cfd3eb7d5be7787cc69530b423f788f14d084f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-97585","url":"https://www.cve.org/CVERecord?id=CVE-2026-97585","licence":"CVE Terms of Use","modified":"2026-10-19T09:09:48.929Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-97585","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97585","licence":"Public domain","modified":"2026-10-19T10:17:27.910Z"}],"updatedAt":"2026-11-25T22:59:40.965Z","epss":{"score":0.00198,"percentile":0.0998,"date":"2026-12-02T12:00:21.000Z"}}