CVEs / CVE-2025-38562
CVE-2025-38562: Linux Linux vulnerability
- medium 5.5 CVSS 3.1 (NVD)
- EPSS 24.7% chance of exploitation in the next 30 days, higher than 97% of CVEs (20 Nov 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2025-38562
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.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux | from 0626e6641f6b467447c81dd7678a69c66f7746cf, before 922f85e6e88fdea723a26854c3a6dcb4beb8d0b9 | 922f85e6e88fdea723a26854c3a6dcb4beb8d0b9 |
| Linux Linux | from 0626e6641f6b467447c81dd7678a69c66f7746cf, before 96a82e19434a2522525baab59c33332658bc7653 | 96a82e19434a2522525baab59c33332658bc7653 |
| Linux Linux | from 0626e6641f6b467447c81dd7678a69c66f7746cf, before d79c8bebaa622ee223128be7c66d8aaeeb634a57 | d79c8bebaa622ee223128be7c66d8aaeeb634a57 |
| Linux Linux | from 0626e6641f6b467447c81dd7678a69c66f7746cf, before 2a30ed6428ce83afedca1a6c5c5c4247bcf12d0e | 2a30ed6428ce83afedca1a6c5c5c4247bcf12d0e |
| Linux Linux | from 0626e6641f6b467447c81dd7678a69c66f7746cf, before 015ef163d65496ae3ba6192c96140a22743f0353 | 015ef163d65496ae3ba6192c96140a22743f0353 |
| Linux Linux | from 0626e6641f6b467447c81dd7678a69c66f7746cf, before 9c2dbbc959e1fcc6f603a1a843e9cf743ba383bb | 9c2dbbc959e1fcc6f603a1a843e9cf743ba383bb |
| Linux Linux | from 0626e6641f6b467447c81dd7678a69c66f7746cf, before 9b493ab6f35178afd8d619800df9071992f715de | 9b493ab6f35178afd8d619800df9071992f715de |
| Linux Linux | 5.15 | — |
| Product | Affected | Fixed in |
|---|---|---|
| Kernel (Linux) | from 5.15.0, before 5.15.203 | 5.15.203 |
| Kernel (Linux) | from 5.16.0, before 6.1.148 | 6.1.148 |
| Kernel (Linux) | from 6.2.0, before 6.6.102 | 6.6.102 |
| Kernel (Linux) | from 6.7.0, before 6.12.42 | 6.12.42 |
| Kernel (Linux) | from 6.13.0, before 6.15.10 | 6.15.10 |
| Kernel (Linux) | from 6.16.0, before 6.16.1 | 6.16.1 |
Exploitation
Not in the CISA Known Exploited Vulnerabilities catalog as of 20 Nov 2026.
Severity
| CVSS 3.1 | 5.5 mediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HScored by NVD |
|---|---|
| Weakness | CWE-476 |
References
- CVE-2025-38562 on NVD
- CVE-2025-38562 on OSV
- https://git.kernel.org/stable/c/015ef163d65496ae3ba6192c96140a22743f0353 Patch
- https://git.kernel.org/stable/c/2a30ed6428ce83afedca1a6c5c5c4247bcf12d0e Patch
- https://git.kernel.org/stable/c/922f85e6e88fdea723a26854c3a6dcb4beb8d0b9
- https://git.kernel.org/stable/c/96a82e19434a2522525baab59c33332658bc7653 Patch
- https://git.kernel.org/stable/c/9b493ab6f35178afd8d619800df9071992f715de Patch
- https://git.kernel.org/stable/c/9c2dbbc959e1fcc6f603a1a843e9cf743ba383bb Patch
- https://git.kernel.org/stable/c/d79c8bebaa622ee223128be7c66d8aaeeb634a57 Patch
- https://www.zerodayinitiative.com/advisories/ZDI-25-917/ Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html Mailing List, Third Party Advisory
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.