CVE-2021-47253

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc4:*:*:*:*:*:*

History

30 Dec 2024, 18:59

Type Values Removed Values Added
CWE CWE-401
First Time Linux
Linux linux Kernel
References () https://git.kernel.org/stable/c/9e8c2af010463197315fa54a6c17e74988b5259c - () https://git.kernel.org/stable/c/9e8c2af010463197315fa54a6c17e74988b5259c - Patch
References () https://git.kernel.org/stable/c/aa000f828e60ac15d6340f606ec4a673966f5b0b - () https://git.kernel.org/stable/c/aa000f828e60ac15d6340f606ec4a673966f5b0b - Patch
References () https://git.kernel.org/stable/c/c5699e2d863f58221044efdc3fa712dd32d55cde - () https://git.kernel.org/stable/c/c5699e2d863f58221044efdc3fa712dd32d55cde - Patch
CPE cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc4:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5

21 Nov 2024, 06:35

Type Values Removed Values Added
Summary
  • (es) 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->dm_dmub_hw_init->dc_dmub_srv_create->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.
References () https://git.kernel.org/stable/c/9e8c2af010463197315fa54a6c17e74988b5259c - () https://git.kernel.org/stable/c/9e8c2af010463197315fa54a6c17e74988b5259c -
References () https://git.kernel.org/stable/c/aa000f828e60ac15d6340f606ec4a673966f5b0b - () https://git.kernel.org/stable/c/aa000f828e60ac15d6340f606ec4a673966f5b0b -
References () https://git.kernel.org/stable/c/c5699e2d863f58221044efdc3fa712dd32d55cde - () https://git.kernel.org/stable/c/c5699e2d863f58221044efdc3fa712dd32d55cde -

21 May 2024, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-05-21 15:15

Updated : 2024-12-30 18:59


NVD link : CVE-2021-47253

Mitre link : CVE-2021-47253

CVE.ORG link : CVE-2021-47253


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-401

Missing Release of Memory after Effective Lifetime