What’s Vulnerable › Vulnerabilities

CVE-2023-52441: ksmbd: fix out of bounds in init_smb2_rsp_hdr()

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.145, 6.1.53, 6.4.16. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-52441 or the next vulnerability affects your stack