CVE-2025-38561 in the critical feed json
ksmbd: fix Preauh_HashValue race condition
published 2025-08-19 14 mo ago modified 2026-08-05 3 mo ago also EUVD-2025-26504
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 39%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 6.1.148, 6.6.102, 6.12.42, 6.15.10, 6.16.1, 6.17
- linux Debian 12 6.1.148-1
- linux Debian 13 6.12.43-1
- linux Debian 14 6.16.3-1
debian advisories DEBIAN-CVE-2025-38561
- linux Ubuntu 22.04 LTS 5.15.0-168.178
- linux Ubuntu 24.04 LTS 6.8.0-94.96
- linux-aws Ubuntu 22.04 LTS 5.15.0-1099.106
- linux-aws Ubuntu 24.04 LTS 6.8.0-1045.47
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1099.108
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1046.49
- linux-gke Ubuntu 22.04 LTS 5.15.0-1095.101
- linux-gke Ubuntu 24.04 LTS 6.8.0-1042.47
ubuntu advisories UBUNTU-CVE-2025-38561
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- git.kernel.org/stable/c/fbf5c0845ed15122a770bca9be1d9b60b470d3aa commit
- git.kernel.org/stable/c/b69fd87076daa66f3d186bd421a7b0ee0cb45829 commit
- git.kernel.org/stable/c/edeecc7871e8fc0878d53ce286c75040a0e38f6c commit
- git.kernel.org/stable/c/7d7c0c5304c88bcbd7a85e9bcd61d27e998ba5fc commit
- git.kernel.org/stable/c/6613887da1d18dd2ecfd6c6148a873c4d903ebdc commit
- git.kernel.org/stable/c/44a3059c4c8cc635a1fb2afd692d0730ca1ba4b6 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-38561 updated
kernel: ksmbd: fix Preauh_HashValue race condition
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 13 mo ago
Exploit prediction
0.45% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CISA ADP | 3.1 | 8.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 8.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
- Technology feeds
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
-
zerodayinitiative.com
/advisories/ZDI-25-916/
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2025/10/msg00008.html
third-party-advisory
Sources
- CVE List CVE-2025-38561
- NVD CVE-2025-38561
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.