CVE-2025-22040
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix session use-after-free in multichannel connection
There is a race condition between session setup and
ksmbd_sessions_deregister. The session can be freed before the connection
is added to channel list of session.
This patch check reference count of session before freeing it.
More information : https://git.kernel.org/stable/c/3980770cb1470054e6400fd97668665975726737
