CVE-2021-47278
publishedbus: mhi: pci_generic: Fix possible use-after-free in mhi_pci_remove()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux8562d4fe34a3ef52da077f77985994bb9ad1f83e to < c597d5c59c7a6417dba06590f59b922e01188e8d · 8562d4fe34a3ef52da077f77985994bb9ad1f83e to < 0b67808ade8893a1b3608ddd74fac7854786c919 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.12 (affected) · 0 to < 5.12 (unaffected · semver) · 5.12.11 through 5.12.* (unaffected · semver) · 5.13 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 8562d4fe34a3ef52da077f77985994bb9ad1f83e to < c597d5c59c7a6417dba06590f59b922e01188e8d (affected · git)8562d4fe34a3ef52da077f77985994bb9ad1f83e to < 0b67808ade8893a1b3608ddd74fac7854786c919 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.12 (affected)0 to < 5.12 (unaffected · semver)5.12.11 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
3Linux · cna
bus: mhi: pci_generic: Fix possible use-after-free in mhi_pci_remove()
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- defb8ff9e4fcd0e20a3cabb891c9fa7e47199b7219fef0a11888ba092e3be3be
- Ingested
- 23 Sep 2026, 07:57:11 UTC
- Source record
- Official CVE record