9.1critical
ksmbd: fix out of bounds in init_smb2_rsp_hdr()
- Severity
- 9.1critical CVSS:3.1 by Linux
- Exploit likelihood
- 0.68% (higher than 53% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix out of bounds in init_smb2_rsp_hdr() If client send smb2 negotiate request and then send smb1 negotiate request, init_smb2_rsp_hdr is called for smb1 negotiate request since need_neg is set to false. This patch ignore smb1 packets after ->need_neg is set to false.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 51a8534c0f35c0401e45f1055f914729cad98bf9 before 5c0df9d30c289d6b9d7d44e2a450de2f8e3cf40b, from 0b3ec5671ac06829ccebdaeec05acedfec327f42 before 330d900620dfc9893011d725b3620cd2ee0bc2bc, from 39b291b86b5988bf8753c3874d5c773399d09b96 before aa669ef229ae8dd779da9caa24e254964545895f, from 39b291b86b5988bf8753c3874d5c773399d09b96 before 536bb492d39bb6c080c92f31e8a55fe9934f452b, cc32cd98a0aee4cc3eb611cbce11795b1aaa738a, from 5.15.105 before 5.15.145, from 6.1.22 before 6.1.53, from 6.2.9 before 6.3 and 1 more Not affected: before 6.3, from 5.15.145 up to 5.15.*, from 6.1.53 up to 6.1.*, from 6.4.16 up to 6.4.*, from 6.5 up to * | CVE List |
| linux linux_kernel | from 5.15.0 before 5.15.145, from 5.16.0 before 6.1.53, from 6.2.0 before 6.4.16 | NVD |
All scores
| Linux | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix out of bounds in init_smb2_rsp_hdr() If client send smb2 negotiate request and then send smb1 negotiate request, init_smb2_rsp_hdr is called for smb1 negotiate request since need_neg is set to false. This patch ignore smb1 packets after ->need_neg is set to false.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: ksmbd: corrección fuera de los límites en init_smb2_rsp_hdr() Si el cliente envía una solicitud de negociación smb2 y luego envía una solicitud de negociación smb1, se llama a init_smb2_rsp_hdr para la solicitud de negociación smb1 ya que need_neg está configurado en falso. Este parche ignora los paquetes smb1 después de que ->need_neg se establece en falso.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-52441 changed 2026-08-15 | CVE Terms of Use |
| NVD | CVE-2023-52441 changed 2026-08-15 | Public domain |