CVE-2026-43158
Heap-based Buffer Overflow in XFS Filesystem
Publication date: 2026-05-06
Last updated on: 2026-05-06
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | kernel | * |
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in the Linux kernel's XFS filesystem, specifically in the handling of extended attributes (xattrs) in leaf blocks. The issue arises from incorrect adjustments to the freemap, which tracks free space within the leaf blocks when adding xattrs.
The problem occurs because the freemap entries are not properly updated when the entries array grows after adding multiple xattrs. This causes overlapping between the entries array and the free space claimed by the freemap, leading to an assertion failure and the filesystem shutting down.
The root cause is that the freemap does not comprehensively track all free space, and when the entries array expands, some freemap entries are not adjusted accordingly. The fix involves adjusting all freemap entries to ensure they do not collide with the entries array.
How can this vulnerability impact me? :
This vulnerability can cause the filesystem to shut down unexpectedly due to assertion failures triggered by incorrect freemap adjustments when adding extended attributes.
Such unexpected shutdowns can lead to system instability, potential data loss, or corruption if the filesystem is in use when the assertion triggers.