crypto: sun8i-ss - Fix memory leak of object d when dma_iv fails to map
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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")
From the CVE record · Linux
The Linux kernel's sun8i-ss crypto driver leaks memory allocated to object d if dma_iv mapping fails. The input does not identify how an attacker could trigger the failure or specify network access, authentication, or user-interaction requirements.
Engineers running Linux kernels with the sun8i-ss crypto driver should check their versions; affected versions are not specified.