What’s Vulnerable › Vulnerabilities

CVE-2025-37899: ksmbd: fix use-after-free in session logoff

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.12.28, 6.14.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-37899 or the next vulnerability affects your stack