# CVE-2021-47253: drm/amd/display: Fix potential memory leak in DMUB hw_init

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 16% of CVEs (2026-11-30)
- Published: 2024-05-21T14:19:48.825Z
- Modified: 2026-08-11T03:17:20.087Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 8c7aea404d55dabc71df792c850aed5536ece2fd before 9e8c2af010463197315fa54a6c17e74988b5259c; from 8c7aea404d55dabc71df792c850aed5536ece2fd before aa000f828e60ac15d6340f606ec4a673966f5b0b; from 8c7aea404d55dabc71df792c850aed5536ece2fd before c5699e2d863f58221044efdc3fa712dd32d55cde; 5.6 (not affected: before 5.6; from 5.10.45 up to 5.10.*; from 5.12.12 up to 5.12.*; from 5.13 up to *)
- linux linux_kernel: before 5.10.45; from 5.11 before 5.12.12; 5.13

## References

- <https://git.kernel.org/stable/c/9e8c2af010463197315fa54a6c17e74988b5259c> (patch)
- <https://git.kernel.org/stable/c/aa000f828e60ac15d6340f606ec4a673966f5b0b> (patch)
- <https://git.kernel.org/stable/c/c5699e2d863f58221044efdc3fa712dd32d55cde> (patch)

## Sources

- CVE List: [CVE-2021-47253](https://www.cve.org/CVERecord?id=CVE-2021-47253), CVE Terms of Use, modified 2026-08-11
- NVD: [CVE-2021-47253](https://nvd.nist.gov/vuln/detail/CVE-2021-47253), Public domain, modified 2026-08-11

---

Page: https://cve.day/CVE-2021-47253 · Whole record: https://cve.day/CVE-2021-47253.json · Rebuilt by cve.day 2026-11-25T22:58:08.759Z
