{"id":"CVE-2025-38660","summary":"[ceph] parse_longname(): strrchr() expects NUL-terminated string","details":"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...","modified":"2026-09-16T03:30:22.936729347Z","published":"2025-08-22T16:01:03.686Z","related":["SUSE-SU-2025:03600-1","SUSE-SU-2025:03601-1","SUSE-SU-2025:03602-1","SUSE-SU-2025:03633-1","SUSE-SU-2025:03634-1","SUSE-SU-2025:20851-1","SUSE-SU-2025:20861-1","SUSE-SU-2025:20870-1","SUSE-SU-2025:20898-1","SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","SUSE-SU-2025:3725-1","SUSE-SU-2025:3751-1","SUSE-SU-2026:20560-1","openSUSE-SU-2025:20081-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38660.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/101841c38346f4ca41dc1802c867da990ffb32eb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3145b2b11492d61c512bbc59660bb823bc757f48"},{"type":"WEB","url":"https://git.kernel.org/stable/c/493479af8af3ab907f49e99323777d498a4fbd2b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4b9aee707c4580511983a0998547f3b28514e6a6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bb80f7618832d26f7e395f52f82b1dac76223e5f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38660.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38660"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"dd66df0053ef84add5e684df517aa9b498342381"},{"fixed":"4b9aee707c4580511983a0998547f3b28514e6a6"},{"fixed":"bb80f7618832d26f7e395f52f82b1dac76223e5f"},{"fixed":"3145b2b11492d61c512bbc59660bb823bc757f48"},{"fixed":"493479af8af3ab907f49e99323777d498a4fbd2b"},{"fixed":"101841c38346f4ca41dc1802c867da990ffb32eb"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38660.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.6.0"},{"fixed":"6.6.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.42"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.15.10"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.16.0"},{"fixed":"6.16.1"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38660.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}