- Accueil
- Vulnérabilités
- CVE-2023-53514
CVE-2023-53514
gpu: host1x: Fix memory leak of device names
Résumé
In the Linux kernel, the following vulnerability has been resolved: gpu: host1x: Fix memory leak of device names The device names allocated by dev_set_name() need be freed before module unloading, but they can not be freed because the kobject's refcount which was set in device_initialize() has not be decreased to 0. As comment of device_add() says, if it fails, use only put_device() drop the refcount, then the name will be freed in kobejct_cleanup(). device_del() and put_device() can be replaced with device_unregister(), so call it to unregister the added successfully devices, and just call put_device() to the not added device. Add a release() function to device to avoid null release() function WARNING in device_release(), it's empty, because the context devices are freed together in host1x_memory_context_list_free().
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Linux (4 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Linux | 6.0 |
— | CNA (éditeur ou attributeur) |
| Linux kernel | de 6.0 (inclus) à 6.1.28 (exclu) |
— | NVD |
| Linux kernel | de 6.2 (inclus) à 6.2.15 (exclu) |
— | NVD |
| Linux kernel | de 6.3 (inclus) à 6.3.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/3ab0f5ddb761270b11d8c90b8550a59666cfc9bbPatch
- https://git.kernel.org/stable/c/55879dad0f3ae8468444b42f785ad79eac05fe5bPatch
- https://git.kernel.org/stable/c/958c6cbc32996c375af42db96ceba021a1959899Patch
- https://git.kernel.org/stable/c/dba1aeaaf3d0e2f996cb0a5609e5e85ecf405a5cPatch
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)