Unrated severityNVD Advisory· Published Feb 29, 2024· Updated May 4, 2025
crypto: sun8i-ss - Fix memory leak of object d when dma_iv fails to map
CVE-2021-47057
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")
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
2Patches
Vulnerability mechanics
References
4News mentions
0No linked articles in our index yet.