- Accueil
- Vulnérabilités
- CVE-2026-72073
CVE-2026-72073
mmc: vub300: fix use-after-free on probe failure
Résumé
In the Linux kernel, the following vulnerability has been resolved: mmc: vub300: fix use-after-free on probe failure The vub300 driver lifetime-manages its controller state using vub300->kref, with vub300_delete() freeing the mmc host when the last reference is dropped. The probe error path after the inactivity timer has been armed still bypasses that lifetime rule, however, and falls through to mmc_free_host() directly if mmc_add_host() fails. The race window is between arming the inactivity timer and reaching the probe error unwind after mmc_add_host() fails: probe thread timer/workqueue ------------ --------------- kref_init(&vub300->kref) ref = 1 kref_get(&vub300->kref) ref = 2, timer ref add_timer(inactivity_timer) fires after one second | | race window |<----------------------------------------------------> | mmc_add_host(mmc) inactivity timer fires vub300_queue_dead_work() kref_get() ref = 3 queue_work(deadwork) mmc_add_host() fails timer_delete_sync() mmc_free_host(mmc) frees vub300 deadwork runs use-after-free The inactivity timeout is one second, so this would require mmc_add_host() to both fail and take more than one second to do so. This is unlikely to happen in practice, but the error path is still wrong. timer_delete_sync() only waits for the timer callback itself. It does not flush deadwork that the callback may already have queued. As a result, queued deadwork can still hold a kref while the probe error path directly frees the backing mmc host, including the vub300 storage. Fix this by using the same lifetime mechanism as disconnect. Clear vub300->interface so that the timer callback and any queued deadwork return early and drop their references, then drop the initial probe reference and return without falling through to err_free_host.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Linux (9 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Linux | de 4.9.337 (inclus) à 4.10 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 4.14.303 (inclus) à 4.15 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 4.19.270 (inclus) à 4.20 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 5.4.229 (inclus) à 5.5 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 5.10.163 (inclus) à 5.11 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 5.15.86 (inclus) à 5.16 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 6.0.16 (inclus) à 6.1 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 6.1.2 (inclus) à 6.2 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | 6.2 |
— | CNA (éditeur ou attributeur) |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1286)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1333)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1385)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1469)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1470)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1473)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1535)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1537)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1593)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1596)
Avis CERT-FR
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu (20 novembre 2026) 20 nov. 2026
- CERTFR-2026-AVI-1593 — Multiples vulnérabilités dans le noyau Linux de SUSE (20 novembre 2026) 20 nov. 2026
- CERTFR-2026-AVI-1537 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu (13 novembre 2026) 13 nov. 2026
- CERTFR-2026-AVI-1535 — Multiples vulnérabilités dans le noyau Linux de SUSE (13 novembre 2026) 13 nov. 2026
- CERTFR-2026-AVI-1473 — Multiples vulnérabilités dans le noyau Linux de Debian (06 novembre 2026) 6 nov. 2026
- CERTFR-2026-AVI-1469 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu (06 novembre 2026) 6 nov. 2026
- CERTFR-2026-AVI-1470 — Multiples vulnérabilités dans le noyau Linux de SUSE (06 novembre 2026) 6 nov. 2026
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware (26 octobre 2026) 26 oct. 2026
- CERTFR-2026-AVI-1333 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu (16 octobre 2026) 16 oct. 2026
- CERTFR-2026-AVI-1286 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu (09 octobre 2026) 9 oct. 2026
Références
- https://git.kernel.org/stable/c/5b82af744e06cd741938c3da54fdbe564a7e52d9
- https://git.kernel.org/stable/c/618cf6b139503ec18ef93ffd663396aaf99b763a
- https://git.kernel.org/stable/c/a3b5f242997a3be7404112fd48784881560aea57
- https://git.kernel.org/stable/c/face65f80c6946c631ca3490b4ebd2c016a4fd2c
- https://git.kernel.org/stable/c/6c66653dac9b25272d5fd4ed42a34aa5249e16df
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)