CVE-2021-47278
HIGHLinux Kernel 5.12-5.12.10 - Use-After-Free in MHI PCI Generic Driver Timer Handler
Title source: llmDescription
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.
References (2)
Core 2
Scores
CVSS v3
7.8
EPSS
0.0022
EPSS Percentile
12.4%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-416
Status
published
Products (8)
Linux/Linux
< 5.12
Linux/Linux
5.12
Linux/Linux
5.12.11 - 5.12.*
Linux/Linux
5.13
Linux/Linux
8562d4fe34a3ef52da077f77985994bb9ad1f83e - 0b67808ade8893a1b3608ddd74fac7854786c919
Linux/Linux
8562d4fe34a3ef52da077f77985994bb9ad1f83e - c597d5c59c7a6417dba06590f59b922e01188e8d
linux/linux_kernel
5.13 rc1 (5 CPE variants)
linux/linux_kernel
5.12 - 5.12.11
Published
May 21, 2024
Tracked Since
Feb 18, 2026