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 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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

History

13 Feb 2026, 15:52

Type Values Removed Values Added
CWE CWE-416
First Time Linux
Debian
Debian debian Linux
Linux linux Kernel
References () https://git.kernel.org/stable/c/1db2451de23e98bc864c6a6e52aa0d82c91cb325 - () https://git.kernel.org/stable/c/1db2451de23e98bc864c6a6e52aa0d82c91cb325 - Patch
References () https://git.kernel.org/stable/c/1e440d5b25b7efccb3defe542a73c51005799a5f - () https://git.kernel.org/stable/c/1e440d5b25b7efccb3defe542a73c51005799a5f - Patch
References () https://git.kernel.org/stable/c/6e30c0e10210c714f3d4453dc258d4abcc70364e - () https://git.kernel.org/stable/c/6e30c0e10210c714f3d4453dc258d4abcc70364e - Patch
References () https://git.kernel.org/stable/c/d5b554bc8d554ed6ddf443d3db2fad9f665cec10 - () https://git.kernel.org/stable/c/d5b554bc8d554ed6ddf443d3db2fad9f665cec10 - Patch
References () https://git.kernel.org/stable/c/e83e39a5f6a01a81411a4558a59a10f87aa88dd6 - () https://git.kernel.org/stable/c/e83e39a5f6a01a81411a4558a59a10f87aa88dd6 - Patch
References () https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html - () https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html - Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
CPE cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

03 Nov 2025, 20:18

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html -
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ksmbd: Se corrige el puntero colgante en krb_authenticate. krb_authenticate libera sess->user y no establece el puntero en NULL. Llama a ksmbd_krb5_authenticate para reinicializar sess->user, pero es posible que esta función no lo retorne. Si esto ocurre, smb2_sess_setup, que llama a krb_authenticate, accederá a la memoria liberada cuando utilice posteriormente sess->user.

01 May 2025, 14:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-05-01 14:15

Updated : 2026-02-13 15:52


NVD link : CVE-2025-37778

Mitre link : CVE-2025-37778

CVE.ORG link : CVE-2025-37778


JSON object : View

Products Affected

debian

  • debian_linux

linux

  • linux_kernel
CWE
CWE-416

Use After Free