CVEs / CVE-2023-3866
CVE-2023-3866: Linux Linux vulnerability
- medium 5.5 CVSS 3.1 (NVD)
- EPSS 21.5% chance of exploitation in the next 30 days, higher than 97% of CVEs (17 Nov 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2023-3866
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 and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux | from 0626e6641f6b467447c81dd7678a69c66f7746cf, before eb947403518ea3d93f6d89264bb1f5416bb0c7d0 | eb947403518ea3d93f6d89264bb1f5416bb0c7d0 |
| Linux Linux | from 0626e6641f6b467447c81dd7678a69c66f7746cf, before 854156d12caa9d36de1cf5f084591c7686cc8a9d | 854156d12caa9d36de1cf5f084591c7686cc8a9d |
| Linux Linux | from 0626e6641f6b467447c81dd7678a69c66f7746cf, before d1066c1b3663401cd23c0d6e60cdae750ce00c0f | d1066c1b3663401cd23c0d6e60cdae750ce00c0f |
| Linux Linux | from 0626e6641f6b467447c81dd7678a69c66f7746cf, before 5005bcb4219156f1bf7587b185080ec1da08518e | 5005bcb4219156f1bf7587b185080ec1da08518e |
| Linux Linux | 5.15 | — |
| Product | Affected | Fixed in |
|---|---|---|
| Kernel (Linux) | from 5.15.0, before 5.15.121 | 5.15.121 |
| Kernel (Linux) | from 5.16.0, before 6.1.36 | 6.1.36 |
| Kernel (Linux) | from 6.2.0, before 6.3.10 | 6.3.10 |
Exploitation
Not in the CISA Known Exploited Vulnerabilities catalog as of 17 Nov 2026.
Severity
| CVSS 3.1 | 5.5 mediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HScored by NVD |
|---|---|
| Weakness | CWE-476 |
References
- CVE-2023-3866 on NVD
- CVE-2023-3866 on OSV
- https://git.kernel.org/stable/c/5005bcb4219156f1bf7587b185080ec1da08518e Patch
- https://git.kernel.org/stable/c/854156d12caa9d36de1cf5f084591c7686cc8a9d Patch
- https://git.kernel.org/stable/c/d1066c1b3663401cd23c0d6e60cdae750ce00c0f Patch
- https://git.kernel.org/stable/c/eb947403518ea3d93f6d89264bb1f5416bb0c7d0 Patch
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.