{"id":"CVE-2026-98443","title":"xfs: fix cursor and pointer handling when recovering iunlink buckets","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: fix cursor and pointer handling when recovering iunlink buckets\n\nLOLLM pointed out a bug in xlog_recover_iunlink_bucket:\n\n1. We don't null out prev_ip after releas…","severity":"none","vendor":"Linux","product":"Linux","affected":["Linux >= 04755d2e5821b3afbaadd09fe5df58d04de36484 < 8c9d5b8a96d6b93eb24e07b4163c89341ba29bd1","Linux >= 04755d2e5821b3afbaadd09fe5df58d04de36484 < 66a2179d02668f8df44b1a249899006f3ba38ea0","Linux >= 04755d2e5821b3afbaadd09fe5df58d04de36484 < 961c717e6bf0e53c2c2b1fe4aef1add9390fedab","Linux >= 04755d2e5821b3afbaadd09fe5df58d04de36484 < 65f39d09d73718611cee40399179323b5d4ead00","Linux 6.0"],"published":"2026-10-18","updated":"2026-10-19","sourceUpdated":"2026-10-19T09:19:38.896Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98443","references":[{"url":"https://git.kernel.org/stable/c/8c9d5b8a96d6b93eb24e07b4163c89341ba29bd1"},{"url":"https://git.kernel.org/stable/c/66a2179d02668f8df44b1a249899006f3ba38ea0"},{"url":"https://git.kernel.org/stable/c/961c717e6bf0e53c2c2b1fe4aef1add9390fedab"},{"url":"https://git.kernel.org/stable/c/65f39d09d73718611cee40399179323b5d4ead00"}],"tags":["cve.org"],"ingestedAt":"2026-10-18T15:45:12.306Z","slug":"CVE-2026-98443","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nxfs: fix cursor and pointer handling when recovering iunlink buckets\n\nLOLLM pointed out a bug in xlog_recover_iunlink_bucket:\n\n1. We don't null out prev_ip after releasing it, which can lead to UAF\n   problems if the inodegc flush call in the loop fails.\n\nat which point I noticed even more bugs:\n\n2. If the inodegc flush inside the loop fails, we also leak @ip.\n\n3. We set prev_agino to agino having already advanced agino, which\n   results in inodes with i_prev_unlinked set to itself.\n\n4. If we exit the bottom of the loop with prev_ip set, then prev_ip\n   aliases ip and we also set its i_prev_unlinked to itself.\n\nBugs 3 and 4 introduce loops into the unlinked list, though these loops\ndon't surface because we immediately flush each unlinked inode after\nloading it.\n\nFix all of these issues.\n\n## Affected\n\n- `Linux >= 04755d2e5821b3afbaadd09fe5df58d04de36484 < 8c9d5b8a96d6b93eb24e07b4163c89341ba29bd1`\n- `Linux >= 04755d2e5821b3afbaadd09fe5df58d04de36484 < 66a2179d02668f8df44b1a249899006f3ba38ea0`\n- `Linux >= 04755d2e5821b3afbaadd09fe5df58d04de36484 < 961c717e6bf0e53c2c2b1fe4aef1add9390fedab`\n- `Linux >= 04755d2e5821b3afbaadd09fe5df58d04de36484 < 65f39d09d73718611cee40399179323b5d4ead00`\n- `Linux 6.0`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}