← All Advisories
Reported from OT-Advisories.com as of

Linux Kernel XFS Leaf Verification Never Bounds a Remote Attribute's On-Disk Value Length

Last refreshed2026-11-23

Status: UPDATED  |  Advisory ID: CVE-2026-99399

Key Details

CVECVE-2026-99399
CVSS Score / Version
7.8 (High) / CVSS v3.1
Updated2026-11-22
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS Prose
attack vector is local; attack complexity is low; privileges required is none; user interaction is required; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
Linux Kernel

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SubsystemsOT Supporting Infrastructure
SectorsAll Sectors

What to Know

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. (NVD)

What to Do

Monitor Linux's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-99399
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-99399
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.