LiveActive security incident?Get immediate response
CVE Record

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

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

MediumCVSS 5.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This is a Linux kernel memory leak in the sun8i-ss crypto driver. A local authenticated user could trigger a failed DMA mapping path that leaks memory, potentially degrading availability. The sources do not indicate data theft, integrity loss, remote access, or active exploitation.

Executive priority

Treat this as a moderate operational reliability issue. It is not evidenced as remotely exploitable or actively exploited, but affected embedded or ARM Linux systems could suffer availability degradation. Patch through normal kernel maintenance, with higher urgency for systems relying on sun8i crypto hardware.

Technical view

The vulnerable error path occurs when dma_iv mapping fails in the sun8i-ss crypto code. Memory allocated for object d was not freed before returning. The upstream fix adds an error label so the allocation is freed on this failure path. CVSS 3.1 is 5.5, local, low complexity, low privileges, availability impact only.

Likely exposure

Exposure is most relevant to Linux systems running affected kernels with the sun8i-ss crypto driver or supported Allwinner sun8i hardware path present. The bundle identifies Linux kernel versions around 5.10 through 5.13 as affected, but distribution backports may change practical exposure.

Exploitation context

No active exploitation is supported by the provided sources. The CVE is not marked KEV, and the cited material describes a resource leak found through Coverity rather than a public exploit. Abuse would require local low-privilege access and impact availability, not confidentiality or integrity.

Researcher notes

The source evidence is narrow: a kernel memory leak on a dma_iv mapping failure path, classified under CWE-770. The most useful validation is version and driver exposure mapping. Do not assume all Linux systems are affected; practical risk depends on kernel build, hardware, and distro backports.

Mitigation direction

  • Update affected Linux kernels using vendor packages that include the referenced stable fixes.
  • Prioritize systems with Allwinner sun8i crypto accelerator support or the sun8i-ss driver enabled.
  • If immediate updating is unavailable, follow Linux distribution or vendor mitigation guidance.
  • Track kernel and distro advisories for backports tied to CVE-2021-47057.

Validation and detection

  • Inventory Linux kernel versions and compare them with vendor-fixed builds for this CVE.
  • Confirm whether the sun8i-ss crypto driver is present, enabled, or loaded on target systems.
  • Check distribution changelogs for the referenced stable kernel commits or CVE backport notes.
  • Review monitoring for unexplained memory pressure on affected embedded or ARM Linux systems.
Prepared
Confidence
medium
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-770: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-47057 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
2ADP providers
5Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.5CVSS 3.1MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H1.83.6CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

5.5Medium
CVSS 3.1 vector shape for CVE-2021-47057Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
cvssV3_1other:ssvc
CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinuxac2614d721dea2ff273af19c6c5d508d58a2bb3e, ac2614d721dea2ff273af19c6c5d508d58a2bb3e, ac2614d721dea2ff273af19c6c5d508d58a2bb3e, ac2614d721dea2ff273af19c6c5d508d58a2bb3eunaffected
LinuxLinux5.10, 0, 5.10.37, 5.11.21, 5.12.4, 5.13affected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-770 · source CWE mapping

Allocation of Resources Without Limits or Throttling

Allocation of Resources Without Limits or Throttling represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.