CVE-2021-47057

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

Medium · published February 29, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
12.1
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00222 · 12.1th percentile
Published
2024-02-29T22:37Z
EPSS history
Timeline
  • 29 FEB 22:37Z
    crypto: sun8i-ss - Fix memory leak of object d when dma_iv fails to map
    cvelistv5