CVE-2023-3865

Source
https://cve.org/CVERecord?id=CVE-2023-3865
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-3865.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-3865
Downstream
Published
2025-08-16T13:27:56.403Z
Modified
2026-03-20T12:28:59.333817Z
Summary
ksmbd: fix out-of-bound read in smb2_write
Details

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix out-of-bound read in smb2_write

ksmbdsmb2checkmessage 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 smb2write.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/3xxx/CVE-2023-3865.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0626e6641f6b467447c81dd7678a69c66f7746cf
Fixed
3813eee5154d6a4c5875cb4444cb2b63bac8947f
Fixed
c86211159bc3178b891e0d60e586a32c7b6a231b
Fixed
58a9c41064df27632e780c5a3ae3e0e4284957d1
Fixed
5fe7f7b78290638806211046a99f031ff26164e1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-3865.json"