xfs: save ailp before dropping the AIL lock in push callbacks (Linux Linux)

CVE-2026-31454
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.13 % · centile 2 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: xfs: save ailp before dropping the AIL lock in push callbacks In xfs_inode_item_push() and xfs_qm_dquot_logitem_push(), the AIL lock is dropped to perform buffer IO. Once the cluster buffer no longer protects the log item from reclaim, the log item may be freed by background reclaim or the dquot shrinker. The subsequent spin_lock() call dereferences lip->li_ailp, which is a use-after-free. Fix this by saving the ailp pointer in a local variable while the AIL lock is held and the log item is guaranteed to be valid.

Faiblesses (CWE)

  • CWE-416 — Utilisation après libération

Références

Scores

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

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 90c60e16401248a4900f3f9387f563d0178dcf34 < edd1637d4e3911ab6c760f553f2040fe72f61a13 ; affected 90c60e16401248a4900f3f9387f563d0178dcf34 < 19437e4f7bb909afde832b39372aa2f3ce3cfd88 ; affected 90c60e16401248a4900f3f9387f563d0178dcf34 < 6dbe17f19c290a72ce57d5abc70e1fad0c3e14e5 ; affected 90c60e16401248a4900f3f9387f563d0178dcf34 < 75669e987137f49c99ca44406bf0200d1892dd16 ; affected 90c60e16401248a4900f3f9387f563d0178dcf34 < d8fc60bbaf5aea1604bf9f4ed565da6a1ac7a87d ; affected 90c60e16401248a4900f3f9387f563d0178dcf34 < 50f5f056807b7bed74f4f307f2ca0ed92f3e556d
Linux · Linuxaffected 5.9 ; unaffected 0 < 5.9 ; unaffected 5.10.253 ≤ 5.10.* ; unaffected 5.15.203 ≤ 5.15.* ; unaffected 6.1.168 ≤ 6.1.* ; unaffected 6.6.131 ≤ 6.6.*

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