← CVE Intelligence

CVE-2023-3865

ksmbd: fix out-of-bound read in smb2_write PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 3813eee5154d6a4c5875cb4444cb2b63bac8947f; affected e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before c86211159bc3178b891e0d60e586a32c7b6a231b; affected e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 58a9c41064df27632e780c5a3ae3e0e4284957d1; affected e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 5fe7f7b78290638806211046a99f031ff26164e1
Linux / Linuxaffected 5.15; unaffected 0 before 5.15; unaffected 5.15.121 through 5.15.*; unaffected 6.1.36 through 6.1.*; unaffected 6.3.10 through 6.3.*; unaffected 6.4 through *

CWE

No CWE identifiers supplied.

References