Use-after-free vulnerability in bus: mhi: pci_generic package
Summary
GSD-2021-1001023: bus: mhi: pci_generic: Fix possible use-after-free in mhi_pci_remove(). Affects Kernel versions >= 8562d4fe34a3ef52da077f77985994bb9ad1f83e, < c597d5c59c7a6417dba06590f59b922e01188e8d. 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 bus: mhi: pci_generic package is a component of the Linux Kernel. It provides support for the MHI (Mobile High-Definition Link) bus on PCI devices. The MHI bus is used for communication between the host and peripheral devices, such as modems. The pci_generic driver is responsible for managing the MHI bus on PCI devices. It allows the host to send commands and data to the peripheral devices and handle their responses. However, a use-after-free vulnerability has been discovered in the mhi_pci_remove() function of the pci_generic driver.
Vulnerability Detail
The use-after-free vulnerability in mhi_pci_remove() occurs when the driver attempts to access memory that has already been freed. This can lead to a variety of issues, including crashes, privilege escalation, and arbitrary code execution. An attacker who can trigger the vulnerable code path may be able to exploit this vulnerability to gain unauthorized access or control over the affected system. The vulnerability was introduced in version v5.12 of the Linux Kernel and has been fixed in version v5.12.11.
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
The use-after-free vulnerability in the bus: mhi: pci_generic package of the Linux Kernel can lead to various security issues, including crashes, privilege escalation, and arbitrary code execution. It is crucial to update the Kernel to version v5.12.11 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 bus: mhi: pci_generic package is a component of the Linux Kernel that provides support for the MHI bus on PCI devices.
The MHI (Mobile High-Definition Link) bus is used for communication between the host and peripheral devices, such as modems.
A use-after-free vulnerability occurs when a program attempts to access memory that has already been freed. This can lead to crashes, privilege escalation, and arbitrary code execution.
The impact of this vulnerability can vary, but it could potentially allow an attacker to gain unauthorized access or control over the affected system.
To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.12.11 or later.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.