Vulnerabilities · 2025 · Linux
CVE-2025-38562
Linux Kernel vulnerability
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 products
Linux Kernel, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/015ef163d65496ae3ba6192c96140a22743f0353 · Patch
- git.kernel.org/stable/c/2a30ed6428ce83afedca1a6c5c5c4247bcf12d0e · Patch
- git.kernel.org/stable/c/96a82e19434a2522525baab59c33332658bc7653 · Patch
- git.kernel.org/stable/c/9b493ab6f35178afd8d619800df9071992f715de · Patch
- git.kernel.org/stable/c/9c2dbbc959e1fcc6f603a1a843e9cf743ba383bb · Patch
- git.kernel.org/stable/c/d79c8bebaa622ee223128be7c66d8aaeeb634a57 · Patch
- www.zerodayinitiative.com/advisories/ZDI-25-917/ · Third Party Advisory
- lists.debian.org/debian-lts-announce/2025/10/msg00008.html · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2025-38562
- cve.org/CVERecord?id=CVE-2025-38562
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.