{"id":"CVE-2021-47253","title":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Fix potential memory leak in DMUB hw_init\n\n[Why]\nOn resume we perform DMUB hw_init which allocates memory:\ndm_resume->dm_dmub_hw_init->dc_dmub_srv_crea…","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Fix potential memory leak in DMUB hw_init\n\n[Why]\nOn resume we perform DMUB hw_init which allocates memory:\ndm_resume->dm_dmub_hw_init->dc_dmub_srv_crea…","severity":"medium","cvss":5.5,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","cwe":["CWE-401"],"vendor":"linux","product":"linux_kernel","affected":["linux_kernel < 5.10.45","linux_kernel >= 5.11, < 5.12.12","linux_kernel = 5.13"],"patched":["linux_kernel 5.12.12"],"published":"2024-05-21","updated":"2026-08-11","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2021-47253","references":[{"url":"https://git.kernel.org/stable/c/9e8c2af010463197315fa54a6c17e74988b5259c","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/aa000f828e60ac15d6340f606ec4a673966f5b0b","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c5699e2d863f58221044efdc3fa712dd32d55cde","label":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/9e8c2af010463197315fa54a6c17e74988b5259c","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://git.kernel.org/stable/c/aa000f828e60ac15d6340f606ec4a673966f5b0b","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://git.kernel.org/stable/c/c5699e2d863f58221044efdc3fa712dd32d55cde","label":"af854a3a-2127-422b-91ae-364da2661108"}],"tags":["nvd"],"epss":0.00225,"epssPercentile":0.1343,"ingestedAt":"2026-08-11T16:47:02.936Z","slug":"CVE-2021-47253","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Fix potential memory leak in DMUB hw_init\n\n[Why]\nOn resume we perform DMUB hw_init which allocates memory:\ndm_resume->dm_dmub_hw_init->dc_dmub_srv_create->kzalloc\nThat results in memory leak in suspend/resume scenarios.\n\n[How]\nAllocate memory for the DC wrapper to DMUB only if it was not\nallocated before.\nNo need to reallocate it on suspend/resume.\n\n## Affected\n\n- `linux_kernel < 5.10.45`\n- `linux_kernel >= 5.11, < 5.12.12`\n- `linux_kernel = 5.13`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `linux_kernel 5.12.12`","depth":"sunlit","depthScore":30,"depthScoreParts":{"impact":30.3,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}