← CVE Intelligence

CVE-2026-97585

afs: Fix double-unmap of directory block PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: afs: Fix double-unmap of directory block Fix afs_edit_dir_remove() to use a cleanup function to unmap the block pointed to by afs_dir_iter::block if it's left pointing to something rather than manually kunmapping the blocks. Manually kunmapping without clearing iter.blocks can result in a double-kunmap if afs_dir_find_block() is called twice in a row (which would be the case if the block being modified is not first in the hash chain).

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e before 9d6c703e24da3d39067e3c75f4ac2f6001c2472f; affected a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e before b60f51e4ad0f6f940899788ccc2762db1e3b69e6; affected a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e before e3cfd3eb7d5be7787cc69530b423f788f14d084f
Linux / Linuxaffected 6.14; unaffected 0 before 6.14; unaffected 6.18.53 through 6.18.*; unaffected 7.2.7 through 7.2.*; unaffected 7.3 through *

CWE

No CWE identifiers supplied.

References