CVE-2025-37956Published May 20, 2025 · May 20Updated Nov 1
ksmbd: prevent rename with empty string
Linux
High8.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's ksmbd server does not reject an empty new name in a file or directory rename request. A client can send such a request and trigger a kernel oops. The input does not specify authentication requirements.
Administrators running the Linux kernel with ksmbd should check their installations; affected versions are not specified.