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().
Metrics
Affected Vendors & Products
References
History
Sat, 05 Jul 2025 00:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
| |
Metrics |
threat_severity
|
cvssV3_1
|
Fri, 04 Jul 2025 13:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Description | 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(). | |
Title | ksmbd: fix null pointer dereference in destroy_previous_session | |
References |
|
|

Status: PUBLISHED
Assigner: Linux
Published: 2025-07-04T13:37:15.736Z
Updated: 2025-07-07T08:46:01.117Z
Reserved: 2025-04-16T04:51:23.993Z
Link: CVE-2025-38191

No data.

Status : Awaiting Analysis
Published: 2025-07-04T14:15:26.157
Modified: 2025-07-08T16:18:53.607
Link: CVE-2025-38191
