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

Linux Kernel XFS Does Not Bound Remote Attribute Value Lengths, Letting a Crafted Filesystem Image Trigger Memory Errors

Last refreshed2026-11-23

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

Key Details

CVECVE-2026-99400
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 out-of-range attribute value lengths in xfs_attr_copy_value

xfs_attr_copy_value() takes the value length as a signed int and, for a

remote xattr, is handed args->rmtvaluelen. That field is filled from the

on-disk __be32 xfs_attr_leaf_name_remote.valuelen in

xfs_attr3_leaf_getvalue(), so a crafted length such as 0x80000000 is

stored into the signed rmtvaluelen as a negative number.

The "buffer too small" guard in xfs_attr_copy_value() is a signed

comparison:

if (args->valuelen < valuelen)

return -ERANGE;

A negative valuelen therefore compares as smaller than the caller's

buffer size, skips the -ERANGE path, and is then used as a copy length,

leading to an out-of-bounds copy of a full remote block into a small

getxattr(2) buffer on a mounted crafted image.

Reject a value length that is negative or larger than the maximum xattr

size before it is used, so a bogus on-disk length can no longer slip

through the value copier. (NVD)

What to Do

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

References

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