Stackurity Start free trial

CVEs / CVE-2023-3866

CVE-2023-3866: Linux Linux vulnerability

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.

The CVE record, via NVD · published 16 Aug 2025 · NVD status: Modified

Affected and fixed versions

As stated by the CVE record (from the CNA)
ProductAffectedFixed in
Linux Linuxfrom 0626e6641f6b467447c81dd7678a69c66f7746cf, before eb947403518ea3d93f6d89264bb1f5416bb0c7d0eb947403518ea3d93f6d89264bb1f5416bb0c7d0
Linux Linuxfrom 0626e6641f6b467447c81dd7678a69c66f7746cf, before 854156d12caa9d36de1cf5f084591c7686cc8a9d854156d12caa9d36de1cf5f084591c7686cc8a9d
Linux Linuxfrom 0626e6641f6b467447c81dd7678a69c66f7746cf, before d1066c1b3663401cd23c0d6e60cdae750ce00c0fd1066c1b3663401cd23c0d6e60cdae750ce00c0f
Linux Linuxfrom 0626e6641f6b467447c81dd7678a69c66f7746cf, before 5005bcb4219156f1bf7587b185080ec1da08518e5005bcb4219156f1bf7587b185080ec1da08518e
Linux Linux5.15—
As stated by OSV
ProductAffectedFixed in
Kernel (Linux)from 5.15.0, before 5.15.1215.15.121
Kernel (Linux)from 5.16.0, before 6.1.366.1.36
Kernel (Linux)from 6.2.0, before 6.3.106.3.10

Exploitation

Not in the CISA Known Exploited Vulnerabilities catalog as of 17 Nov 2026.

Severity

CVSS 3.15.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Scored by NVD
WeaknessCWE-476

References

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.