CVE-2024-50286Published Nov 19, 2024 · Nov 19Updated Oct 28
ksmbd: fix slab-use-after-free in ksmbd_smb2_session_create
Linux
Critical9.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix slab-use-after-free in ksmbd_smb2_session_create
There is a race condition between ksmbd_smb2_session_create and ksmbd_expire_session. This patch add missing sessions_table_lock while adding/deleting session from global session table.
From the CVE record · Linux
A race between ksmbd_smb2_session_create and ksmbd_expire_session can cause a slab use-after-free in the Linux kernel's ksmbd component. The input does not specify how an attacker could trigger the race or whether authentication or user interaction is required.
Teams running Linux kernels with ksmbd should check their versions; affected versions are not specified.