Vulnerability in Linux
CVE-2025-38561
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix Preauh_HashValue race condition
If client send multiple session setup requests to ksmbd,
Preauh_HashValue race condition could happen.
There is no need to free sess->Preauh_HashValue at session setup phase.
It can be freed together with session at connection termination phase.
Vulnerability class: Race Condition
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.005, 43.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 0626e6641f6b467447c81dd7678a69c66f7746cf, 5.15, 0
- Linux Kernel
- Debian Linux — versions 11.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- toshithh/CVE-2025-38561 (last pushed 2025-10-09): ksmbd: Preauh_HashValue race condition If client send multiple session setup requests to ksmbd, Preauh_HashValue race condition could happen.
Also mentioned in 4 other repositories (ARPSyndicate/cve-scores, nomi-sec/PoC-in-GitHub, thexnumb/thexwriteup, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/fbf5c0845ed15122a770bca9be1d9b60b470d3aa (Patch)
- git.kernel.org/stable/c/b69fd87076daa66f3d186bd421a7b0ee0cb45829 (Patch)
- git.kernel.org/stable/c/edeecc7871e8fc0878d53ce286c75040a0e38f6c (Patch)
- git.kernel.org/stable/c/7d7c0c5304c88bcbd7a85e9bcd61d27e998ba5fc (Patch)
- git.kernel.org/stable/c/6613887da1d18dd2ecfd6c6148a873c4d903ebdc (Patch)
- git.kernel.org/stable/c/44a3059c4c8cc635a1fb2afd692d0730ca1ba4b6 (Patch)
- www.zerodayinitiative.com/advisories/ZDI-25-916/ (Third Party Advisory)
- lists.debian.org/debian-lts-announce/2025/10/msg00008.html (Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.