usb: gadget: midi2: Fix the jack descriptor array sizes (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.20 % · centile 10 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Produits affectés
- Linux · Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: midi2: Fix the jack descriptor array sizes The jack in/out descriptor arrays in struct f_midi2_usb_config have the size of MAX_CABLES, which look reasonable -- but it turned out to be incorrect. Namely, the entries for those arrays are added from both inputs and outputs, hence for each loop cycle, it adds two, ended up with as twice as the expected size. This inconsistency may result in potential OOB when a large number of jacks are set up via configfs, although the max number of cables (the loop count) is limited to MAX_CABLES. For addressing it, correct the jack_ins & jack_outs array sizes to twice, MAX_CABLES * 2.
Références
- https://git.kernel.org/stable/c/18138d9f19cf6944ff09f5c8c0930545036fe3d0
- https://git.kernel.org/stable/c/8294ff75a9de23f7cc641e5e5ca31fa6ea72a574
- https://git.kernel.org/stable/c/87f2185423e01f113811301878f2f67eccec960d
- https://git.kernel.org/stable/c/223c3bd02a582776d8ee47dae7b69d3258420694
- https://git.kernel.org/stable/c/310c2d4608d8c1a2baa57db1dfd319c5c40cf4a1
Références européennes
- ENISA EUVD · EUVD-2026-103855
- GCVE · GCVE-0-2026-98770
Avis du CERT-FR
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1537 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1535 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions affectées |
|---|---|
| Linux · Linux | affectée : ≥ 856fa444b0982746f95e801bab0e586533eb29a3 < 18138d9f19cf6944ff09f5c8c0930545036fe3d0 affectée : ≥ 856fa444b0982746f95e801bab0e586533eb29a3 < 8294ff75a9de23f7cc641e5e5ca31fa6ea72a574 affectée : ≥ 856fa444b0982746f95e801bab0e586533eb29a3 < 87f2185423e01f113811301878f2f67eccec960d affectée : ≥ 856fa444b0982746f95e801bab0e586533eb29a3 < 223c3bd02a582776d8ee47dae7b69d3258420694 affectée : ≥ 856fa444b0982746f95e801bab0e586533eb29a3 < 310c2d4608d8c1a2baa57db1dfd319c5c40cf4a1 Autres versions : non affectée |
| Linux · Linux | affectée : 6.6 non affectée : ≥ 0 < 6.6 non affectée : ≥ 6.6.160 ≤ 6.6.* non affectée : ≥ 6.12.113 ≤ 6.12.* non affectée : ≥ 6.18.56 ≤ 6.18.* non affectée : ≥ 7.2.10 ≤ 7.2.* non affectée : ≥ 7.3 ≤ * Autres versions : affectée |
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 |