Out-of-bounds vulnerability in ksmbd's init_smb2_rsp_hdr() function

Out-of-bounds vulnerability in ksmbd's init_smb2_rsp_hdr() function

CVE-2023-52441 · HIGH Severity

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix out of bounds in init_smb2_rsp_hdr() If client send smb2 negotiate request and then send smb1 negotiate request, init_smb2_rsp_hdr is called for smb1 negotiate request since need_neg is set to false. This patch ignore smb1 packets after ->need_neg is set to false.

Learn more about our Cis Benchmark Audit For Distribution Independent Linux.