CVE-2026-99400 — Linux
One of 246 Linux vulnerabilities published together by NVD: our article covers all of them.
LinuxOperating systemsVulnerabilitiesSummary
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.
Severity breakdown
High · 7.8
An attacker without an account can exploit this with local access if a user is tricked into an action.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- yes, someone must click, open or visit something
- Scope
- stays within the vulnerable component
- Impact
- high on confidentiality, integrity and availability
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux | 5.4 and later | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1 |
References by type
Patches and fixed releases
- git.kernel.org/stable/c/0643549ffecaeb716c0b75590a9b76dfa5eb35b3
- git.kernel.org/stable/c/42db3bdf727398cb0e5020fbfec8fc0afca9deb8
- git.kernel.org/stable/c/655cb24f3852b41a9ddbf0d228f483537832b075
- git.kernel.org/stable/c/91d0cf6244280e67bdc2787a60a10f635ac064c0
- git.kernel.org/stable/c/b3f78fa60d4be346df7d5dfcbde7a3c05a7a1975
- git.kernel.org/stable/c/c2cd6b3b480ef2ae9752ed924a2199c8c90569a1
- git.kernel.org/stable/c/c5c34a0a5a80ecd8fea9fff960907b2924d18cd9
- git.kernel.org/stable/c/e32f3a262c5739128506f0dad08471dfee06a3e0
Affected
- Linux
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-99400?
In the Linux kernel, the following vulnerability has been resolved: xfs: reject out-of-range attribute value lengths in xfsattrcopyvalue xfsattrcopyvalue() takes the value length as a signed int and, for a remote xattr, is handed args->rmtvaluelen.
How severe is CVE-2026-99400?
CVE-2026-99400 has a CVSS 3.1 base score of 7.8 (high), from the CNA. An attacker without an account can exploit this with local access if a user is tricked into an action.
Is CVE-2026-99400 being exploited?
Not as far as is known: CVE-2026-99400 is not in CISA's Known Exploited Vulnerabilities catalog as of November 30, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-99400?
Linux 5.4 and later (fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1).
How do I fix CVE-2026-99400?
Update to a fixed release: Linux 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1.