Use-after-free vulnerability in mv88e6xxx_mdios_unregister in Kernel
Summary
GSD-2022-1000437: net: dsa: mv88e6xxx: fix use-after-free in mv88e6xxx_mdios_unregister. Affects Kernel versions >= 8b626d45127d6f5ada7d815b83cfdc09e8cb1394, < f916181692cb5da7050ec0efbf96c915d8ebbbbc. 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 the system's resources and facilitates communication between hardware and software. It provides essential functionalities such as process management, memory management, and device drivers. The mv88e6xxx_mdios_unregister function is part of the network subsystem in the Kernel and is responsible for unregistering the MDIO bus for the Marvell 88E6XXX switch family. This vulnerability specifically affects the mv88e6xxx_mdios_unregister function, leading to a use-after-free issue.
Vulnerability Detail
The use-after-free vulnerability in mv88e6xxx_mdios_unregister arises when the function attempts to unregister the MDIO bus for the Marvell 88E6XXX switch family. Due to a programming error, the function does not properly handle the deallocation of resources, resulting in a use-after-free condition. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service (DoS) condition. The impact and attack plausibility of this vulnerability have not been proven yet.
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 recommended to apply the fix by updating the Linux Kernel to the latest version.
Conclusion
In conclusion, the use-after-free vulnerability in mv88e6xxx_mdios_unregister in the Kernel can potentially allow an attacker to execute arbitrary code or cause a denial-of-service (DoS) condition. It is crucial to update the Linux Kernel to version v5.15.24 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability could potentially allow an attacker to execute arbitrary code or cause a denial-of-service (DoS) condition.
You can use Vulert's playground at Vulert Scanner to check if your system is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities without requiring access to the code or installation.
No, there is currently no known exploit for this vulnerability. However, it is still important to apply the fix to ensure the security of your system.
The only known mitigation for this vulnerability is to update the Linux Kernel to version v5.15.24 or later.
You can find more information about this vulnerability in the GSD-2022-1000437 entry on the Cloud Security Alliance's GSD database: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1000xxx/GSD-2022-1000437.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.