CVE-2026-43187·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: xfs: delete attr leaf freemap entries when empty Back in commit 2a2b5932db6758 ("xfs: fix attr leaf header freemap.size underflow"), Brian Foster observed that it's possible for a small freemap at the end of the end of the xattr entries array to experience a size underflow when subtracting the space consumed by an expansion of the entries array. There are only three freemap entries, which means that it is not a complete index of all free space in the leaf block. This code can leave behind a zero-length freemap entry with a nonzero base. Subsequent setxattr operations can increase the base up to the point that it overlaps with another freemap entry. This isn't in and of itself a problem because the code in _leaf_add that finds free space ignores any freemap entry with zero size. However, there's another bug in the freemap update code in _leaf_add, which is that it fails to update a freemap entry that begins midway through the xattr entry that was just appended to the array. That can result in the freemap containing two entries with the same base but different sizes (0 for the "pushed-up" entry, nonzero for the entry that's actually tracking free space). A subsequent _leaf_add can then allocate xattr namevalue entries on top of the entries array, leading to data loss. But fixing that is for later. For now, eliminate the possibility of confusion by zeroing out the base of any freemap entry that has zero size. Because the freemap is not intended to be a complete index of free space, a subsequent failure to find any free space for a new xattr will trigger block compaction, which regenerates the freemap. It looks like this bug has been in the codebase for quite a long time.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.19.6
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.68% — higher than 52% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-43187 scores 8.8 on CVSS, so a successful attack would be serious — but at 0.68%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 6.19.6
Fixed in: 6.19.6
How to fix this CVE
Update your Linux kernel to version 6.19.6 or later to resolve a critical XFS attribute handling vulnerability that can cause data loss. Systems running kernel versions 6.19 through 6.19.5 should prioritize this update immediately, as the bug affects extended attribute (xattr) storage and can lead to data corruption when multiple setxattr operations occur in succession.
sudo dnf update kernel kernel-headersDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check current kernel version with `uname -r` and compare against vulnerable range 6.19.0 to 6.19.5
- Step 2: Verify XFS is in use on the system with `mount | grep xfs` or check `/proc/filesystems`
- Step 3: Search kernel logs for xattr-related errors using `dmesg | grep -i 'xfs.*attr' or journalctl -b | grep -i 'xfs.*attr'`
- Step 4: After applying the patch, confirm the new kernel version is running with `uname -r` and reboot if necessary to load the updated kernel
FAQ
What is CVE-2026-43187?
This is a Linux kernel XFS bug where the freemap structure used to track free space in extended attribute leaf blocks fails to properly clear zero-length entries, potentially allowing subsequent xattr operations to allocate storage on top of existing data structures and cause data corruption.
Is CVE-2026-43187 being actively exploited?
No, this vulnerability is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and has no public proof-of-concept exploits available. However, it should still be patched promptly due to its high CVSS score and data loss potential.
What versions of Kernel are affected by CVE-2026-43187?
Linux kernel versions 6.19 through 6.19.5 are vulnerable. The fix was introduced in kernel 6.19.6.
How do I check if my server is vulnerable to CVE-2026-43187?
Run `uname -r` and if the output shows a kernel version between 6.19.0 and 6.19.5 inclusive, and you are using XFS filesystems (verify with `mount | grep xfs`), your system is vulnerable.
Does Defensia detect CVE-2026-43187?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-43187 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/479b05fc3ee272090f671b06a41f3da8aa78eece
- https://git.kernel.org/stable/c/6f13c1d2a6271c2e73226864a0e83de2770b6f34
- https://git.kernel.org/stable/c/a631899025d47ea1aa6464d76db5b4d3b6d196fd
- https://git.kernel.org/stable/c/aa9083d97e2157da3c6fb45ddb1a97af7f188f7f
- https://git.kernel.org/stable/c/e1b8c6452ee99a30e188a88f3f3f804fb1c6004a
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-43187. Free for 1 server.
Get started free