Linux Kernel Memory Allocation Vulnerability in XFS File System

Vulnerability

A vulnerability has been identified in the Linux kernel's XFS file system, specifically in versions 6.6 through 6.14. The issue arises from the use of macros that call 'kasprintf' to allocate memory for debugging descriptions. If the formatted string exceeds 16 bytes, 'kasprintf' can fail, leading to a memory allocation error. This vulnerability was discovered by Jiaming Zhang using 'syzbot', which found instances where the string length could easily exceed the limit. The problematic macros have been replaced with static strings to eliminate the risk of memory allocation failures.

Impact

Exploitation of this vulnerability could lead to memory allocation errors, potentially causing a denial of service by disrupting normal kernel operations.

Remediation

Users can upgrade to the latest version of the Linux kernel to address this vulnerability. The patch is included in the official Linux kernel repository.

Added: Mar 18, 2026, 6:34 PM
Updated: Mar 18, 2026, 6:34 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
3.5
remediation
7.7
relevance
4.1
threat
3.2
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.