{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-47253","id":"CVE-2021-47253","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","descriptionLong":"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.","published":"2024-05-21T14:19:48.825Z","updated":"2026-08-11T03:17:20.087Z","reserved":"2024-04-10T18:59:19.538Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8c7aea404d55dabc71df792c850aed5536ece2fd","lessThan":"9e8c2af010463197315fa54a6c17e74988b5259c","status":"affected","versionType":"git"},{"version":"8c7aea404d55dabc71df792c850aed5536ece2fd","lessThan":"aa000f828e60ac15d6340f606ec4a673966f5b0b","status":"affected","versionType":"git"},{"version":"8c7aea404d55dabc71df792c850aed5536ece2fd","lessThan":"c5699e2d863f58221044efdc3fa712dd32d55cde","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.6","status":"affected"},{"version":"0","lessThan":"5.6","status":"unaffected","versionType":"semver"},{"version":"5.10.45","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.12.12","lessThanOrEqual":"5.12.*","status":"unaffected","versionType":"semver"},{"version":"5.13","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/9e8c2af010463197315fa54a6c17e74988b5259c","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/aa000f828e60ac15d6340f606ec4a673966f5b0b","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/c5699e2d863f58221044efdc3fa712dd32d55cde","tags":["x_transferred","Patch","fix"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00225,"epssPercentile":0.13333,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-47253","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47253","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-47253","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-47253","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}