CVEvulnerability
CVE-2021-47057
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-02-29
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-770
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")
Affected configurations
• linux linux kernel (>= 5.10 < 5.10.37)
• linux linux kernel (>= 5.11 < 5.11.21)
• linux linux kernel (>= 5.12 < 5.12.4)
Related
Weakness · CWE (1)
- CWE-770 Allocation of Resources Without Limits or Throttling weakness
References
- https://git.kernel.org/stable/c/617ec35ed51f731a593ae7274228ef2cfc9cb781 Patch
- https://git.kernel.org/stable/c/6516cb852d704ff8d615de1f93cd443a99736c3d Patch
- https://git.kernel.org/stable/c/98b5ef3e97b16eaeeedb936f8bda3594ff84a70e Patch
- https://git.kernel.org/stable/c/e1f2d739849c3239df1ea3f97d40bade4b808410 Patch
- https://git.kernel.org/stable/c/617ec35ed51f731a593ae7274228ef2cfc9cb781 Patch
- https://git.kernel.org/stable/c/6516cb852d704ff8d615de1f93cd443a99736c3d Patch
- https://git.kernel.org/stable/c/98b5ef3e97b16eaeeedb936f8bda3594ff84a70e Patch
- https://git.kernel.org/stable/c/e1f2d739849c3239df1ea3f97d40bade4b808410 Patch