Skip to main content

Linux Kernel XFS CVE-2026-99399

| EUVDEUVD-2026-130058 HIGH
2026-11-19 Linux GHSA-79xj-m62w-gwxc
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Access
    Trick victim into mounting crafted XFS image
  2. Delivery
    Unprivileged process calls getxattr() with small buffer
  3. Exploit
    valuelen 0x80000000 becomes negative, bypasses signed -ERANGE check
  4. Execution
    memcpy copies full remote block into undersized heap buffer
  5. Persist
    Heap out-of-bounds write with attacker-controlled data
  6. Impact
    Kernel memory corruption / privilege escalation

Vulnerability Assessment

Exploitation Conditions

Requires (1) a crafted/malicious XFS filesystem image whose remote xattr entry carries an out-of-range on-disk value length (valuelen = 0x80000000) to be MOUNTED on the target - this is the UI:R user/operator interaction and the primary limiting factor; and (2) an unprivileged getxattr(2) call against that image with a small destination buffer, which no special privileges are needed for (PR:N). Exploitation is LOCAL only (AV:L) - there is no network vector; it is gated by the ability to get an attacker-controlled image mounted (automount of removable media, untrusted container/VM images, or multi-tenant systems that mount user-supplied filesystems). Systems that never mount untrusted XFS images are not practically exposed.

Impact

This is a moderately prioritized local memory-corruption flaw, not a remotely wormable emergency. The CVSS vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, base 7.8) is internally consistent with the description: exploitation is LOCAL (AV:L) because it requires a crafted XFS filesystem to be mounted, needs no privileges (PR:N) since an ordinary unprivileged getxattr(2) triggers it, but requires user/operator interaction (UI:R) to mount the malicious image. The signals largely agree on moderate-not-critical urgency: EPSS is low at 0.22% (13th percentile), the vuln is NOT on CISA KEV, and the references are stable-tree patch commits rather than any exploit, so there is no public exploit identified. The vuln.today 'this_week' decision label reflects a real heap out-of-bounds WRITE with attacker-controlled content (genuinely dangerous - a strong privilege-escalation/container-escape primitive once an image is mounted), balanced against the practical barrier that the attacker must get a crafted image mounted. The one friction point to verify is UI:R: the 'user interaction' is the act of mounting the crafted image (e.g. via automount or an untrusted container/USB image), which defenders should factor in - in environments with untrusted-image automounting the barrier is lower than UI:R suggests. No conflicting data between CVSS and description was found; the mechanism is well specified.

Exploit ScenarioDerived

An attacker crafts a malicious XFS image containing a remote xattr entry with valuelen set to 0x80000000, which passes the leaf verifier and CRC, and gets it mounted (e.g. attacker-supplied USB/automount, or an untrusted container/VM image). An unprivileged process then issues getxattr(2) with a small buffer; the oversized length becomes a negative signed int that slips past the -ERANGE bounds check, causing a full remote block to be memcpy()'d into an undersized heap buffer - a heap out-of-bounds write with attacker-controlled content. No public exploit is identified at time of analysis; the mechanism is fully documented in the fix commit.

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

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

Alert me

AnalysisAIv1 – Nov 22, 2026

Heap out-of-bounds write in the Linux kernel's XFS extended-attribute leaf verifier allows an attacker who can get a crafted XFS image mounted to corrupt kernel heap memory with controlled content, leading to potential privilege escalation or kernel compromise. The flaw is triggered by an unprivileged getxattr(2) call with a small destination buffer against a malicious remote xattr entry whose on-disk value length is 0x80000000, which wraps into a negative signed length and bypasses the existing -ERANGE guard before a full remote block is memcpy()'d out of bounds. Exposure is limited to systems that mount untrusted XFS images (removable media with automount, user-supplied container or VM images, multi-tenant mount scenarios); EPSS is low at 0.22% (13th percentile) and no public exploit code has been identified at time of analysis, though the vendor has released fixes.

RemediationAI

Vendor-released patch: Linux 6.12.117, 6.18.61, 7.3.2 and 7.4-rc1 contain the fix, delivered via mainline commit c84760659dcf237902d4cc997cd5f55cb3b2807f and the stable backports at https://git.kernel.org/stable/c/56b701b3c272f143bb5f6a346bfbb1fe28ee14b1, https://git.kernel.org/stable/c/97b85a593188f63e133883525c9159f77e660197, https://git.kernel.org/stable/c/1481b4644cd640f0a603d97ced300a1fbd7d3a94 and https://git.kernel.org/stable/c/15ccd92a782a0253f4a17895f3d3f71e5c1d1973; update to the fixed kernel for your branch (see https://nvd.nist.gov/vuln/detail/CVE-2026-99399). Until patched, the practical exposure reduction given in the sources is to avoid mounting untrusted XFS images: disabling automount of removable media, not mounting XFS images supplied by untrusted container or VM tenants, and restricting who can mount user-provided filesystems removes the required precondition, with the trade-off that legitimate workflows relying on mounting external or tenant-supplied XFS images must be re-routed or performed on isolated hosts until the kernel is updated.

Affected VersionsENISA

Linux patch: 0
Linux c84760659dcf237902d4cc997cd5f55cb3b2807f <56b701b3c272f143bb5f6a346bfbb1fe28ee14b1
Linux c84760659dcf237902d4cc997cd5f55cb3b2807f <97b85a593188f63e133883525c9159f77e660197
Linux patch: 7.4-rc1
Linux patch: 7.3.2
Linux c84760659dcf237902d4cc997cd5f55cb3b2807f <15ccd92a782a0253f4a17895f3d3f71e5c1d1973
Linux patch: 6.18.61
Linux patch: 6.12.117
Linux 5.5
Linux c84760659dcf237902d4cc997cd5f55cb3b2807f <1481b4644cd640f0a603d97ced300a1fbd7d3a94

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

XFS stores extended attributes in B-tree leaf blocks whose entries come in two forms: short-form values stored inline in the leaf, and 'remote' values whose payload lives in a separate filesystem block and is referenced by an on-disk xfs_attr_leaf_name_remote structure containing a __be32 valuelen field. The verifier xfs_attr3_leaf_verify_entry() checked the entry's name but never bounded valuelen, so a crafted leaf with valuelen = 0x80000000 passes both structural verification and the metadata CRC check and is accepted at read time. When the attribute is later retrieved, xfs_attr3_leaf_getvalue() assigns that unsigned 32-bit length into the signed int args->rmtvaluelen, producing a negative value that slips past the signed -ERANGE length check in xfs_attr_copy_value(); the copy path then calls xfs_attr_rmtval_copyout(), which memcpy()s a full remote block into the caller's small kvalue buffer. The result is a kernel heap out-of-bounds write with attacker-controlled content, reachable from an unprivileged getxattr(2). The upstream fix adds a bounds check in the leaf verifier that rejects remote entries whose value length exceeds XFS_XATTR_SIZE_MAX, so the malicious block is refused outright during metadata read rather than being permitted to reach the copy path. The trigger mechanism is fully described in the supplied sources; the CWE classification was not provided in the input.

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 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

AV:L and UI:R because a crafted XFS image must be mounted locally; PR:N because an unprivileged getxattr triggers it; C/I/A:H from an attacker-controlled heap out-of-bounds write enabling kernel compromise.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 6.7 MEDIUM

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

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

Lifecycle Timeline

4
CVSS changed
Nov 22, 2026 - 11:22 NVD
7.8 (HIGH)
Patch available
Nov 19, 2026 - 16:18 EUVD
CVE Published
Nov 19, 2026 - 14:23 cve.org
HIGH 7.8
CVE Published
Nov 19, 2026 - 14:23 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

xfs: reject remote xattr entries with an out-of-range value length

xfs_attr3_leaf_verify_entry() validates a remote attribute entry's name but never bounds its on-disk value length (xfs_attr_leaf_name_remote. valuelen, a __be32). A crafted leaf with valuelen = 0x80000000 passes the verifier and the CRC.

That length is later assigned into the signed int args->rmtvaluelen (xfs_attr3_leaf_getvalue), becoming negative, which slips past the signed -ERANGE check in xfs_attr_copy_value(); a getxattr() with a small buffer then memcpy()s a full remote block into the small kvalue buffer (xfs_attr_rmtval_copyout) -- a heap out-of-bounds write with attacker-controlled content, from an unprivileged getxattr(2) on a mounted crafted image.

Reject remote entries whose value length exceeds XFS_XATTR_SIZE_MAX in the leaf verifier, so the malicious block is rejected at read time.

Executive ViewAI

Why It Matters

A high-severity Linux kernel vulnerability in the XFS filesystem allows attackers who can mount crafted XFS images to corrupt kernel memory and potentially escalate privileges or compromise the system. This primarily affects environments that mount untrusted XFS images (removable media, user-supplied container/VM images), putting organizations with such workflows at risk of local privilege escalation and system compromise. Leadership should prioritize patching, especially for multi-tenant or edge systems where untrusted mounts are common.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Ubiquitous
XFS is a mainline Linux kernel filesystem present across most Linux deployments
Data Quality
5 sources
Confidence: Medium

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.2%
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
Small
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Vendor StatusVendor

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