xfs: avoid dereferencing log items after push callbacks (Linux Linux)

CVE-2026-31453
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.13 % · centile 3 ()
É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: avoid dereferencing log items after push callbacks After xfsaild_push_item() calls iop_push(), the log item may have been freed if the AIL lock was dropped during the push. Background inode reclaim or the dquot shrinker can free the log item while the AIL lock is not held, and the tracepoints in the switch statement dereference the log item after iop_push() returns. Fix this by capturing the log item type, flags, and LSN before calling xfsaild_push_item(), and introducing a new xfs_ail_push_class trace event class that takes these pre-captured values and the ailp pointer instead of the log item pointer.

Faiblesses (CWE)

  • CWE-416 — Utilisation après libération
  • CWE-476 — Déréférencement de pointeur nul

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 < c8a2ab339b88d10fc34a3318c92f07d8a467019d ; affected 90c60e16401248a4900f3f9387f563d0178dcf34 < 7121b22b0bac89394cc4c6a54b5aebc15347bdf5 ; affected 90c60e16401248a4900f3f9387f563d0178dcf34 < c4d603e8e58a3bf35480135ccca2b4f7238abda5 ; affected 90c60e16401248a4900f3f9387f563d0178dcf34 < 95fb5d643cc70959baa54cd17f52f80ffc3295e7 ; affected 90c60e16401248a4900f3f9387f563d0178dcf34 < 451c6329d9afa45862c36fe6677eb7750db60617 ; affected 90c60e16401248a4900f3f9387f563d0178dcf34 < 79ef34ec0554ec04bdbafafbc9836423734e1bd6
Linux · Linuxaffected 5.9 ; unaffected 0 < 5.9 ; unaffected 6.1.168 ≤ 6.1.* ; unaffected 6.6.131 ≤ 6.6.* ; unaffected 6.12.80 ≤ 6.12.* ; unaffected 6.18.21 ≤ 6.18.*

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