CVE-2025-38660
[ceph] parse_longname(): strrchr() expects NUL-terminated string
Check your servers for CVE-2025-38660
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-2025-38660 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] parse_longname(): strrchr() expects NUL-terminated string
... and parse_longname() is not guaranteed that. That's the reason why it uses kmemdup_nul() to build the argument for kstrtou64(); the problem is, kstrtou64() is not the only thing that need it.
Just get a NUL-terminated copy of the entire thing and be done with that...
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/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
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- 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.47%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 41.9% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 15 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- total: full control of the component or of its data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from dd66df0053ef84add5e684df517aa9b498342381, before 4b9aee707c4580511983a0998547f3b28514e6a6 affected from dd66df0053ef84add5e684df517aa9b498342381, before bb80f7618832d26f7e395f52f82b1dac76223e5f affected from dd66df0053ef84add5e684df517aa9b498342381, before 3145b2b11492d61c512bbc59660bb823bc757f48 affected from dd66df0053ef84add5e684df517aa9b498342381, before 493479af8af3ab907f49e99323777d498a4fbd2b affected from dd66df0053ef84add5e684df517aa9b498342381, before 101841c38346f4ca41dc1802c867da990ffb32eb
Other versions: unaffected
|
| Linux |
affected 6.6 unaffected before 6.6 unaffected from 6.6.157 up to and including 6.6.* unaffected from 6.12.42 up to and including 6.12.* unaffected from 6.15.10 up to and including 6.15.* unaffected from 6.16.1 up to and including 6.16.* unaffected 6.17 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-2025-38660 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-38660
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-2025-38660
trivy image --scanners vuln IMAGE | grep CVE-2025-38660
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/4b9aee707c4580511983a0998547f3b28514e6a6 git.kernel.org
- https://git.kernel.org/stable/c/bb80f7618832d26f7e395f52f82b1dac76223e5f git.kernel.org
- https://git.kernel.org/stable/c/3145b2b11492d61c512bbc59660bb823bc757f48 git.kernel.org
- https://git.kernel.org/stable/c/493479af8af3ab907f49e99323777d498a4fbd2b git.kernel.org
- https://git.kernel.org/stable/c/101841c38346f4ca41dc1802c867da990ffb32eb git.kernel.org
Source: the record CVE-2025-38660 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse