What’s Vulnerable › Vulnerabilities
CVE-2025-37956: ksmbd: prevent rename with empty string
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-05-20 · updated 2026-10-30
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: prevent rename with empty string Client can send empty newname string to ksmbd server. It will cause a kernel oops from d_alloc. This patch return the error when attempting to rename a file or directory with an empty new name string.
Affected products
- Linux kernel: from 5.15 before 6.6.91; from 6.7 before 6.12.29; from 6.13 before 6.14.7; 6.15-rc1, 6.15-rc2, 6.15-rc3, 6.15-rc4, 6.15-rc5 — fixed in 6.6.91, 6.12.29, 6.14.7
- Linux: 5.15 — fixed in 6.15
How to fix
Upgrade to a fixed version: Linux kernel 6.6.91, 6.12.29, 6.14.7; Linux 6.15. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/35e2964e93d95185d2db0c0ffd9959d0197b3956
- https://git.kernel.org/stable/c/53e3e5babc0963a92d856a5ec0ce92c59f54bc12
- https://git.kernel.org/stable/c/6ee551672c8cf36108b0cfba92ec0c7c28ac3439
- https://git.kernel.org/stable/c/c57301e332cc413fe0a7294a90725f4e21e9549d
- https://git.kernel.org/stable/c/d7f2c00acb1ef64304fd40ac507e9213ff1d9b5c
Get alerted when CVE-2025-37956 or the next vulnerability affects your stack