CVE-2026-97585 PUBLISHED

afs: Fix double-unmap of directory block

Assigner: Linux
Reserved: 24.09.2026 Published: 25.09.2026 Updated: 25.09.2026

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).

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e to 9d6c703e24da3d39067e3c75f4ac2f6001c2472f (excl.)
  • affected from a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e to b60f51e4ad0f6f940899788ccc2762db1e3b69e6 (excl.)
  • affected from a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e to e3cfd3eb7d5be7787cc69530b423f788f14d084f (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.14 is affected
  • unaffected from 0 to 6.14 (excl.)
  • unaffected from 6.18.53 to 6.18.* (incl.)
  • unaffected from 7.2.7 to 7.2.* (incl.)
  • unaffected from 7.3-rc3 to * (incl.)

References