CVE-2025-38562 Details
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix null pointer dereference error in generate_encryptionkey If client send two session setups with krb5 authenticate to ksmbd, null pointer dereference error in generate_encryptionkey could happen. sess->Preauth_HashValue is set to NULL if session is valid. So this patch skip generate encryption key if session is valid.
A null pointer dereference vulnerability has been identified in the Linux kernel's ksmbd component, specifically within the encryption key generation process. This issue arises when a client sends two session setups using Kerberos authentication, which can lead to a null pointer dereference error. The vulnerability is present in several versions of the Linux kernel.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/015ef163d65496ae3ba6192c96140a22743f0353 | kernel.org | Patch |
| https://git.kernel.org/stable/c/2a30ed6428ce83afedca1a6c5c5c4247bcf12d0e | kernel.org | Patch |
| https://git.kernel.org/stable/c/922f85e6e88fdea723a26854c3a6dcb4beb8d0b9 | kernel.org | |
| https://git.kernel.org/stable/c/96a82e19434a2522525baab59c33332658bc7653 | kernel.org | Patch |
| https://git.kernel.org/stable/c/9b493ab6f35178afd8d619800df9071992f715de | kernel.org | Patch |
| https://git.kernel.org/stable/c/9c2dbbc959e1fcc6f603a1a843e9cf743ba383bb | kernel.org | Patch |
| https://git.kernel.org/stable/c/d79c8bebaa622ee223128be7c66d8aaeeb634a57 | kernel.org | Patch |
| https://www.zerodayinitiative.com/advisories/ZDI-25-917/ | kernel.org | Mailing ListThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html | CVE | Mailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.15, < 6.1.148 >= 6.2, < 6.6.102 >= 6.7, < 6.12.42 >= 6.13, < 6.15.10 >= 6.16, < 6.16.1 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Apr 18, 2026 | CVE Modified | kernel.org |
| Jan 8, 2026 | Initial Analysis | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Oct 10, 2025 | CVE Modified | kernel.org |
| Aug 19, 2025 | New CVE Received | kernel.org |