CVE-2026-97546Published Sep 25, 2026 · Sep 25Updated 3d ago
xfs: don't spin forever on zero-length dirents when salvaging them
Linux
Unrated
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's XFS directory recovery code can spin forever while salvaging a zero-length directory entry. The input does not specify how an attacker could create or trigger such an entry, or whether access or user interaction is required.
Engineers running Linux systems that use XFS should check whether their kernel includes the fix; affected versions are not specified.