CVE-2021-47057

In the Linux kernel, the following vulnerability has been resolved: crypto: sun8i-ss - Fix memory leak of object d when dma_iv fails to map In the case where the dma_iv mapping fails, the return error path leaks the memory allocated to object d. Fix this by adding a new error return label and jumping to this to ensure d is free'd before the return. Addresses-Coverity: ("Resource leak")
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:*:*:*:*:*:*:*:*

History

19 Mar 2025, 15:57

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
First Time Linux linux Kernel
Linux
References () https://git.kernel.org/stable/c/617ec35ed51f731a593ae7274228ef2cfc9cb781 - () https://git.kernel.org/stable/c/617ec35ed51f731a593ae7274228ef2cfc9cb781 - Patch
References () https://git.kernel.org/stable/c/6516cb852d704ff8d615de1f93cd443a99736c3d - () https://git.kernel.org/stable/c/6516cb852d704ff8d615de1f93cd443a99736c3d - Patch
References () https://git.kernel.org/stable/c/98b5ef3e97b16eaeeedb936f8bda3594ff84a70e - () https://git.kernel.org/stable/c/98b5ef3e97b16eaeeedb936f8bda3594ff84a70e - Patch
References () https://git.kernel.org/stable/c/e1f2d739849c3239df1ea3f97d40bade4b808410 - () https://git.kernel.org/stable/c/e1f2d739849c3239df1ea3f97d40bade4b808410 - Patch

21 Nov 2024, 06:35

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/617ec35ed51f731a593ae7274228ef2cfc9cb781 - () https://git.kernel.org/stable/c/617ec35ed51f731a593ae7274228ef2cfc9cb781 -
References () https://git.kernel.org/stable/c/6516cb852d704ff8d615de1f93cd443a99736c3d - () https://git.kernel.org/stable/c/6516cb852d704ff8d615de1f93cd443a99736c3d -
References () https://git.kernel.org/stable/c/98b5ef3e97b16eaeeedb936f8bda3594ff84a70e - () https://git.kernel.org/stable/c/98b5ef3e97b16eaeeedb936f8bda3594ff84a70e -
References () https://git.kernel.org/stable/c/e1f2d739849c3239df1ea3f97d40bade4b808410 - () https://git.kernel.org/stable/c/e1f2d739849c3239df1ea3f97d40bade4b808410 -

06 Nov 2024, 15:35

Type Values Removed Values Added
CWE CWE-770
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5

01 Mar 2024, 14:04

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se resolvió la siguiente vulnerabilidad: crypto: sun8i-ss: corrige la pérdida de memoria del objeto d cuando dma_iv no se puede asignar. En el caso de que falle la asignación de dma_iv, la ruta de error de retorno pierde la memoria asignada al objeto d. Solucione este problema agregando una nueva etiqueta de devolución de error y saltando a ella para asegurarse de que d esté libre antes de la devolución. Direcciones-Cobertura: ("Fuga de recursos")

29 Feb 2024, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-02-29 23:15

Updated : 2025-03-19 15:57


NVD link : CVE-2021-47057

Mitre link : CVE-2021-47057

CVE.ORG link : CVE-2021-47057


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-770

Allocation of Resources Without Limits or Throttling