9.8critical
[ceph] parse_longname(): strrchr() expects NUL-terminated string
- Severity
- 9.8critical CVSS:3.1 by Linux
- Exploit likelihood
- 0.46% (higher than 41% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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...
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from dd66df0053ef84add5e684df517aa9b498342381 before 4b9aee707c4580511983a0998547f3b28514e6a6, from dd66df0053ef84add5e684df517aa9b498342381 before bb80f7618832d26f7e395f52f82b1dac76223e5f, from dd66df0053ef84add5e684df517aa9b498342381 before 3145b2b11492d61c512bbc59660bb823bc757f48, from dd66df0053ef84add5e684df517aa9b498342381 before 493479af8af3ab907f49e99323777d498a4fbd2b, from dd66df0053ef84add5e684df517aa9b498342381 before 101841c38346f4ca41dc1802c867da990ffb32eb, 6.6 Not affected: before 6.6, from 6.6.157 up to 6.6.*, from 6.12.42 up to 6.12.*, from 6.15.10 up to 6.15.*, from 6.16.1 up to 6.16.*, from 6.17 up to * | CVE List |
| linux linux_kernel | from 6.6 before 6.12.42, from 6.13 before 6.15.10, from 6.16 before 6.16.1 | NVD |
All scores
| Linux | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
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...
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: [ceph] parse_longname(): strrchr() espera una cadena terminada en NUL... y parse_longname() no lo garantiza. Por eso usa kmemdup_nul() para construir el argumento de kstrtou64(); el problema es que kstrtou64() no es el Ășnico que lo necesita. Simplemente obtenga una copia terminada en NUL de todo el conjunto y listo.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-38660 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2025-38660 changed 2026-10-15 | Public domain |