CVE-2023-3866 Details
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.
A vulnerability in the Linux kernel's ksmbd component can lead to a NULL pointer dereference. This issue arises when a compound request's first operation is an SMB2 ECHO request, causing ksmbd to skip session and tree ID validations. As a result, the session and tree connection pointers can be NULL. If a subsequent request in the compound tries to access these pointers, it triggers a NULL pointer dereferencing error.
Users can upgrade to the latest 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/5005bcb4219156f1bf7587b185080ec1da08518e | kernel.org | Patch |
| https://git.kernel.org/stable/c/854156d12caa9d36de1cf5f084591c7686cc8a9d | kernel.org | Patch |
| https://git.kernel.org/stable/c/d1066c1b3663401cd23c0d6e60cdae750ce00c0f | kernel.org | Patch |
| https://git.kernel.org/stable/c/eb947403518ea3d93f6d89264bb1f5416bb0c7d0 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [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
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| 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 |