{"id":"CVE-2021-47253","state":"PUBLISHED","title":"drm/amd/display: Fix potential memory leak in DMUB hw_init","description":"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_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.","publishedAt":"2024-05-21T14:19:48.825Z","updatedAt":"2026-08-11T02:05:12.342Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8c7aea404d55dabc71df792c850aed5536ece2fd","status":"affected","lessThan":"9e8c2af010463197315fa54a6c17e74988b5259c","versionType":"git"},{"version":"8c7aea404d55dabc71df792c850aed5536ece2fd","status":"affected","lessThan":"aa000f828e60ac15d6340f606ec4a673966f5b0b","versionType":"git"},{"version":"8c7aea404d55dabc71df792c850aed5536ece2fd","status":"affected","lessThan":"c5699e2d863f58221044efdc3fa712dd32d55cde","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.6","versionType":"semver"},{"version":"5.10.45","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.12.12","status":"unaffected","lessThanOrEqual":"5.12.*","versionType":"semver"},{"version":"5.13","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"]}],"references":["https://git.kernel.org/stable/c/9e8c2af010463197315fa54a6c17e74988b5259c","https://git.kernel.org/stable/c/aa000f828e60ac15d6340f606ec4a673966f5b0b","https://git.kernel.org/stable/c/c5699e2d863f58221044efdc3fa712dd32d55cde"],"weaknesses":[],"ingestedAt":"2026-10-29T19:49:19.404Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/47xxx/CVE-2021-47253.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2021-47253","state":"PUBLISHED","datePublished":"2024-05-21T14:19:48.825Z","dateUpdated":"2026-08-11T02:05:12.342Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-04-10T18:59:19.538Z"},"containers":{"cna":{"title":"drm/amd/display: Fix potential memory leak in DMUB hw_init","descriptions":[{"lang":"en","value":"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_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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8c7aea404d55dabc71df792c850aed5536ece2fd","status":"affected","lessThan":"9e8c2af010463197315fa54a6c17e74988b5259c","versionType":"git"},{"version":"8c7aea404d55dabc71df792c850aed5536ece2fd","status":"affected","lessThan":"aa000f828e60ac15d6340f606ec4a673966f5b0b","versionType":"git"},{"version":"8c7aea404d55dabc71df792c850aed5536ece2fd","status":"affected","lessThan":"c5699e2d863f58221044efdc3fa712dd32d55cde","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.6","versionType":"semver"},{"version":"5.10.45","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.12.12","status":"unaffected","lessThanOrEqual":"5.12.*","versionType":"semver"},{"version":"5.13","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/9e8c2af010463197315fa54a6c17e74988b5259c"},{"url":"https://git.kernel.org/stable/c/aa000f828e60ac15d6340f606ec4a673966f5b0b"},{"url":"https://git.kernel.org/stable/c/c5699e2d863f58221044efdc3fa712dd32d55cde"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-11T02:05:12.342Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.6","versionEndExcluding":"5.10.45"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.6","versionEndExcluding":"5.12.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.6","versionEndExcluding":"5.13"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/9e8c2af010463197315fa54a6c17e74988b5259c","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/aa000f828e60ac15d6340f606ec4a673966f5b0b","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/c5699e2d863f58221044efdc3fa712dd32d55cde","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T05:32:08.043Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2021-47253","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T15:39:54.495894Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-11T17:33:12.019Z"}}]}}}