CVE-2021-47253CWE-401

CVE-2021-47253

Medium · published May 21, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
12.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00225 · 12.5th percentile
Weakness
CWE-401 · Missing Release of Memory after Effective Lifetime
Published
2024-05-21T19:15Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel< 5.10.455.10.45
linux/linux_kernel≥ 5.11, < 5.12.125.12.12
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (6)
EPSS history
Timeline
  • 21 MAY 14:19Z
    drm/amd/display: Fix potential memory leak in DMUB hw_init
    cvelistv5