CVE-2025-38562
Severity CVSS v4.0:
Pending analysis
Type:
CWE-476
NULL Pointer Dereference
Publication date:
19/08/2025
Last modified:
08/01/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
ksmbd: fix null pointer dereference error in generate_encryptionkey<br />
<br />
If client send two session setups with krb5 authenticate to ksmbd,<br />
null pointer dereference error in generate_encryptionkey could happen.<br />
sess->Preauth_HashValue is set to NULL if session is valid.<br />
So this patch skip generate encryption key if session is valid.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.15 (including) | 6.1.148 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (including) | 6.6.102 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.12.42 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (including) | 6.15.10 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.16 (including) | 6.16.1 (excluding) |
| cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/015ef163d65496ae3ba6192c96140a22743f0353
- https://git.kernel.org/stable/c/2a30ed6428ce83afedca1a6c5c5c4247bcf12d0e
- https://git.kernel.org/stable/c/96a82e19434a2522525baab59c33332658bc7653
- https://git.kernel.org/stable/c/9b493ab6f35178afd8d619800df9071992f715de
- https://git.kernel.org/stable/c/9c2dbbc959e1fcc6f603a1a843e9cf743ba383bb
- https://git.kernel.org/stable/c/d79c8bebaa622ee223128be7c66d8aaeeb634a57
- https://www.zerodayinitiative.com/advisories/ZDI-25-917/
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html



