CVE-2021-47253

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

State
Published
Severity
Not scored
Published
May 21, 2024
Updated
Aug 11, 2026
Reserved
Apr 10, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 8c7aea404d55dabc71df792c850aed5536ece2fd to before 9e8c2af010463197315fa54a6c17e74988b5259cAffected
  • 8c7aea404d55dabc71df792c850aed5536ece2fd to before aa000f828e60ac15d6340f606ec4a673966f5b0bAffected
  • 8c7aea404d55dabc71df792c850aed5536ece2fd to before c5699e2d863f58221044efdc3fa712dd32d55cdeAffected
LinuxLinux
  • 5.6Affected
  • before 5.6Not affected
  • 5.10.45 through 5.10.*Not affected
  • 5.12.12 through 5.12.*Not affected
  • 5.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.