{"id":"CVE-2023-52442","published":"2024-02-21T07:21:01Z","modified":"2026-08-05T09:09:59Z","title":"ksmbd: validate session id and tree id in 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 compound request\n\n`smb2_get_msg()` in smb2_get_ksmbd_tcon() and smb2_check_user_session()\nwill always return the first request smb2 header in a compound request.\nif `SMB2_TREE_CONNECT_HE` is the first command in compound request, will\nreturn 0, i.e. The tree id check is skipped.\nThis patch use ksmbd_req_buf_next() to get current command in compound.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00784,"percentile":0.52532,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/017d85c94f02090a87f4a473dbe0d6ee0da72693","tags":[]},{"url":"https://git.kernel.org/stable/c/becb5191d1d5fdfca0198a2e37457bbbf4fe266f","tags":[]},{"url":"https://git.kernel.org/stable/c/4c2b350b2e269e3fd17bbfa42de1b42775b777ac","tags":[]},{"url":"https://git.kernel.org/stable/c/3df0411e132ee74a87aa13142dfd2b190275332e","tags":[]}],"priority":{"score":16.9,"factors":[{"name":"EPSS percentile","points":10.51},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 017d85c94f02090a87f4a473dbe0d6ee0da72693",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < becb5191d1d5fdfca0198a2e37457bbbf4fe266f",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 4c2b350b2e269e3fd17bbfa42de1b42775b777ac",">= 0626e6641f6b467447c81dd7678a69c66f7746cf, < 3df0411e132ee74a87aa13142dfd2b190275332e"]},{"vendor":"Linux","product":"Linux","versions":["5.15"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-02-21T20:10:42.657502Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-57067","exploited":false,"provenance":"source"}}