CVE-2025-37899

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in session logoff The sess->user object can currently be in use by another thread, for example if another connection has sent a session setup request to bind to the session being free'd. The handler for that connection could be in the smb2_sess_setup function which makes use of 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:6.15:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:*

History

06 Dec 2025, 22:15

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/70ad6455139e26e85f48f95d0e21f351c1909342 -
  • () https://git.kernel.org/stable/c/931dc8a3670f71c45c0b1379ea4e92dafbda1aca -

19 Nov 2025, 14:43

Type Values Removed Values Added
CWE CWE-416
CPE cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*
First Time Linux
Linux linux Kernel
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
References () https://git.kernel.org/stable/c/02d16046cd11a5c037b28c12ffb818c56dd3ef43 - () https://git.kernel.org/stable/c/02d16046cd11a5c037b28c12ffb818c56dd3ef43 - Patch
References () https://git.kernel.org/stable/c/2fc9feff45d92a92cd5f96487655d5be23fb7e2b - () https://git.kernel.org/stable/c/2fc9feff45d92a92cd5f96487655d5be23fb7e2b - Patch
References () https://git.kernel.org/stable/c/d5ec1d79509b3ee01de02c236f096bc050221b7f - () https://git.kernel.org/stable/c/d5ec1d79509b3ee01de02c236f096bc050221b7f - Patch
References () https://news.ycombinator.com/item?id=44081338 - () https://news.ycombinator.com/item?id=44081338 - Exploit, Issue Tracking, Third Party Advisory
References () https://sean.heelan.io/2025/05/22/how-i-used-o3-to-find-cve-2025-37899-a-remote-zeroday-vulnerability-in-the-linux-kernels-smb-implementation/ - () https://sean.heelan.io/2025/05/22/how-i-used-o3-to-find-cve-2025-37899-a-remote-zeroday-vulnerability-in-the-linux-kernels-smb-implementation/ - Exploit, Third Party Advisory

24 May 2025, 19:15

Type Values Removed Values Added
References
  • () https://news.ycombinator.com/item?id=44081338 -
  • () https://sean.heelan.io/2025/05/22/how-i-used-o3-to-find-cve-2025-37899-a-remote-zeroday-vulnerability-in-the-linux-kernels-smb-implementation/ -
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ksmbd: corrección del problema "use-after-free" al cerrar sesión. El objeto sess->user puede estar siendo utilizado por otro hilo, por ejemplo, si otra conexión ha enviado una solicitud de configuración de sesión para enlazarse a la sesión que se está liberando. El controlador de esa conexión podría estar en la función smb2_sess_setup, que utiliza sess->user.

20 May 2025, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-05-20 16:15

Updated : 2025-12-06 22:15


NVD link : CVE-2025-37899

Mitre link : CVE-2025-37899

CVE.ORG link : CVE-2025-37899


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free