CVE-2025-38561
JSON

9.8critical

ksmbd: fix Preauh_HashValue race condition

Severity
9.8critical CVSS:3.1 by Linux
Exploit likelihood
0.54% (higher than 46% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 0626e6641f6b467447c81dd7678a69c66f7746cf before fbf5c0845ed15122a770bca9be1d9b60b470d3aa, from 0626e6641f6b467447c81dd7678a69c66f7746cf before b69fd87076daa66f3d186bd421a7b0ee0cb45829, from 0626e6641f6b467447c81dd7678a69c66f7746cf before edeecc7871e8fc0878d53ce286c75040a0e38f6c, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 7d7c0c5304c88bcbd7a85e9bcd61d27e998ba5fc, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 6613887da1d18dd2ecfd6c6148a873c4d903ebdc, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 44a3059c4c8cc635a1fb2afd692d0730ca1ba4b6, 5.15
Not affected: before 5.15, from 6.1.148 up to 6.1.*, from 6.6.102 up to 6.6.*, from 6.12.42 up to 6.12.*, from 6.15.10 up to 6.15.*, from 6.16.1 up to 6.16.*
CVE List
linux linux_kernelfrom 5.15 before 6.1.148, from 6.2 before 6.6.102, from 6.7 before 6.12.42, from 6.13 before 6.15.10, from 6.16 before 6.16.1NVD
debian debian_linux11.0NVD

All scores

Linux9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA-ADP8.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD4.7medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-362

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ksmbd: se corrige la condición de ejecución Preauh_HashValue. Si el cliente envía varias solicitudes de configuración de sesión a ksmbd, podría producirse la condición de ejecución Preauh_HashValue. No es necesario liberar sess->Preauh_HashValue durante la configuración de la sesión. Se puede liberar junto con la sesión al finalizar la conexión.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-38561 changed 2026-08-05CVE Terms of Use
NVDCVE-2025-38561 changed 2026-07-30Public domain