CVE-2026-31454: xfs: save ailp before dropping the AIL lock in push callbacks
In the Linux kernel, the following vulnerability has been resolved:
xfs: save ailp before dropping the AIL lock in push callbacks
In xfsinodeitempush() and xfsqmdquotlogitempush(), 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 spinlock() call dereferences lip->liailp, 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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-31454?
The severity of CVE-2026-31454 is rated as high, with a score of 7.8.
How do I fix CVE-2026-31454?
To fix CVE-2026-31454, apply the available patch provided by the Linux kernel.
What types of systems are affected by CVE-2026-31454?
CVE-2026-31454 affects the Linux kernel, specifically the XFS file system in Linux.
What vulnerability class does CVE-2026-31454 belong to?
CVE-2026-31454 belongs to the vulnerability class of Use After Free.
What potential impact does CVE-2026-31454 have on systems?
CVE-2026-31454 can lead to compromised confidentiality, integrity, and availability of the system.