CVE-2026-99400

xfs: reject out-of-range attribute value lengths in xfs_attr_copy_value

7.8 high EPSS 0.19%

Published 19 Nov 2026 Updated 23 Nov 2026 CNA: Linux

Check your servers for CVE-2026-99400

The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99400 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.

Check my servers

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.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
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.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 4.79% of all scored CVEs. Scores of 27 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, before 42db3bdf727398cb0e5020fbfec8fc0afca9deb8
affected from 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, before b3f78fa60d4be346df7d5dfcbde7a3c05a7a1975
affected from 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, before e32f3a262c5739128506f0dad08471dfee06a3e0
affected from 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, before 655cb24f3852b41a9ddbf0d228f483537832b075
affected from 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, before 91d0cf6244280e67bdc2787a60a10f635ac064c0
affected from 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, before c2cd6b3b480ef2ae9752ed924a2199c8c90569a1
affected from 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, before c5c34a0a5a80ecd8fea9fff960907b2924d18cd9
affected from 9df243a1a9e607e7cf5d20ee46edd5ec84b7e400, before 0643549ffecaeb716c0b75590a9b76dfa5eb35b3
Other versions: unaffected
Linux
affected 5.4
unaffected before 5.4
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-99400 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99400

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-99400
trivy image --scanners vuln IMAGE | grep CVE-2026-99400

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 agent.

References

Other references

Source: the record CVE-2026-99400 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.