CVE-2025-37778

HIGH

Linux Kernel 5.15-6.1.134, 6.2-6.6.87, 6.7-6.12.24, 6.13-6.14.3 - Use-After-Free in ksmbd_krb5_authenticate

Title source: llm
STIX 2.1

Description

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.

Scores

CVSS v3 7.8
EPSS 0.0008
EPSS Percentile 22.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-416
Status published
Products (21)
debian/debian_linux 11.0
linux/Kernel 5.15.0 - 6.1.135linux
linux/Kernel 6.13.0 - 6.14.4linux
linux/Kernel 6.2.0 - 6.6.88linux
linux/Kernel 6.7.0 - 6.12.25linux
Linux/Linux < 5.15
Linux/Linux 0626e6641f6b467447c81dd7678a69c66f7746cf - 1db2451de23e98bc864c6a6e52aa0d82c91cb325
Linux/Linux 0626e6641f6b467447c81dd7678a69c66f7746cf - 1e440d5b25b7efccb3defe542a73c51005799a5f
Linux/Linux 0626e6641f6b467447c81dd7678a69c66f7746cf - 6e30c0e10210c714f3d4453dc258d4abcc70364e
Linux/Linux 0626e6641f6b467447c81dd7678a69c66f7746cf - b61f04d5d73c53d183019bafe22fb700a739bac5
... and 11 more
Published May 01, 2025
Tracked Since Feb 18, 2026