- Accueil
- Vulnérabilités
- CVE-2021-47653
CVE-2021-47653
In the Linux kernel, the following vulnerability has been resolved: media: davinci: vpif: fix use-after-free…
Résumé
In the Linux kernel, the following vulnerability has been resolved: media: davinci: vpif: fix use-after-free on driver unbind The driver allocates and registers two platform device structures during probe, but the devices were never deregistered on driver unbind. This results in a use-after-free on driver unbind as the device structures were allocated using devres and would be freed by driver core when remove() returns. Fix this by adding the missing deregistration calls to the remove() callback and failing probe on registration errors. Note that the platform device structures must be freed using a proper release callback to avoid leaking associated resources like device names.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Linux (3 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Linux kernel | de 4.13 (inclus) à 5.15.54 (exclu) |
— | NVD |
| Linux kernel | de 5.16 (inclus) à 5.16.19 (exclu) |
— | NVD |
| Linux kernel | de 5.17 (inclus) à 5.17.2 (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)
Références
- https://git.kernel.org/stable/c/43acb728bbc40169d2e2425e84a80068270974bePatch
- https://git.kernel.org/stable/c/6512c3c39cb6b573b791ce45365818a38b76afbePatch
- https://git.kernel.org/stable/c/9ffc602e14d7b9f7e7cb2f67e18dfef9ef8af676Patch
- https://git.kernel.org/stable/c/b5a3bb7f6f164eb6ee74ef4898dcd019b2063448Patch
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- NVD
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1, CNA:134c704f-9b21-4f2e-91b3-4a467353bcc0)- Faiblesse
- CWE-416 · Corruption mémoire