# CVE-2023-4515: ksmbd: validate command request size

- Severity: Critical 9.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Published: 2025-08-16T13:25:50.562Z
- Modified: 2026-08-05T09:09:51.240Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 35f450f54dca1519bb24faacd0428db09f89a11f before 595679098bdcdbfbba91ebe07a2f7f208df93870; from 9650cf70ec9d94ff34daa088b643229231723c26 before c6bef3bc30fd4a175aef846b7d928a6c40d091cd; from 2b9b8f3b68edb3d67d79962f02e26dbb5ae3808d before ff7236b66d69582f90cf5616e63cfc3dc18142bb; from 2b9b8f3b68edb3d67d79962f02e26dbb5ae3808d before 5aa4fda5aa9c2a5a7bac67b4a12b089ab81fee3c; 768caf4019f0391c0b6452afe34cea1704133f7b; from 5.15.121 before 5.15.127; from 6.1.36 before 6.1.46; from 6.3.10 before 6.4; 6.4 (not affected: before 6.4; from 5.15.127 up to 5.15.*; from 6.1.46 up to 6.1.*; from 6.4.11 up to 6.4.*; from 6.5 up to *)
- linux linux_kernel: from 5.15.121 before 5.15.127; from 6.1.36 before 6.1.46; from 6.3.10 before 6.4; from 6.4.1 before 6.4.11; 6.4; 6.5

## Every score

- Linux: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/595679098bdcdbfbba91ebe07a2f7f208df93870> (patch)
- <https://git.kernel.org/stable/c/c6bef3bc30fd4a175aef846b7d928a6c40d091cd> (patch)
- <https://git.kernel.org/stable/c/ff7236b66d69582f90cf5616e63cfc3dc18142bb> (patch)
- <https://git.kernel.org/stable/c/5aa4fda5aa9c2a5a7bac67b4a12b089ab81fee3c> (patch)

## Sources

- CVE List: [CVE-2023-4515](https://www.cve.org/CVERecord?id=CVE-2023-4515), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2023-4515](https://nvd.nist.gov/vuln/detail/CVE-2023-4515), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2023-4515 · Whole record: https://cve.day/CVE-2023-4515.json · Rebuilt by cve.day 2026-11-25T22:58:34.736Z
