tracing/histogram: Fix a potential memory leak for kstrdup() (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.21 % · centile 11 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: tracing/histogram: Fix a potential memory leak for kstrdup() kfree() is missing on an error path to free the memory allocated by kstrdup(): p = param = kstrdup(data->params[i], GFP_KERNEL); So it is better to free it via kfree(p).
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/8a8878ebb596281f50fc0b9a6e1f23f0d7f154e8
- https://git.kernel.org/stable/c/d71b06aa995007eafd247626d0669b9364c42ad7
- https://git.kernel.org/stable/c/e33fa4a46ee22de88a700e2e3d033da8214a5175
- https://git.kernel.org/stable/c/df86e2fe808c3536a9dba353cc2bebdfea00d0cf
- https://git.kernel.org/stable/c/e629e7b525a179e29d53463d992bdee759c950fb
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-53647
- GCVE · GCVE-0-2022-48768
Avis du CERT-FR
- CERTFR-2025-AVI-1057 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0693 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0578 — 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:*:*:*:*:*:*:*:*≥ 5.4.19 < 5.4.176cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.6 < 5.10.96cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.15.19cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 5.16.5cpe:2.3:o:linux:linux_kernel:5.17:rc1:*:*:*:*:*:*
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected 38b67e60b6b582e81f9db1b2e7176cbbfbd3e574 < 8a8878ebb596281f50fc0b9a6e1f23f0d7f154e8 ; affected d380dcde9a07ca5de4805dee11f58a98ec0ad6ff < d71b06aa995007eafd247626d0669b9364c42ad7 ; affected d380dcde9a07ca5de4805dee11f58a98ec0ad6ff < e33fa4a46ee22de88a700e2e3d033da8214a5175 ; affected d380dcde9a07ca5de4805dee11f58a98ec0ad6ff < df86e2fe808c3536a9dba353cc2bebdfea00d0cf ; affected d380dcde9a07ca5de4805dee11f58a98ec0ad6ff < e629e7b525a179e29d53463d992bdee759c950fb ; affected c78a2baf5e1fe1b38121d6b54bab77ccb81a1a86 |
| Linux · Linux | affected 5.6 ; unaffected 0 < 5.6 ; unaffected 5.4.176 ≤ 5.4.* ; unaffected 5.10.96 ≤ 5.10.* ; unaffected 5.15.19 ≤ 5.15.* ; unaffected 5.16.5 ≤ 5.16.* |
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 |