Refcount Leak in mv88e6xxx_mdios_register in Kernel
Summary
GSD-2022-1003531: net: dsa: mv88e6xxx: Fix refcount leak in mv88e6xxx_mdios_register. Affects Kernel versions >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < 42658e47f1abbbe592007d3ba303de466114d0bb. 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 crucial component of the Linux operating system that manages communication between hardware and software. It provides essential functions and services to enable the proper functioning of the system. The vulnerability in question affects the Kernel's DSA (Distributed Switch Architecture) module, specifically the mv88e6xxx driver. This driver is responsible for managing the Marvell 88E6XXX series of Ethernet switches. The vulnerability allows for a refcount leak in the mv88e6xxx_mdios_register function, which can lead to resource exhaustion and potential system instability.
Vulnerability Detail
The vulnerability arises from a refcount leak in the mv88e6xxx_mdios_register function within the mv88e6xxx driver of the Kernel's DSA module. This leak occurs when registering the MDIO bus for the Marvell 88E6XXX Ethernet switch. The refcount leak can result in resource exhaustion, potentially leading to system instability or denial of service. The vulnerability was introduced in version v4.11 of the Linux Kernel and has been fixed in version v5.10.122.
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 known workaround for this vulnerability. It is essential to update the Linux Kernel to the fixed version to mitigate the risk.
Conclusion
The refcount leak vulnerability in the mv88e6xxx_mdios_register function of the Kernel's DSA module can lead to resource exhaustion and potential system instability. It is crucial to update the Linux Kernel to version v5.10.122 or later to address this vulnerability. Failure to do so may expose the system to potential exploitation. For further support and assistance with vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to resource exhaustion and potential system instability 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 Vulert will analyze it for any open-source vulnerabilities, including this one.
At the time of this report, there is no known exploit for this vulnerability. However, it is crucial to patch the Kernel to prevent any potential exploitation.
The only known mitigation is to update the Linux Kernel to the fixed version. This will address the vulnerability and protect the system from potential exploitation.
It is not recommended to manually fix the refcount leak in the affected function. Updating the Linux Kernel to the fixed version is the recommended approach to ensure a proper and secure fix.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.