CVE-2025-37956

published 20 May 2025 · updated 30 Oct 2026

ksmbd: prevent rename with empty string

8.8HighCVSS 8.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 35e2964e93d95185d2db0c0ffd9959d0197b3956, Kernel 53e3e5babc0963a92d856a5ec0ce92c59f54bc12, Kernel 6ee551672c8cf36108b0cfba92ec0c7c28ac3439 and 2 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.15, >=0626e6641f6b467447c81dd7678a69c66f7746cf <35e2964e93d95185d2db0c0ffd9959d0197b3956, >=0626e6641f6b467447c81dd7678a69c66f7746cf <53e3e5babc0963a92d856a5ec0ce92c59f54bc12, >=0626e6641f6b467447c81dd7678a69c66f7746cf <6ee551672c8cf36108b0cfba92ec0c7c28ac3439, >=0626e6641f6b467447c81dd7678a69c66f7746cf <c57301e332cc413fe0a7294a90725f4e21e9549d, >=0626e6641f6b467447c81dd7678a69c66f7746cf <d7f2c00acb1ef64304fd40ac507e9213ff1d9b5c35e2964e93d95185d2db0c0ffd9959d0197b3956, 53e3e5babc0963a92d856a5ec0ce92c59f54bc12, 6ee551672c8cf36108b0cfba92ec0c7c28ac3439, c57301e332cc413fe0a7294a90725f4e21e9549d, d7f2c00acb1ef64304fd40ac507e9213ff1d9b5c

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-37956 severity on Zeptric[![CVE-2025-37956](https://zeptric.io/badge/cve/CVE-2025-37956.svg)](https://zeptric.io/cve/CVE-2025-37956)