CVE-2025-38561

published 19 Aug 2025 · updated 5 Aug 2026

ksmbd: fix Preauh_HashValue race condition

9.8CriticalCVSS 9.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 44a3059c4c8cc635a1fb2afd692d0730ca1ba4b6, Kernel 6613887da1d18dd2ecfd6c6148a873c4d903ebdc, Kernel 7d7c0c5304c88bcbd7a85e9bcd61d27e998ba5fc and 3 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.15, >=0626e6641f6b467447c81dd7678a69c66f7746cf <44a3059c4c8cc635a1fb2afd692d0730ca1ba4b6, >=0626e6641f6b467447c81dd7678a69c66f7746cf <6613887da1d18dd2ecfd6c6148a873c4d903ebdc, >=0626e6641f6b467447c81dd7678a69c66f7746cf <7d7c0c5304c88bcbd7a85e9bcd61d27e998ba5fc, >=0626e6641f6b467447c81dd7678a69c66f7746cf <b69fd87076daa66f3d186bd421a7b0ee0cb45829, >=0626e6641f6b467447c81dd7678a69c66f7746cf <edeecc7871e8fc0878d53ce286c75040a0e38f6c, >=0626e6641f6b467447c81dd7678a69c66f7746cf <fbf5c0845ed15122a770bca9be1d9b60b470d3aa44a3059c4c8cc635a1fb2afd692d0730ca1ba4b6, 6613887da1d18dd2ecfd6c6148a873c4d903ebdc, 7d7c0c5304c88bcbd7a85e9bcd61d27e998ba5fc, b69fd87076daa66f3d186bd421a7b0ee0cb45829, edeecc7871e8fc0878d53ce286c75040a0e38f6c, fbf5c0845ed15122a770bca9be1d9b60b470d3aa

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38561 severity on Zeptric[![CVE-2025-38561](https://zeptric.io/badge/cve/CVE-2025-38561.svg)](https://zeptric.io/cve/CVE-2025-38561)