CVE-2026-31453

HIGH

xfs: avoid dereferencing log items after push callbacks

Title source: cna
STIX 2.1

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

CVSS v3 7.8
EPSS 0.0001
EPSS Percentile 3.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-476
Status published
Products (16)
Linux/Linux < 5.9
Linux/Linux 5.9
Linux/Linux 6.1.168 - 6.1.*
Linux/Linux 6.12.80 - 6.12.*
Linux/Linux 6.18.21 - 6.18.*
Linux/Linux 6.19.11 - 6.19.*
Linux/Linux 6.6.131 - 6.6.*
Linux/Linux 7.0
Linux/Linux 90c60e16401248a4900f3f9387f563d0178dcf34 - 451c6329d9afa45862c36fe6677eb7750db60617
Linux/Linux 90c60e16401248a4900f3f9387f563d0178dcf34 - 7121b22b0bac89394cc4c6a54b5aebc15347bdf5
... and 6 more
Published Apr 22, 2026
Tracked Since Apr 22, 2026