What’s Vulnerable › Vulnerabilities
CVE-2021-47253: drm/amd/display: Fix potential memory leak in DMUB hw_init
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-21 · updated 2026-08-11
- Weakness: CWE-401
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.
Affected products
- Linux kernel: before 5.10.45; from 5.11 before 5.12.12; 5.13-rc1, 5.13-rc2, 5.13-rc3, 5.13-rc4 — fixed in 5.10.45, 5.12.12
How to fix
Upgrade to a fixed version: Linux kernel 5.10.45, 5.12.12. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/9e8c2af010463197315fa54a6c17e74988b5259c
- https://git.kernel.org/stable/c/aa000f828e60ac15d6340f606ec4a673966f5b0b
- https://git.kernel.org/stable/c/c5699e2d863f58221044efdc3fa712dd32d55cde
- https://git.kernel.org/stable/c/9e8c2af010463197315fa54a6c17e74988b5259c
- https://git.kernel.org/stable/c/aa000f828e60ac15d6340f606ec4a673966f5b0b
- https://git.kernel.org/stable/c/c5699e2d863f58221044efdc3fa712dd32d55cde
Get alerted when CVE-2021-47253 or the next vulnerability affects your stack