ksmbd: fix use-after-free in ksmbd_sessions_deregister()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf · < 15a9605f8d69dc85005b1a00c31a050b8625e1aa| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix use-after-free in ksmbd_sessions_deregister()
In multichannel mode, UAF issue can occur in session_deregister when the second channel sets up a session through the connection of the first channel. session that is freed through the global session table can be accessed again through ->sessions of connection.
From the CVE record · Linux
The Linux kernel's ksmbd session deregistration has a use-after-free flaw in multichannel mode. When a second channel sets up a session through the first channel's connection, a freed session can be accessed again. The input does not specify authentication requirements, user interaction, or the resulting impact.
Engineers running Linux kernels with ksmbd should check whether their kernel is affected; affected versions are not specified.