{"id":"CVE-2023-3866","published":"2025-08-16T13:27:57Z","modified":"2026-08-05T09:09:48Z","title":"ksmbd: validate session id and tree id in the compound request","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: validate session id and tree id in the compound request\n\nThis patch validate session id and tree id in compound request.\nIf first operation in the compound is SMB2 ECHO request, ksmbd bypass\nsession and tree validation. So work->sess and work->tcon could be NULL.\nIf secound request in the compound access work->sess or tcon, It cause\nNULL pointer dereferecing error.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.21453,"percentile":0.97673,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/eb947403518ea3d93f6d89264bb1f5416bb0c7d0","tags":[]},{"url":"https://git.kernel.org/stable/c/854156d12caa9d36de1cf5f084591c7686cc8a9d","tags":[]},{"url":"https://git.kernel.org/stable/c/d1066c1b3663401cd23c0d6e60cdae750ce00c0f","tags":[]},{"url":"https://git.kernel.org/stable/c/5005bcb4219156f1bf7587b185080ec1da08518e","tags":[]}],"priority":{"score":24.8,"factors":[{"name":"EPSS percentile","points":19.53},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < eb947403518ea3d93f6d89264bb1f5416bb0c7d0",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 854156d12caa9d36de1cf5f084591c7686cc8a9d",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < d1066c1b3663401cd23c0d6e60cdae750ce00c0f",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 5005bcb4219156f1bf7587b185080ec1da08518e"]},{"vendor":"Linux","product":"Linux","versions":["5.15"]}],"summary":{"text":"The ksmbd in-kernel SMB server in the Linux kernel fails to validate the session ID and tree ID for requests inside a compound SMB2 message: when the first operation is an SMB2 ECHO request, session and tree validation is skipped, leaving the session and tree pointers NULL for subsequent requests in the compound. An unauthenticated remote attacker with network access to the SMB service can trigger a NULL pointer dereference by sending such a compound request, with no user interaction or configuration needed beyond the server being reachable.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:37:01Z"},"euvd":{"id":"EUVD-2023-44494","exploited":false,"provenance":"source"}}