usb: host: max3421: Fix shift-out-of-bounds in max3421_hub_control() (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.18 % · centile 8 ()
- É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: host: max3421: Fix shift-out-of-bounds in max3421_hub_control() The `max3421_hub_control()` function handles USB hub class requests to the virtual root hub. In the `default` branches of both the `ClearPortFeature` and `SetPortFeature` switch statements, it modifies `max3421_hcd->port_status` by left shifting 1 by the request's `value` parameter. However, it does not validate whether this shift will exceed the width of `port_status`. So if a malicious userspace task with access to the root hub via /dev/bus/usb/.../001 issues a USBDEVFS_CONTROL ioctl with `wValue` greater than or equal to 32, the left shift operation invokes shift-out-of-bounds undefined behavior. This results in arbitrary bit corruption of `port_status`, including the normally-immutable change bits, which can bypass internal state checks and confuse the hub status. Fix this by rejecting requests whose `value` exceeds the shift width before performing the shift. This issue was found using a KLEE-based symbolic execution tool for kernel drivers that I'm currently developing.
Références
- https://git.kernel.org/stable/c/e5fa9d8f40746ec3447335c9642c03410f5fd3af
- https://git.kernel.org/stable/c/08b1d4cab0230697bc74c63fc4e40170a7559c54
- https://git.kernel.org/stable/c/3be5f24e8270ba53b3c814d13689bb8644c86237
- https://git.kernel.org/stable/c/d512bdefd241b98f4d7bcb5bab5614a86411fad4
- https://git.kernel.org/stable/c/00dd025324b56d39d37e57a08f473dab3a660f30
- https://git.kernel.org/stable/c/02d03c61e8a7b016956acb48e8a2512d16d87517
- https://git.kernel.org/stable/c/4da073d57176d8e1c2bca34febfbc81d2560c1a5
- https://git.kernel.org/stable/c/cff06b03b530ae1fe8a13e93a7848f2130e00fb4
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| 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 | Linux |
| 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 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2026-59382
- GCVE · GCVE-0-2026-72483
Avis du CERT-FR
- CERTFR-2026-AVI-1593 — Multiples vulnérabilités dans le noyau Linux de SUSE · 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-1470 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1469 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1333 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1286 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions affectées |
|---|---|
| Linux · Linux | affectée : ≥ 2d53139f31626bad6f8983d8e519ddde2cbba921 < e5fa9d8f40746ec3447335c9642c03410f5fd3af affectée : ≥ 2d53139f31626bad6f8983d8e519ddde2cbba921 < 08b1d4cab0230697bc74c63fc4e40170a7559c54 affectée : ≥ 2d53139f31626bad6f8983d8e519ddde2cbba921 < 3be5f24e8270ba53b3c814d13689bb8644c86237 affectée : ≥ 2d53139f31626bad6f8983d8e519ddde2cbba921 < d512bdefd241b98f4d7bcb5bab5614a86411fad4 affectée : ≥ 2d53139f31626bad6f8983d8e519ddde2cbba921 < 00dd025324b56d39d37e57a08f473dab3a660f30 affectée : ≥ 2d53139f31626bad6f8983d8e519ddde2cbba921 < 02d03c61e8a7b016956acb48e8a2512d16d87517 affectée : ≥ 2d53139f31626bad6f8983d8e519ddde2cbba921 < 4da073d57176d8e1c2bca34febfbc81d2560c1a5 affectée : ≥ 2d53139f31626bad6f8983d8e519ddde2cbba921 < cff06b03b530ae1fe8a13e93a7848f2130e00fb4 Autres versions : non affectée |
| Linux · Linux | affectée : 3.16 non affectée : ≥ 0 < 3.16 non affectée : ≥ 5.10.261 ≤ 5.10.* non affectée : ≥ 5.15.212 ≤ 5.15.* non affectée : ≥ 6.1.178 ≤ 6.1.* non affectée : ≥ 6.6.145 ≤ 6.6.* non affectée : ≥ 6.12.97 ≤ 6.12.* non affectée : ≥ 6.18.40 ≤ 6.18.* non affectée : ≥ 7.1.5 ≤ 7.1.* non affectée : ≥ 7.2 ≤ * 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 |