{"id":"CVE-2026-98443","aliases":["CVE-2026-98443"],"related":[],"kind":"vulnerability","state":"published","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 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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-10-18T15:14:53.597Z","modified":"2026-10-30T13:21:13.823Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"04755d2e5821b3afbaadd09fe5df58d04de36484","fixed":"8cfde7b2fb7288f4f6b90293e8702ff897c682fe","status":"affected"},{"type":"git","introduced":"04755d2e5821b3afbaadd09fe5df58d04de36484","fixed":"47a948ba653a463d429e02fda2f06a3d6b78666d","status":"affected"},{"type":"git","introduced":"04755d2e5821b3afbaadd09fe5df58d04de36484","fixed":"8c9d5b8a96d6b93eb24e07b4163c89341ba29bd1","status":"affected"},{"type":"git","introduced":"04755d2e5821b3afbaadd09fe5df58d04de36484","fixed":"66a2179d02668f8df44b1a249899006f3ba38ea0","status":"affected"},{"type":"git","introduced":"04755d2e5821b3afbaadd09fe5df58d04de36484","fixed":"961c717e6bf0e53c2c2b1fe4aef1add9390fedab","status":"affected"},{"type":"git","introduced":"04755d2e5821b3afbaadd09fe5df58d04de36484","fixed":"65f39d09d73718611cee40399179323b5d4ead00","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.0","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.113","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.55","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.9","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/8cfde7b2fb7288f4f6b90293e8702ff897c682fe","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/47a948ba653a463d429e02fda2f06a3d6b78666d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8c9d5b8a96d6b93eb24e07b4163c89341ba29bd1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/66a2179d02668f8df44b1a249899006f3ba38ea0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/961c717e6bf0e53c2c2b1fe4aef1add9390fedab","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/65f39d09d73718611cee40399179323b5d4ead00","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98443","url":"https://www.cve.org/CVERecord?id=CVE-2026-98443","licence":"CVE Terms of Use","modified":"2026-10-30T12:38:08.950Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98443","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98443","licence":"Public domain","modified":"2026-10-30T13:21:13.823Z"}],"updatedAt":"2026-11-25T22:59:45.184Z","epss":{"score":0.00186,"percentile":0.04778,"date":"2026-11-30T12:00:22.000Z"}}