What’s Vulnerable › Vulnerabilities

CVE-2025-38562: ksmbd: fix null pointer dereference error in generate_encryptionkey

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 products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.148, 6.12.42, 6.15.10, 6.16.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-38562 or the next vulnerability affects your stack