CVE-2025-38660

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...
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

25 Nov 2025, 22:13

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
First Time Linux
Linux linux Kernel
Summary
  • (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.
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
References () https://git.kernel.org/stable/c/101841c38346f4ca41dc1802c867da990ffb32eb - () https://git.kernel.org/stable/c/101841c38346f4ca41dc1802c867da990ffb32eb - Patch
References () https://git.kernel.org/stable/c/3145b2b11492d61c512bbc59660bb823bc757f48 - () https://git.kernel.org/stable/c/3145b2b11492d61c512bbc59660bb823bc757f48 - Patch
References () https://git.kernel.org/stable/c/493479af8af3ab907f49e99323777d498a4fbd2b - () https://git.kernel.org/stable/c/493479af8af3ab907f49e99323777d498a4fbd2b - Patch
References () https://git.kernel.org/stable/c/bb80f7618832d26f7e395f52f82b1dac76223e5f - () https://git.kernel.org/stable/c/bb80f7618832d26f7e395f52f82b1dac76223e5f - Patch
CWE NVD-CWE-Other

22 Aug 2025, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-08-22 16:15

Updated : 2025-11-25 22:13


NVD link : CVE-2025-38660

Mitre link : CVE-2025-38660

CVE.ORG link : CVE-2025-38660


JSON object : View

Products Affected

linux

  • linux_kernel