What’s Vulnerable › Vulnerabilities

CVE-2023-3865: ksmbd: fix out-of-bound read in smb2_write

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix out-of-bound read in smb2_write ksmbd_smb2_check_message doesn't validate hdr->NextCommand. If ->NextCommand is bigger than Offset + Length of smb2 write, It will allow oversized smb2 write length. It will cause OOB read in smb2_write.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.121, 6.1.36, 6.3.10. Check the vendor advisory for mitigations.

References

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