ksmbd: fix out of bounds in init_smb2_rsp_hdr() (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.68 % · percentile 52 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-119 — Improper Restriction of Operations within the Bounds of a Memory Buffer
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H | Linux |
| CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2023-57066
- GCVE · GCVE-0-2023-52441
CERT-FR advisories
- CERTFR-2024-AVI-0333 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0301 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.15.0 < 5.15.145cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16.0 < 6.1.53cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.2.0 < 6.4.16
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 51a8534c0f35c0401e45f1055f914729cad98bf9 < 5c0df9d30c289d6b9d7d44e2a450de2f8e3cf40b ; affected 0b3ec5671ac06829ccebdaeec05acedfec327f42 < 330d900620dfc9893011d725b3620cd2ee0bc2bc ; affected 39b291b86b5988bf8753c3874d5c773399d09b96 < aa669ef229ae8dd779da9caa24e254964545895f ; affected 39b291b86b5988bf8753c3874d5c773399d09b96 < 536bb492d39bb6c080c92f31e8a55fe9934f452b ; affected cc32cd98a0aee4cc3eb611cbce11795b1aaa738a ; affected 5.15.105 < 5.15.145 |
| Linux · Linux | affected 6.3 ; unaffected 0 < 6.3 ; unaffected 5.15.145 ≤ 5.15.* ; unaffected 6.1.53 ≤ 6.1.* ; unaffected 6.4.16 ≤ 6.4.* ; unaffected 6.5 ≤ * |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |