CVE-2023-3865Published Aug 16, 2025 · Aug 16Updated Oct 28
ksmbd: fix out-of-bound read in smb2_write
Linux
High8.1Fix 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 out-of-bound read in smb2_write
ksmbd_smb2_check_message doesn't validate hdr->NextCommand. If ->NextCommand is bigger than Offset + Length of smb2 write, It will allow oversized smb2 write length. It will cause OOB read in smb2_write.
From the CVE record · Linux
The Linux kernel's ksmbd message check does not validate the SMB2 NextCommand field. A crafted SMB2 write message can therefore cause an out-of-bounds read in smb2_write. The input does not specify authentication or user-interaction requirements.
Teams running Linux kernels with ksmbd should check whether their versions are affected; affected versions are not specified.