CVE-2025-38660 Details
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...
A vulnerability in the Linux kernel's Ceph file system component has been addressed. The issue arose in the 'parse_longname()' function, which was not properly handling NUL-terminated strings. This oversight led to potential errors when the function parsed snapshot names, as it relied on 'strrchr()' to locate the end of the string without assurance that the string was correctly terminated. The function has been modified to use 'kmemdup_nul()' to create a NUL-terminated copy of the input, ensuring proper parsing. This vulnerability affects the Linux kernel stable tree.
Users can update to the latest version of the Linux kernel stable tree, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/101841c38346f4ca41dc1802c867da990ffb32eb | kernel.org | Patch |
| https://git.kernel.org/stable/c/3145b2b11492d61c512bbc59660bb823bc757f48 | kernel.org | Patch |
| https://git.kernel.org/stable/c/493479af8af3ab907f49e99323777d498a4fbd2b | kernel.org | Patch |
| https://git.kernel.org/stable/c/4b9aee707c4580511983a0998547f3b28514e6a6 | kernel.org | |
| https://git.kernel.org/stable/c/bb80f7618832d26f7e395f52f82b1dac76223e5f | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-Other | Weakness Not in a Standard CWE Category | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.6, < 6.12.42 >= 6.13, < 6.15.10 >= 6.16, < 6.16.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 14, 2026 | CVE Modified | kernel.org |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 25, 2025 | Initial Analysis | [email protected] |
| Aug 22, 2025 | New CVE Received | kernel.org |