CVE-2021-47278

published 21 May 2024 · updated 11 May 2026

bus: mhi: pci_generic: Fix possible use-after-free in mhi_pci_remove()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0b67808ade8893a1b3608ddd74fac7854786c919 and Kernel c597d5c59c7a6417dba06590f59b922e01188e8d.

In the Linux kernel, the following vulnerability has been resolved: bus: mhi: pci_generic: Fix possible use-after-free in mhi_pci_remove() This driver's remove path calls del_timer(). However, that function does not wait until the timer handler finishes. This means that the timer handler may still be running after the driver's remove function has finished, which would result in a use-after-free. Fix by calling del_timer_sync(), which makes sure the timer handler has finished, and unable to re-schedule itself.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.12, >=8562d4fe34a3ef52da077f77985994bb9ad1f83e <0b67808ade8893a1b3608ddd74fac7854786c919, >=8562d4fe34a3ef52da077f77985994bb9ad1f83e <c597d5c59c7a6417dba06590f59b922e01188e8d0b67808ade8893a1b3608ddd74fac7854786c919, c597d5c59c7a6417dba06590f59b922e01188e8d

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47278 severity on Zeptric[![CVE-2021-47278](https://zeptric.io/badge/cve/CVE-2021-47278.svg)](https://zeptric.io/cve/CVE-2021-47278)