CVE-2023-3865
JSON

8.1high

ksmbd: fix out-of-bound read in smb2_write

Severity
8.1high CVSS:3.1 by Linux
Exploit likelihood
0.70% (higher than 54% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 3813eee5154d6a4c5875cb4444cb2b63bac8947f, from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before c86211159bc3178b891e0d60e586a32c7b6a231b, from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 58a9c41064df27632e780c5a3ae3e0e4284957d1, from e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 5fe7f7b78290638806211046a99f031ff26164e1, 5.15
Not affected: before 5.15, from 5.15.121 up to 5.15.*, from 6.1.36 up to 6.1.*, from 6.3.10 up to 6.3.*, from 6.4 up to *
CVE List
linux linux_kernelfrom 5.15 before 5.15.121, from 5.16 before 6.1.36, from 6.2 before 6.3.10, 6.4NVD

All scores

Linux8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
NVD7.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ksmbd: se corrige una lectura fuera de los límite en smb2_write. ksmbd_smb2_check_message no valida hdr->NextCommand. Si ->NextCommand es mayor que Offset + Length de la escritura smb2, se permite una longitud de escritura smb2 sobredimensionada. Esto provoca una lectura fuera de los límite en smb2_write.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-3865 changed 2026-08-15CVE Terms of Use
NVDCVE-2023-3865 changed 2026-08-15Public domain