afs: Fix double-unmap of directory block
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.18.53, 7.2.7
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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).
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e · fixed in 9d6c703e24da3d39067e3c75f4ac2f6001c2472f; From a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e · fixed in b60f51e4ad0f6f940899788ccc2762db1e3b69e6; From a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e · fixed in e3cfd3eb7d5be7787cc69530b423f788f14d084f
- Linux Linux
6.14
- KernelLinux
From 6.14.0 · fixed in 6.18.53; From 6.19.0 · fixed in 7.2.7