# CVE-2026-31454: xfs: save ailp before dropping the AIL lock in push callbacks

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-28)
- **CWE:** CWE-416
- **Published:** 2026-04-22T13:53:48.242Z
- **Modified:** 2026-11-11T23:10:00.263Z

## Who should check

- Anyone running Linux \>= 90c60e16401248a4900f3f9387f563d0178dcf34, \< edd1637d4e3911ab6c760f553f2040fe72f61a13; \>= 90c60e16401248a4900f3f9387f563d0178dcf34, \< 19437e4f7bb909afde832b39372aa2f3ce3cfd88; \>= 90c60e16401248a4900f3f9387f563d0178dcf34, \< 6dbe17f19c290a72ce57d5abc70e1fad0c3e14e5; \>= 90c60e16401248a4900f3f9387f563d0178dcf34, \< 75669e987137f49c99ca44406bf0200d1892dd16; \>= 90c60e16401248a4900f3f9387f563d0178dcf34, \< d8fc60bbaf5aea1604bf9f4ed565da6a1ac7a87d; \>= 90c60e16401248a4900f3f9387f563d0178dcf34, \< 50f5f056807b7bed74f4f307f2ca0ed92f3e556d; \>= 90c60e16401248a4900f3f9387f563d0178dcf34, \< 4c7d50147316cf049462f327c4a3e9dc2b7f1dd0; \>= 90c60e16401248a4900f3f9387f563d0178dcf34, \< 394d70b86fae9fe865e7e6d9540b7696f73aa9b6
- Anyone running Linux 5.9

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

## Affected and fixed versions

- Linux: \>= 90c60e16401248a4900f3f9387f563d0178dcf34, \< edd1637d4e3911ab6c760f553f2040fe72f61a13; \>= 90c60e16401248a4900f3f9387f563d0178dcf34, \< 19437e4f7bb909afde832b39372aa2f3ce3cfd88; \>= 90c60e16401248a4900f3f9387f563d0178dcf34, \< 6dbe17f19c290a72ce57d5abc70e1fad0c3e14e5; \>= 90c60e16401248a4900f3f9387f563d0178dcf34, \< 75669e987137f49c99ca44406bf0200d1892dd16; \>= 90c60e16401248a4900f3f9387f563d0178dcf34, \< d8fc60bbaf5aea1604bf9f4ed565da6a1ac7a87d; \>= 90c60e16401248a4900f3f9387f563d0178dcf34, \< 50f5f056807b7bed74f4f307f2ca0ed92f3e556d; \>= 90c60e16401248a4900f3f9387f563d0178dcf34, \< 4c7d50147316cf049462f327c4a3e9dc2b7f1dd0; \>= 90c60e16401248a4900f3f9387f563d0178dcf34, \< 394d70b86fae9fe865e7e6d9540b7696f73aa9b6 (cvelist)
- Linux: 5.9 (cvelist)

## Mitigation

- Upgrade Linux to 394d70b86fae9fe865e7e6d9540b7696f73aa9b6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-31454. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31454.md
Affected: Linux >= 90c60e16401248a4900f3f9387f563d0178dcf34, < edd1637d4e3911ab6c760f553f2040fe72f61a13; >= 90c60e16401248a4900f3f9387f563d0178dcf34, < 19437e4f7bb909afde832b39372aa2f3ce3cfd88; >= 90c60e16401248a4900f3f9387f563d0178dcf34, < 6dbe17f19c290a72ce57d5abc70e1fad0c3e14e5; >= 90c60e16401248a4900f3f9…
Fixed in: Linux 19437e4f7bb909afde832b39372aa2f3ce3cfd88, Linux 6dbe17f19c290a72ce57d5abc70e1fad0c3e14e5, Linux 75669e987137f49c99ca44406bf0200d1892dd16, Linux 50f5f056807b7bed74f4f307f2ca0ed92f3e556d, Linux 4c7d50147316cf049462f327c4a3e9dc2b7f1dd0, Linux 394d70b86fae9fe865e7e6d9540b7696f73aa9b6

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-31454 being exploited?

There is no confirmed exploitation: CVE-2026-31454 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-31454?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-31454?

Linux \>= 90c60e16401248a4900f3f9387f563d0178dcf34, \< edd1637d4e3911ab6c760f553f2040fe72f61a13; \>= 90c60e16401248a4900f3f9387f563d0178dcf34, \< 19437e4f7bb909afde832b39372aa2f3ce3cfd88; \>= 90c60e16401248a4900f3f9387f563d0178dcf34, \< 6dbe17f19c290a72ce57d5abc70e1fad0c3e14e5; \>= 90c60e16401248a4900f3f9387f563d0178dcf34, \< 75669e987137f49c99ca44406bf0200d1892dd16; \>= 90c60e16401248a4900f3f9387f563d0178dcf34, \< d8fc60bbaf5aea1604bf9f4ed565da6a1ac7a87d; \>= 90c60e16401248a4900f3f9387f563d0178dcf34, \< 50f5f056807b7bed74f4f307f2ca0ed92f3e556d; \>= 90c60e16401248a4900f3f9387f563d0178dcf34, \< 4c7d50147316cf049462f327c4a3e9dc2b7f1dd0; \>= 90c60e16401248a4900f3f9387f563d0178dcf34, \< 394d70b86fae9fe865e7e6d9540b7696f73aa9b6; Linux 5.9.

### Is there a fix for CVE-2026-31454?

Yes. Fixed in Linux 19437e4f7bb909afde832b39372aa2f3ce3cfd88, Linux 6dbe17f19c290a72ce57d5abc70e1fad0c3e14e5, Linux 75669e987137f49c99ca44406bf0200d1892dd16, Linux 50f5f056807b7bed74f4f307f2ca0ed92f3e556d, Linux 4c7d50147316cf049462f327c4a3e9dc2b7f1dd0, Linux 394d70b86fae9fe865e7e6d9540b7696f73aa9b6. Upgrade Linux to 394d70b86fae9fe865e7e6d9540b7696f73aa9b6 or later.

### How do I check if I'm affected by CVE-2026-31454?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/edd1637d4e3911ab6c760f553f2040fe72f61a13>
- patch: <https://git.kernel.org/stable/c/19437e4f7bb909afde832b39372aa2f3ce3cfd88>
- patch: <https://git.kernel.org/stable/c/6dbe17f19c290a72ce57d5abc70e1fad0c3e14e5>
- patch: <https://git.kernel.org/stable/c/75669e987137f49c99ca44406bf0200d1892dd16>
- patch: <https://git.kernel.org/stable/c/d8fc60bbaf5aea1604bf9f4ed565da6a1ac7a87d>
- patch: <https://git.kernel.org/stable/c/50f5f056807b7bed74f4f307f2ca0ed92f3e556d>
- patch: <https://git.kernel.org/stable/c/4c7d50147316cf049462f327c4a3e9dc2b7f1dd0>
- patch: <https://git.kernel.org/stable/c/394d70b86fae9fe865e7e6d9540b7696f73aa9b6>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-31454>

HTML: <https://flawdb.com/CVE-2026-31454> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-31454>
