# CVE-2026-97546: xfs: don't spin forever on zero-length dirents when salvaging them

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-09-25T10:21:41.029Z
- Modified: 2026-10-19T10:17:23.610Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from b1991ee3e7cf852e95a3498801303cfbb4468681 before 5442f0c56445618544a801fb4dae35aed87a1aaa; from b1991ee3e7cf852e95a3498801303cfbb4468681 before 08754ebfa5c28e8d57316b1bd7a5a921a5e2e762; from b1991ee3e7cf852e95a3498801303cfbb4468681 before a455c83ce5dc1a2da33b1b84253d298372a8dfbd; from b1991ee3e7cf852e95a3498801303cfbb4468681 before 9f84792b40d0c96833341602144574bf0bd14a6a; 6.10 (not affected: before 6.10; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/5442f0c56445618544a801fb4dae35aed87a1aaa>
- <https://git.kernel.org/stable/c/08754ebfa5c28e8d57316b1bd7a5a921a5e2e762>
- <https://git.kernel.org/stable/c/a455c83ce5dc1a2da33b1b84253d298372a8dfbd>
- <https://git.kernel.org/stable/c/9f84792b40d0c96833341602144574bf0bd14a6a>

## Sources

- CVE List: [CVE-2026-97546](https://www.cve.org/CVERecord?id=CVE-2026-97546), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-97546](https://nvd.nist.gov/vuln/detail/CVE-2026-97546), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-97546 · Whole record: https://cve.day/CVE-2026-97546.json · Rebuilt by cve.day 2026-11-25T22:59:40.952Z
