CVE-2023-3865

published 16 Aug 2025 · updated 15 Aug 2026

ksmbd: fix out-of-bound read in smb2_write

8.1HighCVSS 8.1EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 3813eee5154d6a4c5875cb4444cb2b63bac8947f, Kernel 58a9c41064df27632e780c5a3ae3e0e4284957d1, Kernel 5fe7f7b78290638806211046a99f031ff26164e1 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.15, >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <3813eee5154d6a4c5875cb4444cb2b63bac8947f, >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <58a9c41064df27632e780c5a3ae3e0e4284957d1, >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <5fe7f7b78290638806211046a99f031ff26164e1, >=e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 <c86211159bc3178b891e0d60e586a32c7b6a231b3813eee5154d6a4c5875cb4444cb2b63bac8947f, 58a9c41064df27632e780c5a3ae3e0e4284957d1, 5fe7f7b78290638806211046a99f031ff26164e1, c86211159bc3178b891e0d60e586a32c7b6a231b

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-3865 severity on Zeptric[![CVE-2023-3865](https://zeptric.io/badge/cve/CVE-2023-3865.svg)](https://zeptric.io/cve/CVE-2023-3865)