CVE-2025-37899

high

Description

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.

References

https://www.databreachtoday.com/linux-zero-day-vulnerability-discovered-using-frontier-ai-a-28559

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://news.ycombinator.com/item?id=44081338

https://git.kernel.org/stable/c/d5ec1d79509b3ee01de02c236f096bc050221b7f

https://git.kernel.org/stable/c/2fc9feff45d92a92cd5f96487655d5be23fb7e2b

https://git.kernel.org/stable/c/02d16046cd11a5c037b28c12ffb818c56dd3ef43

Details

Source: Mitre, NVD

Published: 2025-05-20

Updated: 2025-05-24

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 7.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High

EPSS

EPSS: 0.00017