{"id":"CVE-2025-37956","aliases":["CVE-2025-37956"],"related":[],"kind":"vulnerability","state":"published","title":"ksmbd: prevent rename with empty string","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ksmbd: impide renombrar con una cadena vacía. El cliente puede enviar una cadena vacía de nombre nuevo al servidor ksmbd. Esto provocará un error de kernel desde d_alloc. Este parche devuelve el error al intentar renombrar un archivo o directorio con una cadena vacía de nombre nuevo.","source":"nvd"}],"published":"2025-05-20T16:01:49.865Z","modified":"2026-10-30T13:17:59.040Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"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":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"35e2964e93d95185d2db0c0ffd9959d0197b3956","status":"affected"},{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"6ee551672c8cf36108b0cfba92ec0c7c28ac3439","status":"affected"},{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"c57301e332cc413fe0a7294a90725f4e21e9549d","status":"affected"},{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"d7f2c00acb1ef64304fd40ac507e9213ff1d9b5c","status":"affected"},{"type":"git","introduced":"0626e6641f6b467447c81dd7678a69c66f7746cf","fixed":"53e3e5babc0963a92d856a5ec0ce92c59f54bc12","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.91","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.29","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.14.7","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","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":"5.15","fixed":"6.6.91"},{"status":"affected","introduced":"6.7","fixed":"6.12.29"},{"status":"affected","introduced":"6.13","fixed":"6.14.7"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/35e2964e93d95185d2db0c0ffd9959d0197b3956","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6ee551672c8cf36108b0cfba92ec0c7c28ac3439","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c57301e332cc413fe0a7294a90725f4e21e9549d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d7f2c00acb1ef64304fd40ac507e9213ff1d9b5c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/53e3e5babc0963a92d856a5ec0ce92c59f54bc12","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-37956","url":"https://www.cve.org/CVERecord?id=CVE-2025-37956","licence":"CVE Terms of Use","modified":"2026-10-30T12:21:28.534Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-37956","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37956","licence":"Public domain","modified":"2026-10-30T13:17:59.040Z"}],"updatedAt":"2026-11-25T22:58:58.305Z","epss":{"score":0.00386,"percentile":0.34837,"date":"2026-12-01T12:00:22.000Z"}}