Memory Leak in phy: mdio Package
Summary
GSD-2021-1001583: phy: mdio: fix memory leak. Affects Kernel versions >= 46abc02175b3c246dd5141d878f565a8725060c9, < 414bb4ead1362ef2c8592db723c017258f213988. 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 phy: mdio package is a component of the Linux Kernel, which is responsible for managing the Media Independent Interface (MII) bus for Ethernet PHY devices. It provides the necessary functions for communication between the Ethernet controller and the PHY devices. The MII bus is used to exchange control and status information between the two components. However, a vulnerability has been discovered in the package that can lead to a memory leak.
Vulnerability Detail
The vulnerability in the phy: mdio package results in a memory leak. When certain operations are performed on the MII bus, memory resources are allocated but not properly deallocated, leading to a gradual depletion of available memory. This can eventually cause system instability, performance degradation, or even a denial of service condition. The vulnerability was introduced in version v2.6.28 of the Linux Kernel and has been fixed in version v5.4.153.
How To Fix
No fixed version is published for this vulnerability.
To fix the memory leak vulnerability in the phy: mdio package, it is recommended to update the Linux Kernel to version v5.4.153 or later. This can be done by pulling the latest changes from the official Linux Kernel repository and rebuilding the kernel. Alternatively, users can wait for their Linux distribution to release an updated kernel package that includes the fix.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no known workaround for this vulnerability. It is recommended to apply the fix as soon as possible by updating the Linux Kernel.
Conclusion
The memory leak vulnerability in the phy: mdio package can have serious consequences for system stability and performance. It is crucial to update the Linux Kernel to version v5.4.153 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The memory leak vulnerability in the phy: mdio package can lead to system instability, performance degradation, or denial of service.
You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and the tool will analyze it for any known vulnerabilities.
There is no known exploit for this vulnerability at the moment. However, it is still important to apply the fix to prevent any potential exploitation in the future.
It is not recommended to manually patch the vulnerability without updating the entire Linux Kernel. The fix is integrated into the updated kernel version, and patching it manually may introduce compatibility issues or other unforeseen problems.
You can find more information about this vulnerability in the Open Source Vulnerability Database (OSVDB) entry with ID GSD-2021-1001583.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.
Follow Vulert in Google
Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.