CVE-2026-99400
xfs: reject out-of-range attribute value lengths in xfs_attr_copy_value
Mitigation
- Upgrade Linux to 0643549ffecaeb716c0b75590a9b76dfa5eb35b3 or later.
Who should check
- Anyone running Linux >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < 42db3bdf727398cb0e5020fbfec8fc0afca9deb8; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < b3f78fa60d4be346df7d5dfcbde7a3c05a7a1975; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < e32f3a262c5739128506f0dad08471dfee06a3e0; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < 655cb24f3852b41a9ddbf0d228f483537832b075; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < 91d0cf6244280e67bdc2787a60a10f635ac064c0; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < c2cd6b3b480ef2ae9752ed924a2199c8c90569a1; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < c5c34a0a5a80ecd8fea9fff960907b2924d18cd9; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < 0643549ffecaeb716c0b75590a9b76dfa5eb35b3
- Anyone running Linux 5.4
Vulnerability facts
- Affected
- Linux >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < 42db3bdf727398cb0e5020fbfec8fc0afca9deb8; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < b3f78fa60d4be346df7d5dfcbde7a3c05a7a1975; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < e32f3a262c5739128506f0dad08471dfee06a3e0; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < 655cb24f3852b41a9ddbf0d228f483537832b075; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < 91d0cf6244280e67bdc2787a60a10f635ac064c0; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < c2cd6b3b480ef2ae9752ed924a2199c8c90569a1; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < c5c34a0a5a80ecd8fea9fff960907b2924d18cd9; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < 0643549ffecaeb716c0b75590a9b76dfa5eb35b3; Linux 5.4
- Fixed in
- Linux 42db3bdf727398cb0e5020fbfec8fc0afca9deb8, Linux 655cb24f3852b41a9ddbf0d228f483537832b075, Linux 91d0cf6244280e67bdc2787a60a10f635ac064c0, Linux 0643549ffecaeb716c0b75590a9b76dfa5eb35b3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.19% chance of exploitation in 30 days (percentile 5, 2026-11-26)
- Modified
Description
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < 42db3bdf727398cb0e5020fbfec8fc0afca9deb8; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < b3f78fa60d4be346df7d5dfcbde7a3c05a7a1975; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < e32f3a262c5739128506f0dad08471dfee06a3e0; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < 655cb24f3852b41a9ddbf0d228f483537832b075; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < 91d0cf6244280e67bdc2787a60a10f635ac064c0; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < c2cd6b3b480ef2ae9752ed924a2199c8c90569a1; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < c5c34a0a5a80ecd8fea9fff960907b2924d18cd9; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < 0643549ffecaeb716c0b75590a9b76dfa5eb35b3 | — | cvelist |
| Linux | 5.4 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-99400. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-99400.md Affected: Linux >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < 42db3bdf727398cb0e5020fbfec8fc0afca9deb8; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < b3f78fa60d4be346df7d5dfcbde7a3c05a7a1975; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < e32f3a262c5739128506f0dad08471dfee06a3e0; >= 9df243a1a9e607e7cf5d20e… Fixed in: Linux 42db3bdf727398cb0e5020fbfec8fc0afca9deb8, Linux 655cb24f3852b41a9ddbf0d228f483537832b075, Linux 91d0cf6244280e67bdc2787a60a10f635ac064c0, Linux 0643549ffecaeb716c0b75590a9b76dfa5eb35b3 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.
Technologies
References
Other
- 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://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
FAQ
Is CVE-2026-99400 being exploited?
There is no confirmed exploitation: CVE-2026-99400 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-26).
How serious is CVE-2026-99400?
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-99400?
Linux >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < 42db3bdf727398cb0e5020fbfec8fc0afca9deb8; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < b3f78fa60d4be346df7d5dfcbde7a3c05a7a1975; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < e32f3a262c5739128506f0dad08471dfee06a3e0; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < 655cb24f3852b41a9ddbf0d228f483537832b075; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < 91d0cf6244280e67bdc2787a60a10f635ac064c0; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < c2cd6b3b480ef2ae9752ed924a2199c8c90569a1; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < c5c34a0a5a80ecd8fea9fff960907b2924d18cd9; >= 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, < 0643549ffecaeb716c0b75590a9b76dfa5eb35b3; Linux 5.4.
Is there a fix for CVE-2026-99400?
Yes. Fixed in Linux 42db3bdf727398cb0e5020fbfec8fc0afca9deb8, Linux 655cb24f3852b41a9ddbf0d228f483537832b075, Linux 91d0cf6244280e67bdc2787a60a10f635ac064c0, Linux 0643549ffecaeb716c0b75590a9b76dfa5eb35b3. Upgrade Linux to 0643549ffecaeb716c0b75590a9b76dfa5eb35b3 or later.
How do I check if I'm affected by CVE-2026-99400?
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.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| HIGH 7.0 | CVE-2026-137974 Tuned: local privilege escalation through untrusted mount table parsing in the spindown-disk profile | Linux kernel+1 | ||
| HIGH 7.8 | CVE-2026-137941 Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property | Linux kernel+1 | ||
| HIGH 7.3 | CVE-2026-137898 Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling | Linux kernel+1 | ||
| MEDIUM 6.5 | CVE-2026-102963 Use-after-return in getaddrinfo() when a DNS query that followed a CNAME cannot be cancelled | Linux kernel+1 | ||
| MEDIUM 5.3 | CVE-2026-115841 Sequoia-openpgp: sequoia-openpgp: degenerate dsa keys are accepted on the nettle and openssl backendsa | Linux kernel+4 |