-

CVE-2026-98443

xfs: fix cursor and pointer handling when recovering iunlink buckets

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:

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

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

4. 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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version 04755d2e5821b3afbaadd09fe5df58d04de36484
Version < 47a948ba653a463d429e02fda2f06a3d6b78666d
Status affected
Version 04755d2e5821b3afbaadd09fe5df58d04de36484
Version < 8c9d5b8a96d6b93eb24e07b4163c89341ba29bd1
Status affected
Version 04755d2e5821b3afbaadd09fe5df58d04de36484
Version < 66a2179d02668f8df44b1a249899006f3ba38ea0
Status affected
Version 04755d2e5821b3afbaadd09fe5df58d04de36484
Version < 961c717e6bf0e53c2c2b1fe4aef1add9390fedab
Status affected
Version 04755d2e5821b3afbaadd09fe5df58d04de36484
Version < 65f39d09d73718611cee40399179323b5d4ead00
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 6.0
Status affected
Version 0
Version < 6.0
Status unaffected
Version <= 6.6.*
Version 6.6.160
Status unaffected
Version <= 6.12.*
Version 6.12.113
Status unaffected
Version <= 6.18.*
Version 6.18.55
Status unaffected
Version <= 7.2.*
Version 7.2.9
Status unaffected
Version <= *
Version 7.3
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.17% 0.056
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/8c9d5b8a96d6b93eb24e07b4163c89341ba29bd1
https://git.kernel.org/stable/c/66a2179d02668f8df44b1a249899006f3ba38ea0
https://git.kernel.org/stable/c/961c717e6bf0e53c2c2b1fe4aef1add9390fedab
https://git.kernel.org/stable/c/65f39d09d73718611cee40399179323b5d4ead00
https://git.kernel.org/stable/c/47a948ba653a463d429e02fda2f06a3d6b78666d