Linux
ksmbd: fix Preauh_HashValue race condition
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < fbf5c0845ed15122a770bca9be1d9b60b470d3aa
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < b69fd87076daa66f3d186bd421a7b0ee0cb45829
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < edeecc7871e8fc0878d53ce286c75040a0e38f6c
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 7d7c0c5304c88bcbd7a85e9bcd61d27e998ba5fc
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 6613887da1d18dd2ecfd6c6148a873c4d903ebdc
- >= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 44a3059c4c8cc635a1fb2afd692d0730ca1ba4b6
Fixed in fbf5c0845ed15122a770bca9be1d9b60b470d3aa, b69fd87076daa66f3d186bd421a7b0ee0cb45829, edeecc7871e8fc0878d53ce286c75040a0e38f6c, 7d7c0c5304c88bcbd7a85e9bcd61d27e998ba5fc, 6613887da1d18dd2ecfd6c6148a873c4d903ebdc, 44a3059c4c8cc635a1fb2afd692d0730ca1ba4b6
- 5.15
Fixed in 0, 6.1.148, 6.6.102, 6.12.42, 6.15.10, 6.16.1, 6.17
Mitigation
Upgrade Linux to fbf5c0845ed15122a770bca9be1d9b60b470d3aa or b69fd87076daa66f3d186bd421a7b0ee0cb45829 or edeecc7871e8fc0878d53ce286c75040a0e38f6c or 7d7c0c5304c88bcbd7a85e9bcd61d27e998ba5fc or 6613887da1d18dd2ecfd6c6148a873c4d903ebdc or 44a3059c4c8cc635a1fb2afd692d0730ca1ba4b6 or later.
Upgrade Linux to 0 or 6.1.148 or 6.6.102 or 6.12.42 or 6.15.10 or 6.16.1 or 6.17 or later.
Timeline
Days relative to CVE publicationFirst public PoC 50 days after publication; not in CISA KEV. First PoC: toshithh/CVE-2025-38561 (created 8 Oct 2025, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| toshithh/CVE-2025-38561 | 8 Oct 2025 +50 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.