media: gspca: use vb2_video_unregister_device() on disconnect (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.22 % · centile 13 ()
- É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: media: gspca: use vb2_video_unregister_device() on disconnect gspca uses vb2_fop_release(), but gspca_disconnect() only unregisters the video device. If the queue owner closes the device after USB disconnect, vb2_fop_release() releases the queue and invokes gspca_stop_streaming() at that point. gspca_stream_off() calls subdriver stop callbacks and usb_set_interface() through gspca_dev->dev. By the time the late close runs, the USB core can have freed the usb_device, resulting in a use-after-free. This was observed as a KASAN use-after-free in sd_stopN(). Use vb2_video_unregister_device() so the queue is released and streaming is stopped synchronously during disconnect, while the usb_device is still valid. Since the helper takes the queue lock, which is usb_lock, call it after dropping that lock.
Références
- https://git.kernel.org/stable/c/aa3d73c8f24eca700a3278985b61f8a437f59805
- https://git.kernel.org/stable/c/99ce88b7439d2bb2e5da774a9c9e9c38a8b3dde5
- https://git.kernel.org/stable/c/a80e1fba874ca71f328094c8c5276e8be0f091cc
- https://git.kernel.org/stable/c/e87a2571054aad561d028fee9b85c000af022726
- https://git.kernel.org/stable/c/fda9ca3cbee24f6e48c04946a8d2f66565d2d4b2
- https://git.kernel.org/stable/c/d02a2ed057372d3739ab23d778fc4e04d3330513
- https://git.kernel.org/stable/c/f6b21af3e32f142bf3e591dbb10044c60472f716
- https://git.kernel.org/stable/c/3dbbbc3cafa2de377d9b97af4e35b8b6b5282047
Références européennes
- ENISA EUVD · EUVD-2026-130140
- GCVE · GCVE-0-2026-99469
Avis du CERT-FR
- CERTFR-2026-AVI-1676 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1639 — 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 : ≥ f729ef5796d82a95758d9edc7eea5879a3a12b25 < aa3d73c8f24eca700a3278985b61f8a437f59805 affectée : ≥ f729ef5796d82a95758d9edc7eea5879a3a12b25 < 99ce88b7439d2bb2e5da774a9c9e9c38a8b3dde5 affectée : ≥ f729ef5796d82a95758d9edc7eea5879a3a12b25 < a80e1fba874ca71f328094c8c5276e8be0f091cc affectée : ≥ f729ef5796d82a95758d9edc7eea5879a3a12b25 < e87a2571054aad561d028fee9b85c000af022726 affectée : ≥ f729ef5796d82a95758d9edc7eea5879a3a12b25 < fda9ca3cbee24f6e48c04946a8d2f66565d2d4b2 affectée : ≥ f729ef5796d82a95758d9edc7eea5879a3a12b25 < d02a2ed057372d3739ab23d778fc4e04d3330513 affectée : ≥ f729ef5796d82a95758d9edc7eea5879a3a12b25 < f6b21af3e32f142bf3e591dbb10044c60472f716 affectée : ≥ f729ef5796d82a95758d9edc7eea5879a3a12b25 < 3dbbbc3cafa2de377d9b97af4e35b8b6b5282047 Autres versions : non affectée |
| Linux · Linux | affectée : 5.10 non affectée : ≥ 0 < 5.10 non affectée : ≥ 5.10.275 ≤ 5.10.* non affectée : ≥ 5.15.226 ≤ 5.15.* non affectée : ≥ 6.1.193 ≤ 6.1.* non affectée : ≥ 6.6.163 ≤ 6.6.* non affectée : ≥ 6.12.117 ≤ 6.12.* non affectée : ≥ 6.18.61 ≤ 6.18.* non affectée : ≥ 7.3.2 ≤ 7.3.* non affectée : ≥ 7.4-rc1 ≤ * 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 |