net: dsa: ar9331: register the mdiobus under devres
Summary
GSD-2022-1000508: net: dsa: ar9331: register the mdiobus under devres. Affects Kernel versions >= ac3a68d56651c3dad2c12c7afce065fe15267f44, < f1842a8cb71de4d7eb75a86f76e88c7ee739218c. 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 net: dsa: ar9331 package is a component of the Linux Kernel. It is responsible for managing the AR9331 switch found on certain devices. The package includes functionality to register the mdiobus under devres, which is a resource management framework in the kernel. This allows for proper handling of the mdiobus resource and ensures its cleanup when no longer needed.
Vulnerability Detail
The vulnerability in net: dsa: ar9331 arises from a failure to properly register the mdiobus under devres. This can lead to resource leaks and potential memory corruption. An attacker may be able to exploit this vulnerability to execute arbitrary code or cause a denial of service. The vulnerability was introduced in version v5.9 of the Linux Kernel and is fixed in version v5.16.10.
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 necessary to update to the fixed version of the Linux Kernel.
Conclusion
The net: dsa: ar9331 package in the Linux Kernel is vulnerable to a resource management issue. This vulnerability can lead to resource leaks and potential memory corruption, allowing attackers to execute arbitrary code or cause a denial of service. It is crucial to update to the fixed version of the Linux Kernel (v5.16.10 or later) to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
Net: dsa: ar9331 is a component of the Linux Kernel responsible for managing the AR9331 switch found on certain devices.
Devres is a resource management framework in the Linux Kernel that allows for proper handling and cleanup of resources.
This vulnerability can lead to resource leaks and potential memory corruption. An attacker may be able to execute arbitrary code or cause a denial of service.
To fix this vulnerability, update to the latest version of the Linux Kernel (v5.16.10 or later).
No, there is no known workaround for this vulnerability. Updating to the fixed version of the Linux Kernel is necessary.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.