CVE-2025-37924
JSON

9.8critical

ksmbd: fix use-after-free in kerberos authentication

Severity
9.8critical CVSS:3.1 by Linux
Exploit likelihood
24.5% (higher than 97% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in kerberos authentication Setting sess->user = NULL was introduced to fix the dangling pointer created by ksmbd_free_user. However, it is possible another thread could be operating on the session and make use of sess->user after it has been passed to ksmbd_free_user but before sess->user is set to NULL.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 0626e6641f6b467447c81dd7678a69c66f7746cf before e34a33d5d7e87399af0a138bb32f6a3e95dd83d2, from 0626e6641f6b467447c81dd7678a69c66f7746cf before b447463562238428503cfba1c913261047772f90, from 0626e6641f6b467447c81dd7678a69c66f7746cf before e18c616718018dfc440e4a2d2b94e28fe91b1861, from 0626e6641f6b467447c81dd7678a69c66f7746cf before 28c756738af44a404a91b77830d017bb0c525890, from 0626e6641f6b467447c81dd7678a69c66f7746cf before e86e9134e1d1c90a960dd57f59ce574d27b9a124, 5.15
Not affected: before 5.15, from 6.1.138 up to 6.1.*, from 6.6.90 up to 6.6.*, from 6.12.28 up to 6.12.*, from 6.14.6 up to 6.14.*, from 6.15 up to *
CVE List
linux linux_kernelfrom 5.15 before 6.1.138, from 6.2 before 6.6.90, from 6.7 before 6.12.28, from 6.13 before 6.14.6, 6.15NVD
debian debian_linux11.0NVD

All scores

Linux9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in kerberos authentication Setting sess->user = NULL was introduced to fix the dangling pointer created by ksmbd_free_user. However, it is possible another thread could be operating on the session and make use of sess->user after it has been passed to ksmbd_free_user but before sess->user is set to NULL.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ksmbd: corrección del use-after-free en la autenticación Kerberos. Se introdujo la configuración sess->user = NULL para corregir el puntero colgante creado por ksmbd_free_user. Sin embargo, es posible que otro hilo esté operando en la sesión y utilice sess->user después de que se haya pasado a ksmbd_free_user, pero antes de que sess->user se establezca en NULL.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-37924 changed 2026-10-15CVE Terms of Use
NVDCVE-2025-37924 changed 2026-10-15Public domain