net: dsa: mv88e6xxx: Fix refcount leak in mv88e6xxx_mdios_register
Summary
GSD-2022-1003275: net: dsa: mv88e6xxx: Fix refcount leak in mv88e6xxx_mdios_register. Affects Kernel versions >= a3c53be55c955b7150cda17874c3fcb4eeb97a89, < c1df9cb756e5a9ba1841648c44ee5d92306b9c65. 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 vulnerability affects the Kernel package in the Linux ecosystem. The Kernel is the core component of the operating system that manages system resources and provides an interface for software to interact with the hardware. The specific vulnerability is related to the mv88e6xxx_mdios_register function in the mv88e6xxx driver of the Distributed Switch Architecture (DSA) subsystem. This function is responsible for registering the MDIO bus for the Marvell 88E6XXX switch. The vulnerability leads to a refcount leak, which can result in resource exhaustion and potential system instability.
Vulnerability Detail
The vulnerability in the mv88e6xxx_mdios_register function of the mv88e6xxx driver in the DSA subsystem allows for a refcount leak. This leak can occur when registering the MDIO bus for the Marvell 88E6XXX switch. The refcount leak can lead to resource exhaustion, potentially causing 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.15.47.
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 →
Conclusion
The vulnerability in the mv88e6xxx_mdios_register function of the mv88e6xxx driver in the DSA subsystem can lead to resource exhaustion and potential system instability. It is crucial to update the Linux Kernel to version v5.15.47 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can 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 to the playground, and it will provide real-time monitoring and alerts for open-source vulnerabilities, including this one.
No specific workaround has been provided for this vulnerability. It is recommended to update to the fixed version of the Linux Kernel.
There are no known exploits for this vulnerability at the time of this report.
You can find more information about this vulnerability in the GSD-2022-1003275 JSON report available at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1003xxx/GSD-2022-1003275.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.