← CVE Intelligence

CVE-2025-37956

ksmbd: prevent rename with empty string PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 0626e6641f6b467447c81dd7678a69c66f7746cf before 6ee551672c8cf36108b0cfba92ec0c7c28ac3439; affected 0626e6641f6b467447c81dd7678a69c66f7746cf before c57301e332cc413fe0a7294a90725f4e21e9549d; affected 0626e6641f6b467447c81dd7678a69c66f7746cf before d7f2c00acb1ef64304fd40ac507e9213ff1d9b5c; affected 0626e6641f6b467447c81dd7678a69c66f7746cf before 53e3e5babc0963a92d856a5ec0ce92c59f54bc12
Linux / Linuxaffected 5.15; unaffected 0 before 5.15; unaffected 6.6.91 through 6.6.*; unaffected 6.12.29 through 6.12.*; unaffected 6.14.7 through 6.14.*; unaffected 6.15 through *

CWE

No CWE identifiers supplied.

References