CVE-2023-3865

ksmbd: fix out-of-bound read in smb2_write

HIGH
7.1
CVSS Score
Published: August 16, 2025 at 01:27 PM UTC
Updated: August 15, 2026 at 01:17 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.6%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.15 ≤ v < 5.15.1215.15 ≤ v < 6.1.365.15 ≤ v < 6.3.105.15 ≤ v < 6.45.16 ≤ v < 6.1.366.2 ≤ v < 6.3.106.4 rc16.4 rc26.4 rc36.4 rc46.4 rc56.4 rc66.4 rc7e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9
Vendor states this is fixed in 3813eee5154d6a4c5875cb4444cb2b63bac8947f (fixed)
Vendor states this is fixed in 58a9c41064df27632e780c5a3ae3e0e4284957d1 (fixed)
Vendor states this is fixed in 5fe7f7b78290638806211046a99f031ff26164e1 (fixed)
Vendor states this is fixed in c86211159bc3178b891e0d60e586a32c7b6a231b (fixed)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 5.15.121 (unaffected)
Vendor states this is fixed in 6.1.36 (unaffected)
Vendor states this is fixed in 6.3.10 (unaffected)
Vendor states this is fixed in 6.4 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3813eee5154d6a4c5875cb4444cb2b63bac8947f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/58a9c41064df27632e780c5a3ae3e0e4284957d1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5fe7f7b78290638806211046a99f031ff26164e1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c86211159bc3178b891e0d60e586a32c7b6a231b

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card