ksmbd: fix use-after-free in session logoff
Linux
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 session logoff
The sess->user object can currently be in use by another thread, for example if another connection has sent a session setup request to bind to the session being free'd. The handler for that connection could be in the smb2_sess_setup function which makes use of sess->user.
From the CVE record · Linux
The Linux kernel's ksmbd session logoff can free a session user object while another connection is using it. A concurrent session setup request that binds to the session can trigger a use-after-free; the input does not specify authentication requirements or user interaction.
Engineers running Linux kernels with ksmbd should check their versions against the vendor advisory; affected versions are not specified.