drm/amd/display: Fix potential memory leak in DMUB hw_init (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.22 % · percentile 13 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Analyzed
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Fix potential memory leak in DMUB hw_init [Why] On resume we perform DMUB hw_init which allocates memory: dm_resume->dm_dmub_hw_init->dc_dmub_srv_create->kzalloc That results in memory leak in suspend/resume scenarios. [How] Allocate memory for the DC wrapper to DMUB only if it was not allocated before. No need to reallocate it on suspend/resume.
Weaknesses (CWE)
- CWE-401 — Missing Release of Memory after Effective Lifetime
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| 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) |
European references
- ENISA EUVD · EUVD-2021-33901
- GCVE · GCVE-0-2021-47253
CERT-FR advisories
- CERTFR-2024-AVI-0526 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0496 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*< 5.10.45cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.12.12cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:5.13:rc4:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 8c7aea404d55dabc71df792c850aed5536ece2fd < 9e8c2af010463197315fa54a6c17e74988b5259c ; affected 8c7aea404d55dabc71df792c850aed5536ece2fd < aa000f828e60ac15d6340f606ec4a673966f5b0b ; affected 8c7aea404d55dabc71df792c850aed5536ece2fd < c5699e2d863f58221044efdc3fa712dd32d55cde |
| Linux · Linux | affected 5.6 ; unaffected 0 < 5.6 ; unaffected 5.10.45 ≤ 5.10.* ; unaffected 5.12.12 ≤ 5.12.* ; unaffected 5.13 ≤ * |
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 |