{"id":"CVE-2023-52441","summary":"ksmbd: fix out of bounds in init_smb2_rsp_hdr()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix out of bounds in init_smb2_rsp_hdr()\n\nIf client send smb2 negotiate request and then send smb1 negotiate\nrequest, init_smb2_rsp_hdr is called for smb1 negotiate request since\nneed_neg is set to false. This patch ignore smb1 packets after -\u003eneed_neg\nis set to false.","modified":"2026-05-18T05:55:32.442058797Z","published":"2024-02-21T07:21:01.075Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52441.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/330d900620dfc9893011d725b3620cd2ee0bc2bc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/536bb492d39bb6c080c92f31e8a55fe9934f452b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5c0df9d30c289d6b9d7d44e2a450de2f8e3cf40b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aa669ef229ae8dd779da9caa24e254964545895f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52441.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52441"},{"type":"PACKAGE","url":"https://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":"5c0df9d30c289d6b9d7d44e2a450de2f8e3cf40b"},{"fixed":"330d900620dfc9893011d725b3620cd2ee0bc2bc"},{"fixed":"aa669ef229ae8dd779da9caa24e254964545895f"},{"fixed":"536bb492d39bb6c080c92f31e8a55fe9934f452b"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52441.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"5.15.145"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.53"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.4.16"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52441.json"}}],"schema_version":"1.7.5"}