Linux Kernel XFS Log Item Dereference Vulnerability After Push Callbacks

Vulnerability

A vulnerability in the Linux kernel's XFS file system can lead to a use-after-free issue. When the background process 'xfsaild' pushes log items, the associated log item may be freed if the AIL lock is released during the operation. This can occur with background inode reclaim or the dquot shrinker, which can free log items while the AIL lock is not engaged. Consequently, tracepoints may incorrectly access freed log items, potentially leading to undefined behavior.

Impact

Exploitation of this vulnerability can cause a use-after-free condition, where a program continues to use a pointer after the memory it points to has been freed. This can lead to various issues, including memory corruption, crashes, or the execution of arbitrary code.

Reproduction

To reproduce this vulnerability, log items must be pushed from the AIL (Asynchronous I/O Layer) while the AIL lock is not held. This can be achieved by triggering background inode reclaim or the dquot shrinker, which can free log items without holding the AIL lock. Once the log item is freed, the tracepoints can be accessed, leading to the use-after-free condition.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed. Instructions for downloading the patched version are available on the official Linux kernel website.

Added: Apr 22, 2026, 3:43 PM
Updated: Apr 22, 2026, 3:43 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
5.6
exploitability
3.9
remediation
7.7
relevance
6.2
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.