cve/2025/CVE-2025-38191.md
2025-09-29 21:09:30 +02:00

1.2 KiB

CVE-2025-38191

Description

In the Linux kernel, the following vulnerability has been resolved:ksmbd: fix null pointer dereference in destroy_previous_sessionIf client set ->PreviousSessionId on kerberos session setup stage,NULL pointer dereference error will happen. Since sess->user is notset 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 movecalling destroy_previous_session() after ksmbd_krb5_authenticate().

POC

Reference

No PoCs from references.

Github