Vulnerability in Kernel: net: dsa: lantiq_gswip: don't use devres for mdiobus
Summary
GSD-2022-1000431: net: dsa: lantiq_gswip: don't use devres for mdiobus. Affects Kernel versions >= ac3a68d56651c3dad2c12c7afce065fe15267f44, < b5652bc50dde7b84e93dfb25479b64b817e377c1. 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, responsible for managing system resources and facilitating communication between hardware and software. It provides essential functionalities for the proper functioning of the system. The specific vulnerability affects the net subsystem and more specifically the dsa (Distributed Switch Architecture) module. The lantiq_gswip driver within the dsa module is responsible for handling the mdiobus (Management Data Input/Output Bus) operations. The vulnerability arises from the improper use of devres (Device Resource Management) for mdiobus, which can lead to security issues.
Vulnerability Detail
The vulnerability in the lantiq_gswip driver of the Kernel's dsa module arises from the incorrect use of devres for mdiobus. This can potentially result in security vulnerabilities, although the exact impact and attack plausibility have not been proven yet. The vulnerability was introduced in version v5.9 of the Linux Kernel by commit ac3a68d56651c3dad2c12c7afce065fe15267f44 and has been fixed in version v5.15.24 by commit b5652bc50dde7b84e93dfb25479b64b817e377c1.
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 lantiq_gswip driver within the dsa module highlights the importance of keeping the system up to date with the latest security patches. By updating to version v5.15.24 or later of the Linux Kernel, users can mitigate the potential security risks associated with this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The Kernel is a critical component of the Linux operating system that manages system resources and facilitates communication between hardware and software.
The dsa (Distributed Switch Architecture) module is a subsystem within the Kernel that enables the distribution of network switch functionality across multiple devices.
mdiobus (Management Data Input/Output Bus) is a bus interface used for communication between Ethernet PHYs (Physical Layer Transceivers) and Ethernet MACs (Media Access Controllers).
devres (Device Resource Management) is a framework in the Linux Kernel that provides a mechanism for managing resources associated with devices.
You can use Vulert's 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 analyze and alert you in real-time for any open-source vulnerabilities, including this one.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.