CVE-2025-38561

ksmbd: fix Preauh_HashValue race condition

MEDIUM
4.7
CVSS Score
Published: August 19, 2025 at 05:02 PM UTC
Updated: August 5, 2026 at 12:44 PM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.7
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.15 ≤ v < 6.1.1485.15 ≤ v < 6.12.425.15 ≤ v < 6.15.105.15 ≤ v < 6.16.15.15 ≤ v < 6.175.15 ≤ v < 6.6.1026.13 ≤ v < 6.15.106.16 ≤ v < 6.16.16.2 ≤ v < 6.6.1026.7 ≤ v < 6.12.425.15626e6641f6b467447c81dd7678a69c66f7746cf
Vendor states this is fixed in 44a3059c4c8cc635a1fb2afd692d0730ca1ba4b6 (fixed)
Vendor states this is fixed in 6613887da1d18dd2ecfd6c6148a873c4d903ebdc (fixed)
Vendor states this is fixed in 7d7c0c5304c88bcbd7a85e9bcd61d27e998ba5fc (fixed)
Vendor states this is fixed in b69fd87076daa66f3d186bd421a7b0ee0cb45829 (fixed)
Vendor states this is fixed in edeecc7871e8fc0878d53ce286c75040a0e38f6c (fixed)
Vendor states this is fixed in fbf5c0845ed15122a770bca9be1d9b60b470d3aa (fixed)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 6.1.148 (unaffected)
Vendor states this is fixed in 6.12.42 (unaffected)
Vendor states this is fixed in 6.15.10 (unaffected)
Vendor states this is fixed in 6.16.1 (unaffected)
Vendor states this is fixed in 6.17 (unaffected)
Vendor states this is fixed in 6.6.102 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/44a3059c4c8cc635a1fb2afd692d0730ca1ba4b6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6613887da1d18dd2ecfd6c6148a873c4d903ebdc
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7d7c0c5304c88bcbd7a85e9bcd61d27e998ba5fc
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b69fd87076daa66f3d186bd421a7b0ee0cb45829
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/edeecc7871e8fc0878d53ce286c75040a0e38f6c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fbf5c0845ed15122a770bca9be1d9b60b470d3aa
Third Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-362

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card