CVE-2026-99904
ceph: fix longname buffer overflow in ceph_fname_to_usr()
Check your servers for CVE-2026-99904
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-99904 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:
ceph: fix longname buffer overflow in ceph_fname_to_usr()
Snapshot longname reconstruction formats "_<name>_<inode>" via snprintf() and memcpy()s the result into oname->name. Checking the length against NAME_MAX only protects the LOOKUPNAME/export callers, whose buffer is allocated with fscrypt_fname_alloc_buffer(NAME_MAX). The readdir path points oname->name straight at the altname in the MDS reply, whose capacity is altname_len; the reconstructed name can exceed that while still fitting under NAME_MAX, overflowing the in-place destination.
Save the actual oname->len before the decryption overwrites it, and fail with -ENAMETOOLONG when the reconstructed name would not fit.
Severity (CVSS)
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- 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.53%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 46.2% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from dd66df0053ef84add5e684df517aa9b498342381, before 437541c22e9679d2cddb2028e03122d1d0851039 affected from dd66df0053ef84add5e684df517aa9b498342381, before fc4fb91ec42f1bb371f17784ac5a928c73f4f739 affected from dd66df0053ef84add5e684df517aa9b498342381, before 8b03dcc96978da9480c908b5a2fd92e697531e33 affected from dd66df0053ef84add5e684df517aa9b498342381, before 0c162c18a774ab36c090088d2b27ed9ddb095fa4 affected from dd66df0053ef84add5e684df517aa9b498342381, before 71975d6e0db17646102488cf54480fda9de0f7a7
Other versions: unaffected
|
| Linux |
affected 6.6 unaffected before 6.6 unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.118 up to and including 6.12.* unaffected from 6.18.64 up to and including 6.18.* unaffected from 7.3.4 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-99904 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99904
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-99904
trivy image --scanners vuln IMAGE | grep CVE-2026-99904
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/437541c22e9679d2cddb2028e03122d1d0851039 git.kernel.org
- https://git.kernel.org/stable/c/fc4fb91ec42f1bb371f17784ac5a928c73f4f739 git.kernel.org
- https://git.kernel.org/stable/c/8b03dcc96978da9480c908b5a2fd92e697531e33 git.kernel.org
- https://git.kernel.org/stable/c/0c162c18a774ab36c090088d2b27ed9ddb095fa4 git.kernel.org
- https://git.kernel.org/stable/c/71975d6e0db17646102488cf54480fda9de0f7a7 git.kernel.org
Source: the record CVE-2026-99904 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