
Cloud Vulnerability DB
A community-led vulnerabilities database
A memory leak vulnerability was discovered in the Linux kernel's r6040 network driver (CVE-2022-50545). The issue occurs in the probe and remove processes where a PHY device is not properly disconnected, leading to memory leaks reported by kmemleak (NVD).
The vulnerability stems from improper device disconnection in the r6040 driver. During the probe process, when a PHY device is allocated and registered, its reference count increases to 3. When connecting to the first PHY device, the count increases to 4. However, during error handling or device removal, the PHY device is not properly disconnected, leaving a reference count of 1 and causing memory leaks (NVD).
The vulnerability results in memory leaks in the Linux kernel when using the r6040 network driver. While memory leaks can gradually degrade system performance and stability, this particular issue appears to have limited direct security impact (NVD).
The issue has been fixed by adding phy_disconnect() calls when removing an r6040 device or handling errors after successful r6040_mii probe. This ensures proper cleanup of PHY device references (NVD).
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."