CVE-2026-31453

xfs: avoid dereferencing log items after push callbacks

State
Published
Severity
7.8 High
Published
Apr 22, 2026
Updated
Oct 19, 2026
Reserved
Mar 9, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 90c60e16401248a4900f3f9387f563d0178dcf34 to before c8a2ab339b88d10fc34a3318c92f07d8a467019dAffected
  • 90c60e16401248a4900f3f9387f563d0178dcf34 to before 7121b22b0bac89394cc4c6a54b5aebc15347bdf5Affected
  • 90c60e16401248a4900f3f9387f563d0178dcf34 to before c4d603e8e58a3bf35480135ccca2b4f7238abda5Affected
  • 90c60e16401248a4900f3f9387f563d0178dcf34 to before 95fb5d643cc70959baa54cd17f52f80ffc3295e7Affected
  • 90c60e16401248a4900f3f9387f563d0178dcf34 to before 451c6329d9afa45862c36fe6677eb7750db60617Affected
  • 90c60e16401248a4900f3f9387f563d0178dcf34 to before 79ef34ec0554ec04bdbafafbc9836423734e1bd6Affected
LinuxLinux
  • 5.9Affected
  • before 5.9Not affected
  • 6.1.168 through 6.1.*Not affected
  • 6.6.131 through 6.6.*Not affected
  • 6.12.80 through 6.12.*Not affected
  • 6.18.21 through 6.18.*Not affected
  • 6.19.11 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.