{"id":"CVE-2025-38660","aliases":["CVE-2025-38660"],"related":[],"kind":"vulnerability","state":"published","title":"[ceph] parse_longname(): strrchr() expects NUL-terminated string","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\n[ceph] parse_longname(): strrchr() expects NUL-terminated string\n\n... and parse_longname() is not guaranteed that.  That's the reason\nwhy it uses kmemdup_nul() to build the argument for kstrtou64();\nthe problem is, kstrtou64() is not the only thing that need it.\n\nJust get a NUL-terminated copy of the entire thing and be done\nwith that...","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\n[ceph] parse_longname(): strrchr() expects NUL-terminated string\n\n... and parse_longname() is not guaranteed that.  That's the reason\nwhy it uses kmemdup_nul() to build the argument for kstrtou64();\nthe problem is, kstrtou64() is not the only thing that need it.\n\nJust get a NUL-terminated copy of the entire thing and be done\nwith that...","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-08-22T16:01:03.686Z","modified":"2026-10-15T22:18:48.640Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"dd66df0053ef84add5e684df517aa9b498342381","fixed":"4b9aee707c4580511983a0998547f3b28514e6a6","status":"affected"},{"type":"git","introduced":"dd66df0053ef84add5e684df517aa9b498342381","fixed":"bb80f7618832d26f7e395f52f82b1dac76223e5f","status":"affected"},{"type":"git","introduced":"dd66df0053ef84add5e684df517aa9b498342381","fixed":"3145b2b11492d61c512bbc59660bb823bc757f48","status":"affected"},{"type":"git","introduced":"dd66df0053ef84add5e684df517aa9b498342381","fixed":"493479af8af3ab907f49e99323777d498a4fbd2b","status":"affected"},{"type":"git","introduced":"dd66df0053ef84add5e684df517aa9b498342381","fixed":"101841c38346f4ca41dc1802c867da990ffb32eb","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.6","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.42","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.15.10","lastAffected":"6.15.*","status":"unaffected"},{"type":"semver","introduced":"6.16.1","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.6","fixed":"6.12.42"},{"status":"affected","introduced":"6.13","fixed":"6.15.10"},{"status":"affected","introduced":"6.16","fixed":"6.16.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/4b9aee707c4580511983a0998547f3b28514e6a6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bb80f7618832d26f7e395f52f82b1dac76223e5f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3145b2b11492d61c512bbc59660bb823bc757f48","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/493479af8af3ab907f49e99323777d498a4fbd2b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/101841c38346f4ca41dc1802c867da990ffb32eb","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-15T21:52:41.406Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38660","url":"https://www.cve.org/CVERecord?id=CVE-2025-38660","licence":"CVE Terms of Use","modified":"2026-10-15T22:02:27.813Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38660","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38660","licence":"Public domain","modified":"2026-10-15T22:18:48.640Z"}],"updatedAt":"2026-11-25T22:59:03.548Z","epss":{"score":0.00465,"percentile":0.41958,"date":"2026-12-01T12:00:22.000Z"}}