CVE-2023-3866
ksmbd: validate session id and tree id in the compound request
In short
A Linux kernel SMB server (ksmbd) fails to properly validate session and tree IDs when processing compound requests, which can cause the server to crash if an attacker sends specially crafted requests.
Technical detail
The vulnerability exists in ksmbd's compound request handler where initial ECHO operations bypass session and tree validation, leaving work->sess and work->tcon as NULL pointers. Subsequent operations in the same compound request may dereference these NULL pointers, causing a denial-of-service condition. Exploitation requires sending crafted SMB2 compound requests over the network.
Summary generated and translated by AI from the official description.
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: validate session id and tree id in the compound request
This patch validate session id and tree id in compound request.
If first operation in the compound is SMB2 ECHO request, ksmbd bypass
session and tree validation. So work->sess and work->tcon could be NULL.
If secound request in the compound access work->sess or tcon, It cause
NULL pointer dereferecing error.
Affected products
Linux · LinuxWant to know if your infrastructure is exposed to this?
Talk to TrueHacking →