{"schema_version":"1.9.0","id":"CVE-2025-37956","published":"2025-05-20T16:01:49.865Z","modified":"2026-08-12T03:51:33.014752280Z","summary":"ksmbd: prevent rename with empty string","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: prevent rename with empty string\n\nClient can send empty newname string to ksmbd server.\nIt will cause a kernel oops from d_alloc.\nThis patch return the error when attempting to rename\na file or directory with an empty new name string.","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf"},{"fixed":"6ee551672c8cf36108b0cfba92ec0c7c28ac3439"},{"fixed":"c57301e332cc413fe0a7294a90725f4e21e9549d"},{"fixed":"d7f2c00acb1ef64304fd40ac507e9213ff1d9b5c"},{"fixed":"53e3e5babc0963a92d856a5ec0ce92c59f54bc12"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37956.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"6.6.91"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.29"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.14.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37956.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/53e3e5babc0963a92d856a5ec0ce92c59f54bc12"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6ee551672c8cf36108b0cfba92ec0c7c28ac3439"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c57301e332cc413fe0a7294a90725f4e21e9549d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d7f2c00acb1ef64304fd40ac507e9213ff1d9b5c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37956.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37956"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37956.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}