Linux Kernel XFS Attribute Handling Vulnerability in Version 5.19

Vulnerability

A vulnerability in the XFS attribute handling of the Linux kernel can lead to improper buffer management. The function 'xfs_attr_leaf_hasname()' has a flawed calling convention, returning NULL, valid buffers, or non-NULL pointers to released buffers under different conditions. This issue arises in the XFS file system's attribute leaf processing, particularly in version 5.19. The vulnerability stems from the function's inability to consistently manage buffer states, which can cause issues in attribute name handling.

Impact

Exploitation of this vulnerability could lead to memory management issues, potentially causing use-after-free conditions or other memory corruption problems.

Reproduction

The vulnerability can be reproduced by invoking the 'xfs_attr_leaf_hasname()' function within the XFS file system's attribute handling code. The function's flawed buffer management can be observed when it returns a NULL buffer or a non-NULL buffer pointer for an already released buffer, depending on the context in which it is called.

Remediation

Users can upgrade to the latest stable 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: May 6, 2026, 4:22 PM
Updated: May 6, 2026, 4:22 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
3.9
remediation
7.7
relevance
7.6
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.