CVE-2026-98443

Source
https://cve.org/CVERecord?id=CVE-2026-98443
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98443.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-98443
Downstream
Published
2026-10-18T15:14:53Z
Modified
2026-10-20T02:30:37Z
Summary
xfs: fix cursor and pointer handling when recovering iunlink buckets
Details

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:

  1. 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:

  1. If the inodegc flush inside the loop fails, we also leak @ip.

  2. We set prev_agino to agino having already advanced agino, which results in inodes with i_prev_unlinked set to itself.

  3. 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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98443.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
04755d2e5821b3afbaadd09fe5df58d04de36484
Fixed
8c9d5b8a96d6b93eb24e07b4163c89341ba29bd1
Fixed
66a2179d02668f8df44b1a249899006f3ba38ea0
Fixed
961c717e6bf0e53c2c2b1fe4aef1add9390fedab
Fixed
65f39d09d73718611cee40399179323b5d4ead00

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98443.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.0.0
Fixed
6.12.113
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.55
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98443.json"