Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.23 % · centile 13 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj kobject_init_and_add() takes reference even when it fails. According to the doc of kobject_init_and_add(): If this function returns an error, kobject_put() must be called to properly clean up the memory associated with the object. Fix memory leak by calling kobject_put().
Faiblesses (CWE)
- CWE-401 — Mémoire non libérée après sa durée de vie utile
Références
- https://git.kernel.org/stable/c/417947891bd5ae327f15efed1a0da2b12ef24962
- https://git.kernel.org/stable/c/fe595759c2a4a5bb41c438474f15947d8ae32f5c
- https://git.kernel.org/stable/c/91d8866ca55232d21995a3d54fac96de33c9e20c
- https://git.kernel.org/stable/c/c377e2ba78d3fe9a1f0b4ec424e75f81da7e81e9
- https://git.kernel.org/stable/c/92e25b637cd4e010f776c86e4810300e773eac5c
- https://git.kernel.org/stable/c/8bc69f86328e87a0ffa79438430cc82f3aa6a194
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
Références européennes
- ENISA EUVD · EUVD-2022-53654
- GCVE · GCVE-0-2022-48775
Avis du CERT-FR
- CERTFR-2024-AVI-0800 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0779 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0717 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0693 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.15 < 4.19.231cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.20 < 5.4.181cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.5 < 5.10.102cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.15.25cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 5.16.11
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected c2e5df616e1ae6c2a074cb241ebb65a318ebaf7c < 417947891bd5ae327f15efed1a0da2b12ef24962 ; affected c2e5df616e1ae6c2a074cb241ebb65a318ebaf7c < fe595759c2a4a5bb41c438474f15947d8ae32f5c ; affected c2e5df616e1ae6c2a074cb241ebb65a318ebaf7c < 91d8866ca55232d21995a3d54fac96de33c9e20c ; affected c2e5df616e1ae6c2a074cb241ebb65a318ebaf7c < c377e2ba78d3fe9a1f0b4ec424e75f81da7e81e9 ; affected c2e5df616e1ae6c2a074cb241ebb65a318ebaf7c < 92e25b637cd4e010f776c86e4810300e773eac5c ; affected c2e5df616e1ae6c2a074cb241ebb65a318ebaf7c < 8bc69f86328e87a0ffa79438430cc82f3aa6a194 |
| Linux · Linux | affected 4.15 ; unaffected 0 < 4.15 ; unaffected 4.19.231 ≤ 4.19.* ; unaffected 5.4.181 ≤ 5.4.* ; unaffected 5.10.102 ≤ 5.10.* ; unaffected 5.15.25 ≤ 5.15.* |
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 |