CVE-2023-3865
High
ksmbd: fix out-of-bound read in smb2_write
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.
Exploit probability
0.6%
Published
August 16, 2025
Required by
Not available
Last source change
August 17, 2026
02 / AFFECTED SOFTWARE
Affected packages
04 / EVIDENCE
Source records
Open Source Vulnerabilities
CVE-2023-3865
View original source
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.
05 / REFERENCES
Further evidence
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- https://git.kernel.org/stable/c/3813eee5154d6a4c5875cb4444cb2b63bac8947f
- https://git.kernel.org/stable/c/58a9c41064df27632e780c5a3ae3e0e4284957d1
- https://git.kernel.org/stable/c/5fe7f7b78290638806211046a99f031ff26164e1
- https://git.kernel.org/stable/c/c86211159bc3178b891e0d60e586a32c7b6a231b
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/3xxx/CVE-2023-3865.json
- https://nvd.nist.gov/vuln/detail/CVE-2023-3865