NULL pointer dereference in Linux

CVE-2025-38562

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.146, 96.7th percentile (scored ); up from 0.119 30 days earlier. About EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2025-38562: rose from 0.119 to 0.146.

EPSS over last 30 days · oldest: 0.119 · newest: 0.146 · change: +0.027

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 2 other repositories (ARPSyndicate/cve-scores, w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References