# CVE-2026-99399: xfs: reject remote xattr entries with an out-of-range value length

- 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-99399, UBUNTU-CVE-2026-99399, CGA-2j4m-q96p-56j9, CGA-2mvc-pc5f-77pf, CGA-538m-353g-4cvg, CGA-5p6g-5339-q2m2, CGA-6gxh-cqxm-fw5w, CGA-75vc-rpgg-525m, CGA-mjvj-c828-3fmh, CGA-p744-8548-g66q, CGA-r6m8-f32c-3hcr, CGA-rfqf-57f9-j6fr, CGA-wpjf-8frj-52f6, CGA-628f-9mqj-m9g7, CGA-7fj3-4wq7-jqh4, CGA-cvc5-chmf-qhgr, CGA-hfmm-4r2r-85pq, CGA-mhqp-3rm3-8qg3, CGA-q9j3-qwpj-f572, CGA-v952-5fc9-rfg9, CGA-5h3v-ff82-vm43
- Record: https://cvemate.com/vulnerability/CVE-2026-99399 · JSON: https://cvemate.com/vulnerability/CVE-2026-99399/json

## Description

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

## 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.21%, percentile 11.799%, 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 170)

- 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/56b701b3c272f143bb5f6a346bfbb1fe28ee14b1>
- <https://git.kernel.org/stable/c/97b85a593188f63e133883525c9159f77e660197>
- <https://git.kernel.org/stable/c/1481b4644cd640f0a603d97ced300a1fbd7d3a94>
- <https://git.kernel.org/stable/c/15ccd92a782a0253f4a17895f3d3f71e5c1d1973>
- <https://security-tracker.debian.org/tracker/CVE-2026-99399>
- <https://git.kernel.org/stable/c/cb6dcf2e5a339bf83683186652f7149e0a4c03d9>
- <https://git.kernel.org/stable/c/e16b8078e804cc190e7f03bdfc0569595b541238>
- <https://git.kernel.org/stable/c/1bec5e735e51d840268ed43b3829b3b0b7ff2953>
- <https://git.kernel.org/stable/c/a15646a4d5a2c15b9cd809cd531a412501349624>
- <https://ubuntu.com/security/CVE-2026-99399>
- <https://www.cve.org/CVERecord?id=CVE-2026-99399>
- <https://git.kernel.org/linus/15ccd92a782a0253f4a17895f3d3f71e5c1d1973>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99399.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-99399>
- <https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git>

---

Data as of 2026-12-05T08:38:14.031Z. 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
