Vulnerability 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...
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.6, < 6.12.42 |
References
- https://git.kernel.org/stable/c/101841c38346f4ca41dc1802c867da990ffb32ebPatch
- https://git.kernel.org/stable/c/3145b2b11492d61c512bbc59660bb823bc757f48Patch
- https://git.kernel.org/stable/c/493479af8af3ab907f49e99323777d498a4fbd2bPatch
- https://git.kernel.org/stable/c/bb80f7618832d26f7e395f52f82b1dac76223e5fPatch
FAQ
What is CVE-2025-38660?
CVE-2025-38660 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 reas...
How severe is CVE-2025-38660?
CVE-2025-38660 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-38660?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.