CVE-2025-39692Published Sep 5, 2025 · Sep 5Updated Oct 28
smb: server: split ksmbd_rdma_stop_listening() out of ksmbd_rdma_destroy()
Linux
Medium5.5Fix 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:
smb: server: split ksmbd_rdma_stop_listening() out of ksmbd_rdma_destroy()
We can't call destroy_workqueue(smb_direct_wq); before stop_sessions()!
Otherwise already existing connections try to use smb_direct_wq as a NULL pointer.
From the CVE record · Linux
The Linux kernel’s ksmbd RDMA teardown can destroy a workqueue before stopping existing sessions. Existing connections may then try to use a NULL workqueue pointer; the input does not specify authentication requirements or user interaction.
Check systems running the Linux kernel with the ksmbd server; affected versions are not specified.