CVE-2025-22040 — ksmbd: fix session use-after-free in multichannel connection
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 setu…
Published: 2025-04-16 · CVSS: 8.8 · CVSS 3.1
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.
Source: CVE Program · Revision 8b16575c39f1e1810c5e863010da073d2d3285e7