CVEvulnerability

CVE-2021-47057

5.5 MEDIUM Published 2024-02-29 Modified 2026-06-17 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