Skip to content
CVE PROGRAM SOURCE RECORD8.1 High

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 3813eee5154d6a4c5875cb4444cb2b63bac8947faffected
  • e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < c86211159bc3178b891e0d60e586a32c7b6a231baffected
  • e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 58a9c41064df27632e780c5a3ae3e0e4284957d1affected
  • e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 5fe7f7b78290638806211046a99f031ff26164e1affected

Linux Linux

Default version status: affected

  • 5.15affected
  • 0 to < 5.15unaffected
  • 5.15.121 to ≤ 5.15.*unaffected
  • 6.1.36 to ≤ 6.1.*unaffected
  • 6.3.10 to ≤ 6.3.*unaffected
  • 6.4 to ≤ *unaffected

References