CVE-2026-99399
xfs: reject remote xattr entries with an out-of-range value length
Check your servers for CVE-2026-99399
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99399 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- required: a user has to do something, such as open a link or a file
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.8% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from c84760659dcf237902d4cc997cd5f55cb3b2807f, before cb6dcf2e5a339bf83683186652f7149e0a4c03d9 affected from c84760659dcf237902d4cc997cd5f55cb3b2807f, before e16b8078e804cc190e7f03bdfc0569595b541238 affected from c84760659dcf237902d4cc997cd5f55cb3b2807f, before 1bec5e735e51d840268ed43b3829b3b0b7ff2953 affected from c84760659dcf237902d4cc997cd5f55cb3b2807f, before a15646a4d5a2c15b9cd809cd531a412501349624 affected from c84760659dcf237902d4cc997cd5f55cb3b2807f, before 56b701b3c272f143bb5f6a346bfbb1fe28ee14b1 affected from c84760659dcf237902d4cc997cd5f55cb3b2807f, before 97b85a593188f63e133883525c9159f77e660197 affected from c84760659dcf237902d4cc997cd5f55cb3b2807f, before 1481b4644cd640f0a603d97ced300a1fbd7d3a94 affected from c84760659dcf237902d4cc997cd5f55cb3b2807f, before 15ccd92a782a0253f4a17895f3d3f71e5c1d1973
Other versions: unaffected
|
| Linux |
affected 5.5 unaffected before 5.5 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.117 up to and including 6.12.* unaffected from 6.18.61 up to and including 6.18.* unaffected from 7.3.2 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99399 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99399
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-99399
trivy image --scanners vuln IMAGE | grep CVE-2026-99399
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/cb6dcf2e5a339bf83683186652f7149e0a4c03d9 git.kernel.org
- https://git.kernel.org/stable/c/e16b8078e804cc190e7f03bdfc0569595b541238 git.kernel.org
- https://git.kernel.org/stable/c/1bec5e735e51d840268ed43b3829b3b0b7ff2953 git.kernel.org
- https://git.kernel.org/stable/c/a15646a4d5a2c15b9cd809cd531a412501349624 git.kernel.org
- https://git.kernel.org/stable/c/56b701b3c272f143bb5f6a346bfbb1fe28ee14b1 git.kernel.org
- https://git.kernel.org/stable/c/97b85a593188f63e133883525c9159f77e660197 git.kernel.org
- https://git.kernel.org/stable/c/1481b4644cd640f0a603d97ced300a1fbd7d3a94 git.kernel.org
- https://git.kernel.org/stable/c/15ccd92a782a0253f4a17895f3d3f71e5c1d1973 git.kernel.org
Source: the record CVE-2026-99399 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse