CVE-2023-3866

Source
https://cve.org/CVERecord?id=CVE-2023-3866
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-3866.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-3866
Downstream
Published
2025-08-16T13:27:57.332Z
Modified
2026-03-20T12:28:59.863945Z
Summary
ksmbd: validate session id and tree id in the compound request
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/3xxx/CVE-2023-3866.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0626e6641f6b467447c81dd7678a69c66f7746cf
Fixed
eb947403518ea3d93f6d89264bb1f5416bb0c7d0
Fixed
854156d12caa9d36de1cf5f084591c7686cc8a9d
Fixed
d1066c1b3663401cd23c0d6e60cdae750ce00c0f
Fixed
5005bcb4219156f1bf7587b185080ec1da08518e

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-3866.json"