CVE-2026-99400

published 19 Nov 2026 · updated 21 Nov 2026

xfs: reject out-of-range attribute value lengths in xfs_attr_copy_value

6.7MediumCVSS 6.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel c5c34a0a5a80ecd8fea9fff960907b2924d18cd9, Kernel 0643549ffecaeb716c0b75590a9b76dfa5eb35b3, Kernel 91d0cf6244280e67bdc2787a60a10f635ac064c0 and 4 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=9df243a1a9e607e7cf5d20ee46edd5ec84b7e400 <c5c34a0a5a80ecd8fea9fff960907b2924d18cd9, >=9df243a1a9e607e7cf5d20ee46edd5ec84b7e400 <0643549ffecaeb716c0b75590a9b76dfa5eb35b3, >=9df243a1a9e607e7cf5d20ee46edd5ec84b7e400 <91d0cf6244280e67bdc2787a60a10f635ac064c0, >=9df243a1a9e607e7cf5d20ee46edd5ec84b7e400 <c2cd6b3b480ef2ae9752ed924a2199c8c90569a1, =5.4c5c34a0a5a80ecd8fea9fff960907b2924d18cd9, 0643549ffecaeb716c0b75590a9b76dfa5eb35b3, 91d0cf6244280e67bdc2787a60a10f635ac064c0, c2cd6b3b480ef2ae9752ed924a2199c8c90569a1
linux-kernel: Kernel>=6.13.0 <6.18.61, >=6.19.0 <7.3.2, >=5.4.0 <6.12.1176.18.61, 7.3.2, 6.12.117

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-99400 severity on Zeptric[![CVE-2026-99400](https://zeptric.io/badge/cve/CVE-2026-99400.svg)](https://zeptric.io/cve/CVE-2026-99400)