CVE-2021-47420

In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: fix a potential ttm->sg memory leak Memory is allocated for ttm->sg by kmalloc in kfd_mem_dmamap_userptr, but isn't freed by kfree in kfd_mem_dmaunmap_userptr. Free it!
Configurations

Configuration 1 (hide)

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

History

30 Dec 2024, 19:37

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

21 Nov 2024, 06:36

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/7e5ce6029b627efb4a004746cfdc1eeff850e6eb - () https://git.kernel.org/stable/c/7e5ce6029b627efb4a004746cfdc1eeff850e6eb -
References () https://git.kernel.org/stable/c/b072ef1215aca33186e3a10109e872e528a9e516 - () https://git.kernel.org/stable/c/b072ef1215aca33186e3a10109e872e528a9e516 -
Summary
  • (es) En el kernel de Linux, se resolvió la siguiente vulnerabilidad: drm/amdkfd: soluciona una posible pérdida de memoria de ttm->sg. La memoria se asigna para ttm->sg mediante kmalloc en kfd_mem_dmamap_userptr, pero kfree no la libera en kfd_mem_dmaunmap_userptr. ¡Libérala!

21 May 2024, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-05-21 15:15

Updated : 2024-12-30 19:37


NVD link : CVE-2021-47420

Mitre link : CVE-2021-47420

CVE.ORG link : CVE-2021-47420


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-401

Missing Release of Memory after Effective Lifetime