{"id":"CVE-2026-98443","published":"2026-10-18T15:14:53Z","modified":"2026-10-30T12:38:08Z","title":"xfs: fix cursor and pointer handling when recovering iunlink buckets","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00135,"percentile":0.02982,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/8cfde7b2fb7288f4f6b90293e8702ff897c682fe","tags":[]},{"url":"https://git.kernel.org/stable/c/47a948ba653a463d429e02fda2f06a3d6b78666d","tags":[]},{"url":"https://git.kernel.org/stable/c/8c9d5b8a96d6b93eb24e07b4163c89341ba29bd1","tags":[]},{"url":"https://git.kernel.org/stable/c/66a2179d02668f8df44b1a249899006f3ba38ea0","tags":[]},{"url":"https://git.kernel.org/stable/c/961c717e6bf0e53c2c2b1fe4aef1add9390fedab","tags":[]},{"url":"https://git.kernel.org/stable/c/65f39d09d73718611cee40399179323b5d4ead00","tags":[]}],"priority":{"score":6.1,"factors":[{"name":"EPSS percentile","points":0.6},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 04755d2e5821b3afbaadd09fe5df58d04de36484, < 8cfde7b2fb7288f4f6b90293e8702ff897c682fe",">= 04755d2e5821b3afbaadd09fe5df58d04de36484, < 47a948ba653a463d429e02fda2f06a3d6b78666d",">= 04755d2e5821b3afbaadd09fe5df58d04de36484, < 8c9d5b8a96d6b93eb24e07b4163c89341ba29bd1",">= 04755d2e5821b3afbaadd09fe5df58d04de36484, < 66a2179d02668f8df44b1a249899006f3ba38ea0",">= 04755d2e5821b3afbaadd09fe5df58d04de36484, < 961c717e6bf0e53c2c2b1fe4aef1add9390fedab",">= 04755d2e5821b3afbaadd09fe5df58d04de36484, < 65f39d09d73718611cee40399179323b5d4ead00"]},{"vendor":"Linux","product":"Linux","versions":["6.0"]}],"euvd":{"id":"EUVD-2026-103683","exploited":false,"provenance":"source"}}