CVE-2025-37956
JSON

8.8high

ksmbd: prevent rename with empty string

Severity
8.8high CVSS:3.1 by Linux
Exploit likelihood
0.39% (higher than 34% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 0626e6641f6b467447c81dd7678a69c66f7746cf before 35e2964e93d95185d2db0c0ffd9959d0197b3956, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 6ee551672c8cf36108b0cfba92ec0c7c28ac3439, from 0626e6641f6b467447c81dd7678a69c66f7746cf before c57301e332cc413fe0a7294a90725f4e21e9549d, from 0626e6641f6b467447c81dd7678a69c66f7746cf before d7f2c00acb1ef64304fd40ac507e9213ff1d9b5c, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 53e3e5babc0963a92d856a5ec0ce92c59f54bc12, 5.15
Not affected: before 5.15, from 6.1.191 up to 6.1.*, from 6.6.91 up to 6.6.*, from 6.12.29 up to 6.12.*, from 6.14.7 up to 6.14.*, from 6.15 up to *
CVE List
linux linux_kernelfrom 5.15 before 6.6.91, from 6.7 before 6.12.29, from 6.13 before 6.14.7, 6.15NVD

All scores

Linux8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ksmbd: impide renombrar con una cadena vacía. El cliente puede enviar una cadena vacía de nombre nuevo al servidor ksmbd. Esto provocará un error de kernel desde d_alloc. Este parche devuelve el error al intentar renombrar un archivo o directorio con una cadena vacía de nombre nuevo.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-37956 changed 2026-10-30CVE Terms of Use
NVDCVE-2025-37956 changed 2026-10-30Public domain