CVE-2026-31454

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

7.8 high EPSS 0.13%

Published 22 Apr 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-31454

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-31454 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.13%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.90% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 16 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 90c60e16401248a4900f3f9387f563d0178dcf34, before edd1637d4e3911ab6c760f553f2040fe72f61a13
affected from 90c60e16401248a4900f3f9387f563d0178dcf34, before 19437e4f7bb909afde832b39372aa2f3ce3cfd88
affected from 90c60e16401248a4900f3f9387f563d0178dcf34, before 6dbe17f19c290a72ce57d5abc70e1fad0c3e14e5
affected from 90c60e16401248a4900f3f9387f563d0178dcf34, before 75669e987137f49c99ca44406bf0200d1892dd16
affected from 90c60e16401248a4900f3f9387f563d0178dcf34, before d8fc60bbaf5aea1604bf9f4ed565da6a1ac7a87d
affected from 90c60e16401248a4900f3f9387f563d0178dcf34, before 50f5f056807b7bed74f4f307f2ca0ed92f3e556d
affected from 90c60e16401248a4900f3f9387f563d0178dcf34, before 4c7d50147316cf049462f327c4a3e9dc2b7f1dd0
affected from 90c60e16401248a4900f3f9387f563d0178dcf34, before 394d70b86fae9fe865e7e6d9540b7696f73aa9b6
Other versions: unaffected
Linux
affected 5.9
unaffected before 5.9
unaffected from 5.10.253 up to and including 5.10.*
unaffected from 5.15.203 up to and including 5.15.*
unaffected from 6.1.168 up to and including 6.1.*
unaffected from 6.6.131 up to and including 6.6.*
unaffected from 6.12.80 up to and including 6.12.*
unaffected from 6.18.21 up to and including 6.18.*
unaffected from 6.19.11 up to and including 6.19.*
unaffected 7.0 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-31454 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-31454

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-31454
trivy image --scanners vuln IMAGE | grep CVE-2026-31454

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-31454 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.