PT-2026-128470
Published
2026-10-18
·
Updated
2026-10-18
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
xfs: fix cursor and pointer handling when recovering iunlink buckets
LOLLM pointed out a bug in xlog recover iunlink bucket:
- We don't null out prev ip after releasing it, which can lead to UAF problems if the inodegc flush call in the loop fails.
at which point I noticed even more bugs:
-
If the inodegc flush inside the loop fails, we also leak @ip.
-
We set prev agino to agino having already advanced agino, which results in inodes with i prev unlinked set to itself.
-
If we exit the bottom of the loop with prev ip set, then prev ip aliases ip and we also set its i prev unlinked to itself.
Bugs 3 and 4 introduce loops into the unlinked list, though these loops
don't surface because we immediately flush each unlinked inode after
loading it.
Fix all of these issues.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾