CVE-2023-4515

ksmbd: validate command request size

MEDIUM
5.5
CVSS Score
Published: August 16, 2025 at 01:25 PM UTC
Updated: August 5, 2026 at 09:24 AM 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
MEDIUM5.5
Exploit prediction
EPSS 0.3%

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate command request size In commit 2b9b8f3b68ed ("ksmbd: validate command payload size"), except for SMB2_OPLOCK_BREAK_HE command, the request size of other commands is not checked, it's not expected. Fix it by add check for request size of other commands.

Affected

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

v ≥ 6.3.105.15.121 ≤ v < 5.15.1276.1.36 ≤ v < 6.1.466.3.10 ≤ v < 6.46.4 ≤ v < 6.4.116.4 ≤ v < 6.56.4.1 ≤ v < 6.4.112b9b8f3b68edb3d67d79962f02e26dbb5ae3808d35f450f54dca1519bb24faacd0428db09f89a11f5.15.1216.1.366.3.106.46.5 rc16.5 rc26.5 rc36.5 rc46.5 rc5768caf4019f0391c0b6452afe34cea1704133f7b9650cf70ec9d94ff34daa088b643229231723c26
Vendor states this is fixed in 595679098bdcdbfbba91ebe07a2f7f208df93870 (fixed)
Vendor states this is fixed in 5aa4fda5aa9c2a5a7bac67b4a12b089ab81fee3c (fixed)
Vendor states this is fixed in c6bef3bc30fd4a175aef846b7d928a6c40d091cd (fixed)
Vendor states this is fixed in ff7236b66d69582f90cf5616e63cfc3dc18142bb (fixed)
Vendor states this is fixed in 5.15.127 (unaffected)
Vendor states this is fixed in 6.1.46 (unaffected)
Vendor states this is fixed in 6.4 (unaffected)
Vendor states this is fixed in 6.4.11 (unaffected)
Vendor states this is fixed in 6.5 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/595679098bdcdbfbba91ebe07a2f7f208df93870
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5aa4fda5aa9c2a5a7bac67b4a12b089ab81fee3c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c6bef3bc30fd4a175aef846b7d928a6c40d091cd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ff7236b66d69582f90cf5616e63cfc3dc18142bb

CVSS

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

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

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