CVE-2025-38660·Kernel vulnerability
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
- critical
- Software
- Kernel
- Fixed in
- 6.16.1
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.39% — higher than 31% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2025-38660 scores 9.8 on CVSS, so a successful attack would be serious — but at 0.39%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.16
Until: 6.16.1
Fixed in: 6.16.1
How to fix this CVE
Update your Linux kernel to version 6.16.1 or later to address a critical memory safety vulnerability in Ceph filesystem parsing that could allow local privilege escalation. Systems running kernel versions 6.16 to 6.16.0 should prioritize this patch immediately due to the CVSS 9.8 severity rating affecting confidentiality, integrity, and availability.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with 'uname -r' and compare against vulnerable range 6.16 to 6.16.0
- Step 2: Verify Ceph filesystem is mounted with 'mount | grep ceph' or check /etc/ceph/ceph.conf for active configuration
- Step 3: Search system logs for parse_longname() errors with 'sudo grep -r "parse_longname" /var/log/' and check dmesg with 'dmesg | grep -i ceph'
- Step 4: After patching, confirm kernel version with 'uname -r' shows 6.16.1+ and reboot system to load new kernel
FAQ
What is CVE-2025-38660?
This vulnerability exists in the Linux kernel's Ceph filesystem module where the parse_longname() function processes unterminated string data, potentially causing buffer overflows and memory corruption when parsing Ceph filenames.
Is CVE-2025-38660 being actively exploited?
No, this vulnerability is not currently listed on the CISA Known Exploited Vulnerabilities catalog and no public exploits are available, though the critical CVSS 9.8 score warrants immediate patching.
What versions of Kernel are affected by CVE-2025-38660?
Linux kernel versions 6.16 through 6.16.0 are vulnerable; version 6.16.1 and later contain the fix.
How do I check if my server is vulnerable to CVE-2025-38660?
Run 'uname -r' and verify your kernel version is between 6.16 and 6.16.0; if so, your system is vulnerable. Additionally confirm Ceph is in use with 'lsmod | grep ceph' or check mounted filesystems.
Does Defensia detect CVE-2025-38660?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel package is installed on a monitored server, CVE-2025-38660 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/101841c38346f4ca41dc1802c867da990ffb32eb
- https://git.kernel.org/stable/c/3145b2b11492d61c512bbc59660bb823bc757f48
- https://git.kernel.org/stable/c/493479af8af3ab907f49e99323777d498a4fbd2b
- https://git.kernel.org/stable/c/4b9aee707c4580511983a0998547f3b28514e6a6
- https://git.kernel.org/stable/c/bb80f7618832d26f7e395f52f82b1dac76223e5f
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2025-38660. Free for 1 server.
Get started free