NetSight
critical9.8

CVE-2025-37778

In the Linux kernel, the following vulnerability has been resolved: ksmbd: Fix dangling pointer in krb_authenticate krb_authenticate frees sess->user and does …

Impact

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.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 5.15 before 6.1.135
from 6.2 before 6.6.88
from 6.7 before 6.12.25
from 6.13 before 6.14.4
Version 6.15
DebianDebian Linux
Version 11.0

Weakness classification

References