{"id":"CVE-2025-37956","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 whe…","severity":"high","cvss":8.8,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cvssSource":"cna","vendor":"Linux","product":"Linux","affected":["Linux >= 0626e6641f6b467447c81dd7678a69c66f7746cf < 35e2964e93d95185d2db0c0ffd9959d0197b3956","Linux >= 0626e6641f6b467447c81dd7678a69c66f7746cf < 6ee551672c8cf36108b0cfba92ec0c7c28ac3439","Linux >= 0626e6641f6b467447c81dd7678a69c66f7746cf < c57301e332cc413fe0a7294a90725f4e21e9549d","Linux >= 0626e6641f6b467447c81dd7678a69c66f7746cf < d7f2c00acb1ef64304fd40ac507e9213ff1d9b5c","Linux >= 0626e6641f6b467447c81dd7678a69c66f7746cf < 53e3e5babc0963a92d856a5ec0ce92c59f54bc12","Linux 5.15"],"published":"2025-05-20","updated":"2026-10-30","sourceUpdated":"2026-10-30T12:21:28.534Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-37956","references":[{"url":"https://git.kernel.org/stable/c/35e2964e93d95185d2db0c0ffd9959d0197b3956"},{"url":"https://git.kernel.org/stable/c/6ee551672c8cf36108b0cfba92ec0c7c28ac3439"},{"url":"https://git.kernel.org/stable/c/c57301e332cc413fe0a7294a90725f4e21e9549d"},{"url":"https://git.kernel.org/stable/c/d7f2c00acb1ef64304fd40ac507e9213ff1d9b5c"},{"url":"https://git.kernel.org/stable/c/53e3e5babc0963a92d856a5ec0ce92c59f54bc12"}],"tags":["cve.org"],"epss":0.0038,"epssPercentile":0.32212,"ingestedAt":"2026-11-03T16:49:26.501Z","slug":"CVE-2025-37956","body":"## Overview\n\nIn 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.\n\n## Affected\n\n- `Linux >= 0626e6641f6b467447c81dd7678a69c66f7746cf < 35e2964e93d95185d2db0c0ffd9959d0197b3956`\n- `Linux >= 0626e6641f6b467447c81dd7678a69c66f7746cf < 6ee551672c8cf36108b0cfba92ec0c7c28ac3439`\n- `Linux >= 0626e6641f6b467447c81dd7678a69c66f7746cf < c57301e332cc413fe0a7294a90725f4e21e9549d`\n- `Linux >= 0626e6641f6b467447c81dd7678a69c66f7746cf < d7f2c00acb1ef64304fd40ac507e9213ff1d9b5c`\n- `Linux >= 0626e6641f6b467447c81dd7678a69c66f7746cf < 53e3e5babc0963a92d856a5ec0ce92c59f54bc12`\n- `Linux 5.15`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":48,"depthScoreParts":{"impact":48.4,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}