Skip to main content

Linux Kernel EUVDEUVD-2026-27746

| CVE-2026-43187 HIGH
Integer Underflow (CWE-191)
2026-05-06 Linux GHSA-8h5h-g93f-3ff6
8.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to target system
  2. Delivery
    Access XFS-mounted filesystem
  3. Exploit
    Execute repeated setxattr operations
  4. Execution
    Trigger freemap corruption in xattr leaf blocks
  5. Persist
    Overwrite entries array with namevalue data
  6. Impact
    Cause filesystem data loss or metadata corruption

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer underflow checks
Exploitation Conditions

Exploitation requires authenticated access (local user account or remote authenticated session with shell access) to a Linux system running affected kernel versions with XFS filesystem mounted and writable. Attacker must have permission to execute setxattr system calls on files or directories within the XFS filesystem, which typically requires standard user-level file ownership or write access-no elevated privileges beyond normal filesystem permissions are necessary. The vulnerability triggers specifically when xattr operations cause expansion of the xattr entries array in leaf blocks, pushing existing freemap entries and creating conditions for zero-length freemap entries with nonzero base offsets. Exploitation is limited to systems actively using XFS filesystem implementation; systems using ext4, btrfs, or other filesystems are not vulnerable. The CVSS vector AV:N/AC:L/PR:L/UI:N suggests network-based exploitation, but this appears to reference remote authenticated access rather than direct network exploitation-an attacker would need authenticated shell access via SSH or similar service to execute setxattr calls. Default XFS configurations are vulnerable; no specific non-default settings are required to enable exploitation.

Impact

Despite a CVSS score of 8.8 (High) with vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H suggesting network-based attack with low complexity, real-world risk assessment reveals important limiting factors. The attack vector designation 'AV:N' appears inconsistent with the actual exploitation requirements-an attacker must have authenticated local or remote access to a system and permission to perform setxattr operations on XFS filesystems, which typically requires legitimate user credentials or elevated privileges. The EPSS score of 0.02% (7th percentile) indicates extremely low probability of widespread exploitation in the wild, and CISA KEV does not list this vulnerability, confirming no active exploitation campaigns have been detected. However, the potential for filesystem data loss and metadata corruption makes this a genuine concern for systems heavily utilizing XFS extended attributes, particularly in container environments, SELinux systems, and storage appliances where xattrs are extensively used. The availability of patches across all maintained kernel branches (5.10 LTS through 7.0 mainline) and the long fix lead time (vendor-released patches available before widespread exploitation) reduces immediate risk. Priority should be determined by: (1) whether systems use XFS as root or data filesystem, (2) frequency of xattr operations in workload, and (3) exposure of authenticated users who could trigger setxattr calls. Organizations not using XFS can deprioritize this issue entirely, while those running XFS-based infrastructure should prioritize patching during normal maintenance windows rather than emergency response.

Exploit ScenarioDerived

An authenticated user or compromised application with setxattr permissions repeatedly creates and modifies extended attributes on files within an XFS filesystem, triggering the freemap corruption bug. After manipulating xattr leaf block freemap entries through carefully timed setxattr calls, the attacker causes the allocator to place new xattr namevalue data on top of the existing entries array, corrupting filesystem metadata. This leads to data loss when legitimate xattr entries are overwritten, potentially causing filesystem inconsistencies that escalate to denial of service or information disclosure when corrupted metadata is read by other processes. No public exploit code is identified at time of analysis, but the technical details in kernel commit messages provide sufficient information for a knowledgeable attacker to reproduce the issue through standard setxattr system calls.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 08, 2026

Data loss and memory corruption in Linux kernel XFS filesystem implementation allows authenticated users with ability to set extended attributes to corrupt xattr leaf blocks and overwrite entries array. The vulnerability stems from improper freemap management when xattr entries array expands, leaving zero-length freemap entries with nonzero base values that can overlap with legitimate freemap entries. Subsequent setxattr operations can allocate namevalue entries on top of the entries array, leading to filesystem data loss. EPSS score of 0.02% suggests low widespread exploitation probability, and no active exploitation is confirmed (not in CISA KEV). Patches are vendor-released for stable kernel versions 5.10.252, 5.15.202, 6.1.165, 6.6.128, 6.12.75, 6.18.16, 6.19.6, and mainline 7.0.

RemediationAI

Upgrade to patched Linux kernel versions: 5.10.252 or later for 5.10.x branch, 5.15.202+ for 5.15.x, 6.1.165+ for 6.1.x, 6.6.128+ for 6.6.x, 6.12.75+ for 6.12.x, 6.18.16+ for 6.18.x, 6.19.6+ for 6.19.x, or migrate to kernel 7.0 mainline. Distribution-specific updates should be obtained through official package managers (apt, yum, dnf, zypper) which backport security fixes to vendor-supported kernel versions. Fix commits are available at https://git.kernel.org/stable/c/f31a8334e1c54b126fcecf98645a49b6bc5ad399 (mainline) and branch-specific commits listed in references. If immediate patching is not feasible, consider these compensating controls with trade-offs: (1) Disable user-controlled xattr operations on XFS filesystems by mounting with 'noattr' option-this breaks applications and security frameworks (SELinux, capabilities, ACLs) that depend on extended attributes, rendering systems potentially unusable; (2) Migrate critical data from XFS to ext4 or other filesystems-involves significant downtime and operational complexity for production systems; (3) Restrict setxattr system calls via seccomp-bpf or AppArmor profiles for untrusted processes-requires careful profiling to avoid breaking legitimate applications and may not prevent exploitation by compromised privileged processes. Note that workarounds provide limited protection since any authenticated process performing legitimate xattr operations can trigger corruption. Prioritize kernel patching as the only comprehensive mitigation, scheduling updates during planned maintenance windows for affected XFS-based systems.

Affected VersionsENISA

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <aa9083d97e2157da3c6fb45ddb1a97af7f188f7f
Linux patch: 6.1.165
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <479b05fc3ee272090f671b06a41f3da8aa78eece
Linux patch: 5.15.202
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <f3c0d1fc1eadbb4adbee5ab7757d41d35f48325b
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <6f13c1d2a6271c2e73226864a0e83de2770b6f34
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <e1b8c6452ee99a30e188a88f3f3f804fb1c6004a
Linux 2.6.12
Linux patch: 6.6.128
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <a631899025d47ea1aa6464d76db5b4d3b6d196fd
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <f31a8334e1c54b126fcecf98645a49b6bc5ad399
Linux patch: 6.18.16
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <ffaf5c99d0f862db021fb1af8b813c1416b1beb2
Linux patch: 0
Linux patch: 6.12.75
Linux patch: 7.0
Linux patch: 5.10.252
Linux patch: 6.19.6

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability affects the XFS filesystem's extended attribute (xattr) implementation in the Linux kernel, specifically the freemap management logic in xattr leaf blocks. XFS uses a freemap structure with only three entries to track free space in attribute leaf blocks, which is not a complete index of all available space. The bug originates from commit 2a2b5932db6758 which attempted to fix size underflow issues but left a code path that creates zero-length freemap entries with nonzero base offsets when the xattr entries array expands. The subsequent _leaf_add function contains a second bug where it fails to update freemap entries that begin midway through newly appended xattr entries, resulting in duplicate freemap entries with identical base offsets but different sizes. This combination allows the allocator to place namevalue entries on top of the entries array itself, corrupting filesystem metadata. The vulnerability has existed in the codebase since at least kernel 2.6.12 (commit 1da177e4c3f4), indicating a long-standing architectural issue with XFS freemap management. The affected CPE strings confirm impact across Linux kernel versions spanning nearly two decades of development.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Linux) PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SUSE HIGH
Red Hat 5.5 MEDIUM

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
CVSS changed
May 08, 2026 - 13:22 NVD
8.8 (HIGH)
Patch available
May 06, 2026 - 13:32 EUVD
CVE Published
May 06, 2026 - 11:27 nvd
HIGH 8.8

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A high-severity vulnerability in the Linux kernel XFS filesystem (CVE-2026-43187) allows authenticated users to corrupt filesystem metadata and cause data loss through improper extended attribute handling. Organizations running affected Linux kernel versions on systems where users can set extended attributes face risk of unintended data corruption and potential service disruption, particularly in multi-tenant or shared system environments.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is infeasible, restrict setxattr syscall permissions via SELinux or AppArmor policies, or disable XFS extended attributes (tune2fs -o nouser_xattr) on affected filesystems where operationally viable, until patched kernel versions are deployed.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy