CVE-2023-4515

ksmbd: validate command request size

State
Published
Severity
9.1 Critical
Published
Aug 16, 2025
Updated
Aug 5, 2026
Reserved
Aug 24, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 35f450f54dca1519bb24faacd0428db09f89a11f to before 595679098bdcdbfbba91ebe07a2f7f208df93870Affected
  • 9650cf70ec9d94ff34daa088b643229231723c26 to before c6bef3bc30fd4a175aef846b7d928a6c40d091cdAffected
  • 2b9b8f3b68edb3d67d79962f02e26dbb5ae3808d to before ff7236b66d69582f90cf5616e63cfc3dc18142bbAffected
  • 2b9b8f3b68edb3d67d79962f02e26dbb5ae3808d to before 5aa4fda5aa9c2a5a7bac67b4a12b089ab81fee3cAffected
  • 768caf4019f0391c0b6452afe34cea1704133f7bAffected
  • 5.15.121 to before 5.15.127Affected
  • 6.1.36 to before 6.1.46Affected
  • 6.3.10 to before 6.4Affected
LinuxLinux
  • 6.4Affected
  • before 6.4Not affected
  • 5.15.127 through 5.15.*Not affected
  • 6.1.46 through 6.1.*Not affected
  • 6.4.11 through 6.4.*Not affected
  • 6.5 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.