Memory Leak Vulnerability in phy: mdio Package
Summary
GSD-2021-1001695: phy: mdio: fix memory leak. Affects Kernel versions >= 46abc02175b3c246dd5141d878f565a8725060c9, < 064c2616234a7394867c924b5c1303974f3a4f4d. 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 vulnerability in this package relates to a memory leak issue.
Vulnerability Detail
The memory leak vulnerability in phy: mdio can lead to the exhaustion of system memory resources. When certain conditions are met, memory allocated during the execution of the mdio driver is not properly freed, resulting in a continuous accumulation of memory over time. This can eventually lead to a system crash or performance degradation. The vulnerability was introduced in version v2.6.28 of the Linux Kernel and has been fixed in version v5.14.12.
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
There is no specific workaround available for this vulnerability. Applying the fix by updating the Linux Kernel is the recommended solution.
Conclusion
The memory leak vulnerability in the phy: mdio package of the Linux Kernel can lead to system crashes or performance degradation due to the exhaustion of system memory resources. It is recommended to update the Linux Kernel to version v5.14.12 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The memory leak vulnerability can lead to the exhaustion of system memory resources, potentially causing a system crash or performance degradation.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will analyze and alert you in real-time if any open-source vulnerabilities, including this one, are found.
Yes, the vulnerability has been fixed in Linux Kernel version v5.14.12. It is recommended to update the kernel to this version or later.
There is no specific workaround available for this vulnerability. Updating the Linux Kernel to the fixed version is the recommended solution.
You can find more information about this vulnerability in the GSD-2021-1001695 JSON file available in the GSD database (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1001xxx/GSD-2021-1001695.json).
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.