CVE-2026-97546
xfs: don't spin forever on zero-length dirents when salvaging them
Check your servers for CVE-2026-97546
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-97546 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:
xfs: don't spin forever on zero-length dirents when salvaging them
LOLLM noticed that xrep_dir_recover_data can spin forever if it encounters an unused dirent that claims to have length zero. Fix that, and prevent the same thing from happening with a zero-length entry.
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.33% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from b1991ee3e7cf852e95a3498801303cfbb4468681, before 5442f0c56445618544a801fb4dae35aed87a1aaa affected from b1991ee3e7cf852e95a3498801303cfbb4468681, before 08754ebfa5c28e8d57316b1bd7a5a921a5e2e762 affected from b1991ee3e7cf852e95a3498801303cfbb4468681, before a455c83ce5dc1a2da33b1b84253d298372a8dfbd affected from b1991ee3e7cf852e95a3498801303cfbb4468681, before 9f84792b40d0c96833341602144574bf0bd14a6a
Other versions: unaffected
|
| Linux |
affected 6.10 unaffected before 6.10 unaffected from 6.12.111 up to and including 6.12.* 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-97546 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-97546
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-97546
trivy image --scanners vuln IMAGE | grep CVE-2026-97546
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/5442f0c56445618544a801fb4dae35aed87a1aaa git.kernel.org
- https://git.kernel.org/stable/c/08754ebfa5c28e8d57316b1bd7a5a921a5e2e762 git.kernel.org
- https://git.kernel.org/stable/c/a455c83ce5dc1a2da33b1b84253d298372a8dfbd git.kernel.org
- https://git.kernel.org/stable/c/9f84792b40d0c96833341602144574bf0bd14a6a git.kernel.org
Source: the record CVE-2026-97546 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