VULNERABILITY INTELLIGENCE

CVE-2025-38191

CVSS score7.5 HIGH
EPSS probability1.42%
CISA KEVNot currently listed
Published2025-07-04
Last modified2026-07-30
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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().

Weakness classification

  • nvd@nist.gov: CWE-476

Primary references