xfs: fix cursor and pointer handling when recovering iunlink buckets (Linux Linux)

CVE-2026-98443
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.14 % · centile 3 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Produits affectés
Linux · Linux
Statut NVD
Received

Description

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ 04755d2e5821b3afbaadd09fe5df58d04de36484 < 8cfde7b2fb7288f4f6b90293e8702ff897c682fe
affectée : ≥ 04755d2e5821b3afbaadd09fe5df58d04de36484 < 47a948ba653a463d429e02fda2f06a3d6b78666d
affectée : ≥ 04755d2e5821b3afbaadd09fe5df58d04de36484 < 8c9d5b8a96d6b93eb24e07b4163c89341ba29bd1
affectée : ≥ 04755d2e5821b3afbaadd09fe5df58d04de36484 < 66a2179d02668f8df44b1a249899006f3ba38ea0
affectée : ≥ 04755d2e5821b3afbaadd09fe5df58d04de36484 < 961c717e6bf0e53c2c2b1fe4aef1add9390fedab
affectée : ≥ 04755d2e5821b3afbaadd09fe5df58d04de36484 < 65f39d09d73718611cee40399179323b5d4ead00
Autres versions : non affectée
Linux · Linux
affectée : 6.0
non affectée : ≥ 0 < 6.0
non affectée : ≥ 6.1.191 ≤ 6.1.*
non affectée : ≥ 6.6.160 ≤ 6.6.*
non affectée : ≥ 6.12.113 ≤ 6.12.*
non affectée : ≥ 6.18.55 ≤ 6.18.*
non affectée : ≥ 7.2.9 ≤ 7.2.*
non affectée : ≥ 7.3 ≤ *
Autres versions : affectée

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD