{"id":"CVE-2026-97546","summary":"xfs: don't spin forever on zero-length dirents when salvaging them","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: don't spin forever on zero-length dirents when salvaging them\n\nLOLLM noticed that xrep_dir_recover_data can spin forever if it\nencounters an unused dirent that claims to have length zero.  Fix that,\nand prevent the same thing from happening with a zero-length entry.","modified":"2026-09-26T03:48:29.643440453Z","published":"2026-09-25T10:21:41.029Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97546.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/08754ebfa5c28e8d57316b1bd7a5a921a5e2e762"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5442f0c56445618544a801fb4dae35aed87a1aaa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9f84792b40d0c96833341602144574bf0bd14a6a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a455c83ce5dc1a2da33b1b84253d298372a8dfbd"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97546.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97546"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b1991ee3e7cf852e95a3498801303cfbb4468681"},{"fixed":"5442f0c56445618544a801fb4dae35aed87a1aaa"},{"fixed":"08754ebfa5c28e8d57316b1bd7a5a921a5e2e762"},{"fixed":"a455c83ce5dc1a2da33b1b84253d298372a8dfbd"},{"fixed":"9f84792b40d0c96833341602144574bf0bd14a6a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97546.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.10.0"},{"fixed":"6.12.111"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.53"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97546.json"}}],"schema_version":"1.9.0"}