- Accueil
- Vulnérabilités
- CVE-2026-68217
CVE-2026-68217
media: pwc: Drain fill_buf on start_streaming() failure
Résumé
In the Linux kernel, the following vulnerability has been resolved: media: pwc: Drain fill_buf on start_streaming() failure pwc_isoc_init() submits its isochronous URBs with usb_submit_urb(.., GFP_KERNEL) in a loop. After the first URB is submitted, its completion handler pwc_isoc_handler() can run on another CPU before the loop finishes: start_streaming() pwc_isoc_init() usb_submit_urb(urbs[0], GFP_KERNEL) pwc_isoc_handler(urbs[0]) pdev->fill_buf = pwc_get_next_fill_buf(pdev) usb_submit_urb(urbs[i>0], ..) -> fails pwc_isoc_cleanup(pdev) /* kills URBs */ return ret; pwc_cleanup_queued_bufs(pdev, VB2_BUF_STATE_QUEUED) pwc_get_next_fill_buf() detaches a buffer from pdev->queued_bufs and stores it in pdev->fill_buf. The error path in start_streaming() only drains pdev->queued_bufs, so the buffer parked in pdev->fill_buf is leaked. vb2_start_streaming() then triggers WARN_ON(owned_by_drv_count). stop_streaming() already handles this since commit 80b0963e1698 ("[media] pwc: fix WARN_ON"), which added the fill_buf drain in the teardown path but not in the start_streaming() error path. Mirror that handling on failure so start_streaming() returns with no buffer owned by the driver. Issue identified by automated review of the INV-003 series at https://sashiko.dev/
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Linux (8 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Linux | 3.1 |
— | CNA (éditeur ou attributeur) |
| Linux kernel | de 3.1 (inclus) à 5.10.265 (exclu) |
— | NVD |
| Linux kernel | de 5.11 (inclus) à 5.15.216 (exclu) |
— | NVD |
| Linux kernel | de 5.16 (inclus) à 6.1.183 (exclu) |
— | NVD |
| Linux kernel | de 6.2 (inclus) à 6.6.148 (exclu) |
— | NVD |
| Linux kernel | de 6.7 (inclus) à 6.12.101 (exclu) |
— | NVD |
| Linux kernel | de 6.13 (inclus) à 6.18.42 (exclu) |
— | NVD |
| Linux kernel | de 6.19 (inclus) à 7.1.6 (exclu) |
— | NVD |
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-1537)
- — 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-1537 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu (13 novembre 2026) 13 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-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/5d4812668b03f823b5044789d6aa77fe56b42587Patch
- https://git.kernel.org/stable/c/906e410dcffbbd99fb4081abab817a830033aa28Patch
- https://git.kernel.org/stable/c/97f3c15957ec7e6d249f05407ad947c0644df24dPatch
- https://git.kernel.org/stable/c/9afd605dcd96c7a45f338eded1de16679b30e1dfPatch
- https://git.kernel.org/stable/c/a4afffd148991a826e8995362fb10cf8705c1130Patch
- https://git.kernel.org/stable/c/a56e7641e09bd80b976e944ae759109b86fd5b38Patch
- https://git.kernel.org/stable/c/acc789b2173070638cad89c2b61d33ed338be0ddPatch
- https://git.kernel.org/stable/c/eabe9a59640698137d7382d5b549e95dc37f7565Patch
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- NVD
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, NVD)- Faiblesse
- CWE-401 · Autre (CWE-401)