{"id":"CVE-2021-47253","aliases":["CVE-2021-47253"],"related":[],"kind":"vulnerability","state":"published","title":"drm/amd/display: Fix potential memory leak in DMUB hw_init","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_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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/amd/display: corrige una posible pérdida de memoria en DMUB hw_init [Por qué] Al reanudar ejecutamos DMUB hw_init que asigna memoria: dm_resume-&gt;dm_dmub_hw_init-&gt;dc_dmub_srv_create-&gt;kzalloc Eso resulta en pérdida de memoria en escenarios de suspensión/reanudación. [Cómo] Asigne memoria para el contenedor DC a DMUB solo si no se asignó antes. No es necesario reasignarlo al suspender/reanudar.","source":"nvd"}],"published":"2024-05-21T14:19:48.825Z","modified":"2026-08-11T03:17:20.087Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"8c7aea404d55dabc71df792c850aed5536ece2fd","fixed":"9e8c2af010463197315fa54a6c17e74988b5259c","status":"affected"},{"type":"git","introduced":"8c7aea404d55dabc71df792c850aed5536ece2fd","fixed":"aa000f828e60ac15d6340f606ec4a673966f5b0b","status":"affected"},{"type":"git","introduced":"8c7aea404d55dabc71df792c850aed5536ece2fd","fixed":"c5699e2d863f58221044efdc3fa712dd32d55cde","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.6","status":"unaffected"},{"type":"semver","introduced":"5.10.45","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.12.12","lastAffected":"5.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.13","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.10.45"},{"status":"affected","introduced":"5.11","fixed":"5.12.12"},{"status":"affected","version":"5.13"},{"status":"affected","version":"5.13"},{"status":"affected","version":"5.13"},{"status":"affected","version":"5.13"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/9e8c2af010463197315fa54a6c17e74988b5259c","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aa000f828e60ac15d6340f606ec4a673966f5b0b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c5699e2d863f58221044efdc3fa712dd32d55cde","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T15:39:54.495Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47253","url":"https://www.cve.org/CVERecord?id=CVE-2021-47253","licence":"CVE Terms of Use","modified":"2026-08-11T02:05:12.342Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47253","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47253","licence":"Public domain","modified":"2026-08-11T03:17:20.087Z"}],"updatedAt":"2026-11-25T22:58:08.759Z","epss":{"score":0.00305,"percentile":0.15668,"date":"2026-11-30T12:00:22.000Z"}}