CVE-2025-37926Published May 20, 2025 · May 20Updated Oct 28
ksmbd: fix use-after-free in ksmbd_session_rpc_open
Linux
High8.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix use-after-free in ksmbd_session_rpc_open
A UAF issue can occur due to a race condition between ksmbd_session_rpc_open() and __session_rpc_close(). Add rpc_lock to the session to protect it.
From the CVE record · Linux
The Linux kernel’s ksmbd component has a use-after-free vulnerability caused by a race between session RPC open and close operations. The issue can occur when those operations run concurrently; the input does not specify attacker access requirements or what an attacker could achieve.
Teams running Linux kernels with ksmbd should check whether their kernel is affected; no affected versions were provided.