CVE-2023-3865 Details
Description
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.
A vulnerability in the Linux kernel's ksmbd component allows for an out-of-bounds read during SMB2 write operations. The issue arises because the ksmbd_smb2_check_message function does not properly validate the NextCommand header. If NextCommand exceeds the combined Offset and Length of the SMB2 write, it can lead to an oversized write length, causing the out-of-bounds read.
Users can upgrade to the latest stable version of the Linux kernel where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/3813eee5154d6a4c5875cb4444cb2b63bac8947f | kernel.org | Patch |
| https://git.kernel.org/stable/c/58a9c41064df27632e780c5a3ae3e0e4284957d1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5fe7f7b78290638806211046a99f031ff26164e1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c86211159bc3178b891e0d60e586a32c7b6a231b | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.15, < 5.15.121 >= 5.16, < 6.1.36 >= 6.2, < 6.3.10 6.4 rc1 6.4 rc2 6.4 rc3 6.4 rc4 6.4 rc5 6.4 rc6 6.4 rc7 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 15, 2026 | CVE Modified | kernel.org |
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 18, 2025 | Initial Analysis | [email protected] |
| Aug 16, 2025 | New CVE Received | kernel.org |