
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2021-47570 is a memory leak vulnerability discovered in the Linux kernel's r8188eu driver. The vulnerability specifically affects the rtw_wx_read32() function in the staging driver, where memory allocated for 'ptmp' was not properly freed before returning an error condition (CVE Details, Red Hat).
The vulnerability exists in the Linux kernel's staging r8188eu driver, specifically in the rtw_wx_read32() function. The issue occurs when the function returns -EINVAL without properly freeing the 'ptmp' memory that was previously allocated. This oversight was introduced in commit 2b42bd58b321 which added the new os_dep directory for the RTL8188eu driver. The vulnerability has been assigned a CVSS v3 base score of 4.1 by Red Hat, indicating low severity (Red Hat).
The vulnerability results in a memory leak condition where system memory is not properly freed when certain error conditions occur. While the immediate impact is relatively minor, continuous exploitation could lead to gradual system memory depletion (Red Hat).
The vulnerability requires local access and high privileges to exploit, with high attack complexity. This significantly limits the potential for exploitation in most scenarios (Red Hat).
The vulnerability has been fixed by adding proper memory cleanup before returning the error condition. The fix involves freeing the 'ptmp' pointer before returning -EINVAL. The patch has been merged into the Linux kernel (Kernel Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."