Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessTrick victim into mounting crafted XFS image
-
DeliveryUnprivileged process calls getxattr() with small buffer
-
Exploitvaluelen 0x80000000 becomes negative, bypasses signed -ERANGE check
-
Executionmemcpy copies full remote block into undersized heap buffer
-
PersistHeap out-of-bounds write with attacker-controlled data
-
ImpactKernel 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (Linux).
CVSS VectorVendor: Linux
Lifecycle Timeline
4DescriptionCVE.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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
EUVD-2026-130058
GHSA-79xj-m62w-gwxc
NVD
CVE.org
EPSS
VulDB
Exploit-DB