CVE-2021-47057
kernel: crypto: sun8i-ss - Fix memory leak of object d when dma_iv fails to map
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · February 29, 2024
Updated · November 21, 2025
Description
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")
Statement
Red Hat Enterprise Linux 8 and 9 are not affected by this vulnerability.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 2.3CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L
CWE-402 · Transmission of Private Resources into a New Sphere ('Resource Leak')