{"id":"CVE-2025-37956","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.","modified":"2026-04-16T04:40:56.878394454Z","published":"2025-05-20T16:01:49.865Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37956.json","cna_assigner":"Linux"},"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"}],"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"}}],"schema_version":"1.7.5"}