CVE-2026-31454 Details
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.
A use-after-free vulnerability has been identified in the Linux kernel's XFS file system. This issue arises in the functions 'xfs_inode_item_push()' and 'xfs_qm_dquot_logitem_push()' when the AIL lock is released to perform buffer I/O. Once the buffer no longer safeguards the log item, it can be reclaimed by background processes, leaving a dangling pointer. The problem occurs because the subsequent operation attempts to access a freed log item, causing a use-after-free condition.
Users can upgrade to the patched version of the Linux kernel available in the Linux Kernel Archive.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/19437e4f7bb909afde832b39372aa2f3ce3cfd88 | kernel.org | Patch |
| https://git.kernel.org/stable/c/394d70b86fae9fe865e7e6d9540b7696f73aa9b6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/4c7d50147316cf049462f327c4a3e9dc2b7f1dd0 | kernel.org | Patch |
| https://git.kernel.org/stable/c/50f5f056807b7bed74f4f307f2ca0ed92f3e556d | kernel.org | Patch |
| https://git.kernel.org/stable/c/6dbe17f19c290a72ce57d5abc70e1fad0c3e14e5 | kernel.org | Patch |
| https://git.kernel.org/stable/c/75669e987137f49c99ca44406bf0200d1892dd16 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d8fc60bbaf5aea1604bf9f4ed565da6a1ac7a87d | kernel.org | Patch |
| https://git.kernel.org/stable/c/edd1637d4e3911ab6c760f553f2040fe72f61a13 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.9, < 5.10.253 >= 5.11, < 5.15.203 >= 5.16, < 6.1.168 >= 6.2, < 6.6.131 >= 6.7, < 6.12.80 >= 6.13, < 6.18.21 >= 6.19, < 6.19.11 7.0 rc1 7.0 rc2 7.0 rc3 7.0 rc4 7.0 rc5 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| May 6, 2026 | Initial Analysis | [email protected] |
| Apr 27, 2026 | CVE Modified | kernel.org |
| Apr 22, 2026 | New CVE Received | kernel.org |