CVE-2025-37778CWE-416

CVE-2025-37778

Critical · published May 1, 2025

CVSS v3.1
9.8
EPSS
1%
Percentile
66.4
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: Fix dangling pointer in krb_authenticate

krb_authenticate frees sess->user and does not set the pointer

to NULL. It calls ksmbd_krb5_authenticate to reinitialise

sess->user but that function may return without doing so. If

that happens then smb2_sess_setup, which calls krb_authenticate,

will be accessing free'd memory when it later uses sess->user.

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01141 · 66.4th percentile
Weakness
CWE-416 · Use After Free
Published
2025-05-01T18:15Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel≥ 5.15, < 6.1.1356.1.135
linux/linux_kernel≥ 6.2, < 6.6.886.6.88
linux/linux_kernel≥ 6.7, < 6.12.256.12.25
linux/linux_kernel≥ 6.13, < 6.14.46.14.4
linux/linux_kernelall versions—
linux/linux_kernelall versions—
debian/debian_linuxall versions—
References (7)
EPSS history
Timeline
  • 01 MAY 13:07Z
    ksmbd: Fix dangling pointer in krb_authenticate
    cvelistv5