smb/server: fix invalid pointer dereference in ksmbd_stop_durable_scavenger()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
smb/server: fix invalid pointer dereference in ksmbd_stop_durable_scavenger()
See the procedure below:
ksmbd_launch_ksmbd_durable_scavenger durable_scavenger_running = true server_conf.dh_task = kthread_run() // fail, dh_task is an ERR_PTR()
server_ctrl_handle_reset ksmbd_stop_durable_scavenger kthread_stop(server_conf.dh_task) // invalid pointer
From the CVE record · Linux
The Linux kernel SMB server can dereference an invalid pointer when stopping its durable scavenger after the scavenger thread fails to start. The input does not establish how an attacker could trigger this condition or whether network access, authentication, or user interaction is required.
Teams running Linux kernels with the ksmbd SMB server should check their versions; affected versions are not specified.