Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
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.
Exploitation of this vulnerability could lead to memory management issues, potentially causing use-after-free conditions or other memory corruption problems.
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.
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.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.