CVE-2021-47057

published 29 Feb 2024 · updated 11 May 2026

crypto: sun8i-ss - Fix memory leak of object d when dma_iv fails to map

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 617ec35ed51f731a593ae7274228ef2cfc9cb781, Kernel 6516cb852d704ff8d615de1f93cd443a99736c3d, Kernel 98b5ef3e97b16eaeeedb936f8bda3594ff84a70e and 1 more.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.10, >=ac2614d721dea2ff273af19c6c5d508d58a2bb3e <617ec35ed51f731a593ae7274228ef2cfc9cb781, >=ac2614d721dea2ff273af19c6c5d508d58a2bb3e <6516cb852d704ff8d615de1f93cd443a99736c3d, >=ac2614d721dea2ff273af19c6c5d508d58a2bb3e <98b5ef3e97b16eaeeedb936f8bda3594ff84a70e, >=ac2614d721dea2ff273af19c6c5d508d58a2bb3e <e1f2d739849c3239df1ea3f97d40bade4b808410617ec35ed51f731a593ae7274228ef2cfc9cb781, 6516cb852d704ff8d615de1f93cd443a99736c3d, 98b5ef3e97b16eaeeedb936f8bda3594ff84a70e, e1f2d739849c3239df1ea3f97d40bade4b808410

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47057 severity on Zeptric[![CVE-2021-47057](https://zeptric.io/badge/cve/CVE-2021-47057.svg)](https://zeptric.io/cve/CVE-2021-47057)