Refcount Leak in bcma_mdio_mii_register in Kernel
Summary
GSD-2022-1002949: net: ethernet: bgmac: Fix refcount leak in bcma_mdio_mii_register. Affects Kernel versions >= 55954f3bfdacc5908515b0c306cea23e77fab740, < b51996e35bbfcc7a27d94dfeed5cc2429b2c0df4. 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 Kernel is a fundamental component of the Linux operating system that manages the system's resources and facilitates communication between hardware and software. It provides essential functionalities for networking, device drivers, and file systems. The vulnerability in question affects the bgmac Ethernet driver in the Kernel, specifically in the bcma_mdio_mii_register function.
Vulnerability Detail
The vulnerability is related to a refcount leak in the bcma_mdio_mii_register function of the bgmac Ethernet driver. This issue can lead to a resource leak, potentially causing memory corruption or exhaustion. An attacker may be able to exploit this vulnerability to execute arbitrary code, escalate privileges, or cause a denial-of-service condition. The vulnerability was introduced in version 4.8 of the Kernel and has been fixed in version 5.17.15.
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
If updating the Kernel is not immediately feasible, users can mitigate the risk by disabling the affected bgmac Ethernet driver or using an alternative driver if available. However, it is strongly advised to apply the official patch by updating to the fixed version of the Kernel as soon as possible.
Conclusion
The refcount leak vulnerability in the bcma_mdio_mii_register function of the bgmac Ethernet driver in the Kernel can pose significant security risks. It is recommended to update the Kernel to version 5.17.15 or later to address this vulnerability. Users can also use the Vulert Playground to check if their systems are affected and receive real-time alerts for open-source vulnerabilities. For further support and assistance with vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability can potentially allow an attacker to execute arbitrary code, escalate privileges, or cause a denial-of-service condition.
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 to the playground, and it will provide real-time alerts for open-source vulnerabilities, including this one.
Yes, users can mitigate the risk by disabling the affected bgmac Ethernet driver or using an alternative driver if available. However, it is recommended to update the Kernel to the fixed version as soon as possible.
Yes, this vulnerability can be exploited remotely if the attacker can access the affected system over the network.
There are no known instances of this vulnerability being exploited in the wild at the time of this report. However, it is crucial to apply the necessary updates and patches to mitigate the risk.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.