Memory Leak Vulnerability in crypto: sun8i-ss
Summary
GSD-2021-1000390: crypto: sun8i-ss - Fix memory leak of object d when dma_iv fails to map. Affects Kernel versions >= ac2614d721dea2ff273af19c6c5d508d58a2bb3e, < 617ec35ed51f731a593ae7274228ef2cfc9cb781. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The crypto: sun8i-ss package is a component of the Linux Kernel, specifically designed for the sun8i-ss cryptographic engine. This engine provides hardware acceleration for various cryptographic operations. It is utilized in systems based on the Allwinner A23 and A33 SoCs. The vulnerability in question involves a memory leak that occurs when the dma_iv fails to map. This can potentially lead to resource exhaustion and system instability.
Vulnerability Detail
The memory leak vulnerability in crypto: sun8i-ss arises when the dma_iv fails to map. This can occur due to various reasons, such as insufficient memory or incorrect configuration. When this happens, the object 'd' is not properly released, resulting in a memory leak. If exploited, this vulnerability can lead to resource exhaustion, potentially causing system crashes or instability. It is important to note that the impact and attack plausibility of this vulnerability have not been proven.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a workaround, users can consider disabling or avoiding the usage of the crypto: sun8i-ss package until the Linux Kernel is updated to a version that includes the fix for this vulnerability. This can be achieved by removing or blacklisting the relevant kernel module associated with the crypto: sun8i-ss package. However, it is important to note that this workaround may impact the functionality or performance of cryptographic operations relying on the sun8i-ss cryptographic engine.
Conclusion
In conclusion, the memory leak vulnerability in crypto: sun8i-ss can lead to resource exhaustion and system instability. It is crucial to update the Linux Kernel to version v5.10.37 or later to mitigate this vulnerability. Alternatively, users can consider disabling the crypto: sun8i-ss package until the update is applied. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The crypto: sun8i-ss package is a component of the Linux Kernel that provides hardware acceleration for cryptographic operations on systems based on the Allwinner A23 and A33 SoCs.
If exploited, this vulnerability can lead to resource exhaustion, potentially causing system crashes or instability.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.37 or later.
Yes, users can consider disabling or avoiding the usage of the crypto: sun8i-ss package until the Linux Kernel is updated. This can be achieved by removing or blacklisting the relevant kernel module.
The updated Linux Kernel source code can be obtained from the official Linux Kernel repository at https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.