Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2021-47253

drm/amd/display: Fix potential memory leak in DMUB hw_init

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 8c7aea404d55dabc71df792c850aed5536ece2fd to < 9e8c2af010463197315fa54a6c17e74988b5259caffected
  • 8c7aea404d55dabc71df792c850aed5536ece2fd to < aa000f828e60ac15d6340f606ec4a673966f5b0baffected
  • 8c7aea404d55dabc71df792c850aed5536ece2fd to < c5699e2d863f58221044efdc3fa712dd32d55cdeaffected

Linux Linux

Default version status: affected

  • 5.6affected
  • 0 to < 5.6unaffected
  • 5.10.45 to ≤ 5.10.*unaffected
  • 5.12.12 to ≤ 5.12.*unaffected
  • 5.13 to ≤ *unaffected

References