CVE-2026-97585
afs: Fix double-unmap of directory block
Check your servers for CVE-2026-97585
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-97585 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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).
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.02% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e, before 9d6c703e24da3d39067e3c75f4ac2f6001c2472f affected from a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e, before b60f51e4ad0f6f940899788ccc2762db1e3b69e6 affected from a5b5beebcf96d5e8a2fc79856c2ac1e93f82478e, before e3cfd3eb7d5be7787cc69530b423f788f14d084f
Other versions: unaffected
|
| Linux |
affected 6.14 unaffected before 6.14 unaffected from 6.18.53 up to and including 6.18.* unaffected from 7.2.7 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-97585 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-97585
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-97585
trivy image --scanners vuln IMAGE | grep CVE-2026-97585
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/9d6c703e24da3d39067e3c75f4ac2f6001c2472f git.kernel.org
- https://git.kernel.org/stable/c/b60f51e4ad0f6f940899788ccc2762db1e3b69e6 git.kernel.org
- https://git.kernel.org/stable/c/e3cfd3eb7d5be7787cc69530b423f788f14d084f git.kernel.org
Source: the record CVE-2026-97585 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse