Vulnerability in Kernel: net: dsa: mv88e6xxx: don't use devres for mdiobus
Summary
GSD-2022-1000507: net: dsa: mv88e6xxx: don't use devres for mdiobus. Affects Kernel versions >= ac3a68d56651c3dad2c12c7afce065fe15267f44, < 1b451c3994a2d322f8e55032c62c8b47b7d95900. 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 critical component of the Linux operating system that provides core functionality and interfaces with hardware devices. It manages system resources, facilitates communication between software and hardware, and ensures the stability and security of the system. The specific vulnerability affects the network subsystem (net) and the Distributed Switch Architecture (DSA) driver for the Marvell 88E6XXX series of Ethernet switches. The vulnerability arises from the improper use of device resources (devres) for the Management Data Input/Output (MDIO) bus, which can lead to potential security risks.
Vulnerability Detail
The vulnerability in the DSA driver for the Marvell 88E6XXX Ethernet switches arises from the incorrect use of devres for the MDIO bus. This can result in security vulnerabilities, although the exact impact and attack plausibility have not been proven. The vulnerability was introduced in Linux Kernel version v5.9 by commit ac3a68d56651c3dad2c12c7afce065fe15267f44 and has been fixed in version v5.16.10 by commit 1b451c3994a2d322f8e55032c62c8b47b7d95900. It is important to update to the fixed version to mitigate the potential risks.
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 Kernel's DSA driver for the Marvell 88E6XXX Ethernet switches, caused by the improper use of devres for the MDIO bus, can introduce security risks. It is crucial to update to the fixed version of the Linux Kernel (v5.16.10 or later) to mitigate these risks. For further support and assistance with vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The exact impact of this vulnerability is not yet proven, but it has the potential to introduce security risks.
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 and Vulert will analyze it for any 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.
The vulnerability was introduced in Linux Kernel version v5.9 and has been fixed in version v5.16.10. Therefore, versions between v5.9 and v5.16.10 are potentially affected.
For more details about this vulnerability, you can refer to the source information in the GSD database: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1000xxx/GSD-2022-1000507.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.