CVE-2026-97542: xfs: bail out on bitmap errors in xrep_agfl_fill
In the Linux kernel, the following vulnerability has been resolved:
xfs: bail out on bitmap errors in xrepagflfill
LOLLM also points out that the xagbbitmapset call in xrepagflfill can fail, but we don't check the result of xagbbitmapwalk, so we silently drop the error and proceed with inconsistent incore data. That shouldn't be allowed.
Affected Software
Event History
Frequently Asked Questions
What operation must be occurring for this issue to be relevant?
The affected path is xrep_agfl_fill in the XFS repair code. The problem arises when bitmap operations fail and the error from xagb_bitmap_walk is not checked, allowing processing to continue with inconsistent in-memory data.
How can I determine whether my kernel includes the fix?
Check whether your kernel source or vendor patch set includes one of the referenced stable commits: e49977bc568c2649cf1a37992e538df8e3779ee4, 82a0fd3fe908914425798b6be2b9b0a4f69ff84d, or b5309ae6504e9b727d83bdfb2a19f44896a8f019.