CVE Catalog

CVE-2025-38191

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
1.12%

63th percentile - higher than 63% of all known CVEs

Summary

In the Linux kernel, in ksmbd, there is a null pointer dereference in destroy_previous_session. If the client sets PreviousSessionId during Kerberos session setup, a null pointer dereference can occur because sess->user is not yet set. The patch moves calling destroy_previous_session() after ksmbd_krb5_authenticate(), where sess->user is set.

Risk Assessment

Risk of system panic or unexpected kernel behavior due to null pointer dereference, potentially leading to denial of service.

Recommendation

Apply the Linux kernel patch that moves the call to destroy_previous_session() after ksmbd_krb5_authenticate(), or update the kernel to a version containing this fix.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix null pointer dereference in destroy_previous_session If client set ->PreviousSessionId on kerberos session setup stage, NULL pointer dereference error will happen. Since sess->user is not set yet, It can pass the user argument as NULL to destroy_previous_session. sess->user will be set in ksmbd_krb5_authenticate(). So this patch move calling destroy_previous_session() after ksmbd_krb5_authenticate().

Vulnerability data from NVD (NIST) · CISA KEV · EPSS