{"id":"CVE-2026-97585","summary":"afs: Fix double-unmap of directory block","details":"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).","modified":"2026-09-27T03:47:38.125469900Z","published":"2026-09-25T10:22:04.942Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97585.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/9d6c703e24da3d39067e3c75f4ac2f6001c2472f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b60f51e4ad0f6f940899788ccc2762db1e3b69e6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e3cfd3eb7d5be7787cc69530b423f788f14d084f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97585.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97585"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e"},{"fixed":"9d6c703e24da3d39067e3c75f4ac2f6001c2472f"},{"fixed":"b60f51e4ad0f6f940899788ccc2762db1e3b69e6"},{"fixed":"e3cfd3eb7d5be7787cc69530b423f788f14d084f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97585.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.14.0"},{"fixed":"6.18.53"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97585.json"}}],"schema_version":"1.9.0"}