{"id":"CVE-2023-4515","aliases":["CVE-2023-4515"],"related":[],"kind":"vulnerability","state":"published","title":"ksmbd: validate command request size","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: validate command request size\n\nIn commit 2b9b8f3b68ed (\"ksmbd: validate command payload size\"), except\nfor SMB2_OPLOCK_BREAK_HE command, the request size of other commands\nis not checked, it's not expected. Fix it by add check for request\nsize of other commands.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: validate command request size\n\nIn commit 2b9b8f3b68ed (\"ksmbd: validate command payload size\"), except\nfor SMB2_OPLOCK_BREAK_HE command, the request size of other commands\nis not checked, it's not expected. Fix it by add check for request\nsize of other commands.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ksmbd: validar el tamaño de la solicitud de comando. En el commit 2b9b8f3b68ed (\"ksmbd: validar el tamaño del payload del comando\"), excepto para el comando SMB2_OPLOCK_BREAK_HE, no se comprueba el tamaño de la solicitud de otros comandos, lo cual no es lo esperado. Se puede solucionar añadiendo la comprobación del tamaño de la solicitud de otros comandos.","source":"nvd"}],"published":"2025-08-16T13:25:50.562Z","modified":"2026-08-05T09:09:51.240Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"35f450f54dca1519bb24faacd0428db09f89a11f","fixed":"595679098bdcdbfbba91ebe07a2f7f208df93870","status":"affected"},{"type":"git","introduced":"9650cf70ec9d94ff34daa088b643229231723c26","fixed":"c6bef3bc30fd4a175aef846b7d928a6c40d091cd","status":"affected"},{"type":"git","introduced":"2b9b8f3b68edb3d67d79962f02e26dbb5ae3808d","fixed":"ff7236b66d69582f90cf5616e63cfc3dc18142bb","status":"affected"},{"type":"git","introduced":"2b9b8f3b68edb3d67d79962f02e26dbb5ae3808d","fixed":"5aa4fda5aa9c2a5a7bac67b4a12b089ab81fee3c","status":"affected"},{"type":"git","version":"768caf4019f0391c0b6452afe34cea1704133f7b","status":"affected"},{"type":"semver","introduced":"5.15.121","fixed":"5.15.127","status":"affected"},{"type":"semver","introduced":"6.1.36","fixed":"6.1.46","status":"affected"},{"type":"semver","introduced":"6.3.10","fixed":"6.4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.4","status":"unaffected"},{"type":"semver","introduced":"5.15.127","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.46","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.4.11","lastAffected":"6.4.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.5","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.15.121","fixed":"5.15.127"},{"status":"affected","introduced":"6.1.36","fixed":"6.1.46"},{"status":"affected","introduced":"6.3.10","fixed":"6.4"},{"status":"affected","introduced":"6.4.1","fixed":"6.4.11"},{"status":"affected","version":"6.4"},{"status":"affected","version":"6.5"},{"status":"affected","version":"6.5"},{"status":"affected","version":"6.5"},{"status":"affected","version":"6.5"},{"status":"affected","version":"6.5"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/595679098bdcdbfbba91ebe07a2f7f208df93870","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c6bef3bc30fd4a175aef846b7d928a6c40d091cd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ff7236b66d69582f90cf5616e63cfc3dc18142bb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5aa4fda5aa9c2a5a7bac67b4a12b089ab81fee3c","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-4515","url":"https://www.cve.org/CVERecord?id=CVE-2023-4515","licence":"CVE Terms of Use","modified":"2026-08-05T09:09:51.240Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-4515","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4515","licence":"Public domain","modified":"2026-08-04T10:18:26.290Z"}],"updatedAt":"2026-11-25T22:58:34.736Z","epss":{"score":0.0035,"percentile":0.30646,"date":"2026-12-01T12:00:22.000Z"}}