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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.19% (percentile 5, 2026-11-28)
- **Published:** 2026-11-19T14:23:36.794Z
- **Modified:** 2026-11-23T08:17:44.090Z

## Who should check

- Anyone running Linux \>= c84760659dcf237902d4cc997cd5f55cb3b2807f, \< cb6dcf2e5a339bf83683186652f7149e0a4c03d9; \>= c84760659dcf237902d4cc997cd5f55cb3b2807f, \< e16b8078e804cc190e7f03bdfc0569595b541238; \>= c84760659dcf237902d4cc997cd5f55cb3b2807f, \< 1bec5e735e51d840268ed43b3829b3b0b7ff2953; \>= c84760659dcf237902d4cc997cd5f55cb3b2807f, \< a15646a4d5a2c15b9cd809cd531a412501349624; \>= c84760659dcf237902d4cc997cd5f55cb3b2807f, \< 56b701b3c272f143bb5f6a346bfbb1fe28ee14b1; \>= c84760659dcf237902d4cc997cd5f55cb3b2807f, \< 97b85a593188f63e133883525c9159f77e660197; \>= c84760659dcf237902d4cc997cd5f55cb3b2807f, \< 1481b4644cd640f0a603d97ced300a1fbd7d3a94; \>= c84760659dcf237902d4cc997cd5f55cb3b2807f, \< 15ccd92a782a0253f4a17895f3d3f71e5c1d1973
- Anyone running Linux 5.5

## Description

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.

## Affected and fixed versions

- Linux: \>= c84760659dcf237902d4cc997cd5f55cb3b2807f, \< cb6dcf2e5a339bf83683186652f7149e0a4c03d9; \>= c84760659dcf237902d4cc997cd5f55cb3b2807f, \< e16b8078e804cc190e7f03bdfc0569595b541238; \>= c84760659dcf237902d4cc997cd5f55cb3b2807f, \< 1bec5e735e51d840268ed43b3829b3b0b7ff2953; \>= c84760659dcf237902d4cc997cd5f55cb3b2807f, \< a15646a4d5a2c15b9cd809cd531a412501349624; \>= c84760659dcf237902d4cc997cd5f55cb3b2807f, \< 56b701b3c272f143bb5f6a346bfbb1fe28ee14b1; \>= c84760659dcf237902d4cc997cd5f55cb3b2807f, \< 97b85a593188f63e133883525c9159f77e660197; \>= c84760659dcf237902d4cc997cd5f55cb3b2807f, \< 1481b4644cd640f0a603d97ced300a1fbd7d3a94; \>= c84760659dcf237902d4cc997cd5f55cb3b2807f, \< 15ccd92a782a0253f4a17895f3d3f71e5c1d1973 (cvelist)
- Linux: 5.5 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 15ccd92a782a0253f4a17895f3d3f71e5c1d1973 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99399. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99399.md
Affected: Linux >= c84760659dcf237902d4cc997cd5f55cb3b2807f, < cb6dcf2e5a339bf83683186652f7149e0a4c03d9; >= c84760659dcf237902d4cc997cd5f55cb3b2807f, < e16b8078e804cc190e7f03bdfc0569595b541238; >= c84760659dcf237902d4cc997cd5f55cb3b2807f, < 1bec5e735e51d840268ed43b3829b3b0b7ff2953; >= c84760659dcf237902d4cc9…
Fixed in: Linux 1bec5e735e51d840268ed43b3829b3b0b7ff2953, Linux 56b701b3c272f143bb5f6a346bfbb1fe28ee14b1, Linux 97b85a593188f63e133883525c9159f77e660197, Linux 1481b4644cd640f0a603d97ced300a1fbd7d3a94, Linux 15ccd92a782a0253f4a17895f3d3f71e5c1d1973

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99399 being exploited?

There is no confirmed exploitation: CVE-2026-99399 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99399?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-99399?

Linux \>= c84760659dcf237902d4cc997cd5f55cb3b2807f, \< cb6dcf2e5a339bf83683186652f7149e0a4c03d9; \>= c84760659dcf237902d4cc997cd5f55cb3b2807f, \< e16b8078e804cc190e7f03bdfc0569595b541238; \>= c84760659dcf237902d4cc997cd5f55cb3b2807f, \< 1bec5e735e51d840268ed43b3829b3b0b7ff2953; \>= c84760659dcf237902d4cc997cd5f55cb3b2807f, \< a15646a4d5a2c15b9cd809cd531a412501349624; \>= c84760659dcf237902d4cc997cd5f55cb3b2807f, \< 56b701b3c272f143bb5f6a346bfbb1fe28ee14b1; \>= c84760659dcf237902d4cc997cd5f55cb3b2807f, \< 97b85a593188f63e133883525c9159f77e660197; \>= c84760659dcf237902d4cc997cd5f55cb3b2807f, \< 1481b4644cd640f0a603d97ced300a1fbd7d3a94; \>= c84760659dcf237902d4cc997cd5f55cb3b2807f, \< 15ccd92a782a0253f4a17895f3d3f71e5c1d1973; Linux 5.5.

### Is there a fix for CVE-2026-99399?

Yes. Fixed in Linux 1bec5e735e51d840268ed43b3829b3b0b7ff2953, Linux 56b701b3c272f143bb5f6a346bfbb1fe28ee14b1, Linux 97b85a593188f63e133883525c9159f77e660197, Linux 1481b4644cd640f0a603d97ced300a1fbd7d3a94, Linux 15ccd92a782a0253f4a17895f3d3f71e5c1d1973. Upgrade Linux to 15ccd92a782a0253f4a17895f3d3f71e5c1d1973 or later.

### How do I check if I'm affected by CVE-2026-99399?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/cb6dcf2e5a339bf83683186652f7149e0a4c03d9>
- other: <https://git.kernel.org/stable/c/e16b8078e804cc190e7f03bdfc0569595b541238>
- other: <https://git.kernel.org/stable/c/1bec5e735e51d840268ed43b3829b3b0b7ff2953>
- other: <https://git.kernel.org/stable/c/a15646a4d5a2c15b9cd809cd531a412501349624>
- other: <https://git.kernel.org/stable/c/56b701b3c272f143bb5f6a346bfbb1fe28ee14b1>
- other: <https://git.kernel.org/stable/c/97b85a593188f63e133883525c9159f77e660197>
- other: <https://git.kernel.org/stable/c/1481b4644cd640f0a603d97ced300a1fbd7d3a94>
- other: <https://git.kernel.org/stable/c/15ccd92a782a0253f4a17895f3d3f71e5c1d1973>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99399>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99399> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99399>
