CVE-2025-37956

ksmbd: prevent rename with empty string

MEDIUM
5.5
CVSS Score
Published: May 20, 2025 at 04:01 PM UTC
Updated: October 30, 2026 at 01:17 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.4%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.15 ≤ v < 6.6.916.13 ≤ v < 6.14.76.7 ≤ v < 6.12.296.156.15 rc16.15 rc26.15 rc36.15 rc46.15 rc5626e6641f6b467447c81dd7678a69c66f7746cf
Vendor states this is fixed in 53e3e5babc0963a92d856a5ec0ce92c59f54bc12 (fixed)
Vendor states this is fixed in 6ee551672c8cf36108b0cfba92ec0c7c28ac3439 (fixed)
Vendor states this is fixed in c57301e332cc413fe0a7294a90725f4e21e9549d (fixed)
Vendor states this is fixed in d7f2c00acb1ef64304fd40ac507e9213ff1d9b5c (fixed)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 6.1.191 (unaffected)
Vendor states this is fixed in 6.12.29 (unaffected)
Vendor states this is fixed in 6.14.7 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.6.91 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card