What’s Vulnerable › Vulnerabilities

CVE-2025-22041: ksmbd: fix use-after-free in ksmbd_sessions_deregister()

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in ksmbd_sessions_deregister() In multichannel mode, UAF issue can occur in session_deregister when the second channel sets up a session through the connection of the first channel. session that is freed through the global session table can be accessed again through ->sessions of connection.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.134, 6.12.13, 6.13.11, 6.14.2. Check the vendor advisory for mitigations.

References

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