Review reviewHigh

CVE-2023-3865

Linux Linux, linux kernel

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.

CVSS
7.1
EPSS
0.59%
44.8% percentile
CISA KEV
Not listed
Published
2025.08.16
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.59%
Technical severityCVSS 7.1

Vulnerability overview

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 product and versions

Product
Linux Linux, linux kernel
Affected versions
>= 0626e6641f6b467447c81dd7678a69c66f7746cf < 3813eee5154d6a4c5875cb4444cb2b63bac8947f, >= 0626e6641f6b467447c81dd7678a69c66f7746cf < c86211159bc3178b891e0d60e586a32c7b6a231b, >= 0626e6641f6b467447c81dd7678a69c66f7746cf < 58a9c41064df27632e780c5a3ae3e0e4284957d1, >= 0626e6641f6b467447c81dd7678a69c66f7746cf < 5fe7f7b78290638806211046a99f031ff26164e1, >= 5.15, >= 5.15 < 5.15.121, >= 5.16 < 6.1.36, >= 6.2 < 6.3.10, 6.4
Fixed versions
5.15.121, 6.1.36, 6.3.10

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

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