# CVE-2026-99400: xfs: reject out-of-range attribute value lengths in xfs\_attr\_copy\_value

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-19 · Modified: 2026-11-23
- Aliases: DEBIAN-CVE-2026-99400, UBUNTU-CVE-2026-99400, CGA-3f6c-6fjq-pm8f, CGA-4f8x-cqvf-5h53, CGA-7c96-9fhh-5xhc, CGA-9q33-4vvj-325q, CGA-f8g7-c37q-gp9w, CGA-g456-w7c9-68cr, CGA-jgg5-xvwx-qhmp, CGA-p4g7-cx42-5jg3, CGA-pqqc-7fm8-66x7, CGA-rr9w-7cmq-x9wf, CGA-v9m2-pgp2-7mqx, CGA-573j-9rcg-39v9, CGA-9p2f-gwf3-jv5g, CGA-g2pj-9f7g-x7qg, CGA-h7h6-9r9c-83r7, CGA-m4hw-gp4q-3rr3, CGA-r936-8627-r9m6, CGA-x638-67vx-gmwc, CGA-x5q8-vhpp-8xj9
- Record: https://cvemate.com/vulnerability/CVE-2026-99400 · JSON: https://cvemate.com/vulnerability/CVE-2026-99400/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.201%, percentile 10.526%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 178)

- chainguard linux-desktop-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-desktop-7.2-modules (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2 (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-bootc-boot-installed (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-headers (Chainguard): All versions (No fix recorded)
- chainguard linux-server-7.2-modules (Chainguard): All versions (No fix recorded)
- debian linux (Debian): All versions (No fix recorded) \| \< 6.12.117-1 \| \< 7.3.3-1
- debian linux-6.12 (Debian): \< 6.12.117-1~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/91d0cf6244280e67bdc2787a60a10f635ac064c0>
- <https://git.kernel.org/stable/c/c2cd6b3b480ef2ae9752ed924a2199c8c90569a1>
- <https://git.kernel.org/stable/c/c5c34a0a5a80ecd8fea9fff960907b2924d18cd9>
- <https://git.kernel.org/stable/c/0643549ffecaeb716c0b75590a9b76dfa5eb35b3>
- <https://security-tracker.debian.org/tracker/CVE-2026-99400>
- <https://git.kernel.org/stable/c/42db3bdf727398cb0e5020fbfec8fc0afca9deb8>
- <https://git.kernel.org/stable/c/b3f78fa60d4be346df7d5dfcbde7a3c05a7a1975>
- <https://git.kernel.org/stable/c/e32f3a262c5739128506f0dad08471dfee06a3e0>
- <https://git.kernel.org/stable/c/655cb24f3852b41a9ddbf0d228f483537832b075>
- <https://ubuntu.com/security/CVE-2026-99400>
- <https://www.cve.org/CVERecord?id=CVE-2026-99400>
- <https://git.kernel.org/linus/0643549ffecaeb716c0b75590a9b76dfa5eb35b3>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99400.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-99400>
- <https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git>

---

Data as of 2026-12-05T08:37:41.150Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
