Vulnerability in Kernel: PCI: mediatek: Fix refcount leak in mtk_pcie_subsys_powerup()
Summary
GSD-2022-1003343: PCI: mediatek: Fix refcount leak in mtk_pcie_subsys_powerup(). Affects Kernel versions >= 87e8657ba99cac87b84c7f8ead91b44d88345504, < ad1c9d13e04509ae24fae8dd2897148657323519. 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 fundamental component of the Linux operating system that provides core functionalities and interfaces with hardware devices. It manages system resources and facilitates communication between software and hardware components. The PCI (Peripheral Component Interconnect) subsystem in the Kernel enables the connection and communication between devices using the PCI bus. The mediatek driver is responsible for supporting MediaTek PCIe controllers. However, a vulnerability has been identified in the mtk_pcie_subsys_powerup() function of the mediatek driver, leading to a refcount leak.
Vulnerability Detail
The vulnerability in the mtk_pcie_subsys_powerup() function of the mediatek driver allows for a refcount leak. This can result in a resource leak, leading to potential memory corruption or exhaustion. An attacker may be able to exploit this vulnerability to cause a denial-of-service (DoS) condition or potentially execute arbitrary code with elevated privileges. The vulnerability was introduced in version v5.15 of the Linux Kernel and has been fixed in version v5.15.46.
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 specific workaround available for this vulnerability. It is recommended to apply the fix by updating the Linux Kernel to the latest version.
Conclusion
The vulnerability in the mediatek driver of the Kernel can lead to a refcount leak, potentially resulting in memory corruption or exhaustion. It is crucial to update the Linux Kernel to version v5.15.46 or later to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to a resource leak, potentially resulting in memory corruption or exhaustion. This can be exploited by an attacker to cause a denial-of-service (DoS) condition or execute arbitrary code with elevated privileges.
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 to the playground, and it will provide real-time monitoring and alerts for open-source vulnerabilities, including this one.
Yes, a patch has been released to fix this vulnerability. It is recommended to update the Linux Kernel to version v5.15.46 or later.
The exact exploitability of this vulnerability is not yet proven. However, if successfully exploited, it could potentially be triggered remotely.
There are no known instances of this vulnerability being exploited in the wild at this time.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.