CVE-2026-143325: gpio: mpc8xxx: Fix potential use-after-free of IRQ domain
gpio: mpc8xxx: Fix potential use-after-free of IRQ domain
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.227 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.120 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7 - Compensating control
Register IRQ domain cleanup before GPIO chip registration so devres removes the GPIO chip before freeing the domain.
Event History
Frequently Asked Questions
When can the use-after-free occur?
It can occur during device removal or after an IRQ request failure, when GPIO chip cleanup releases requested GPIOs and invokes the to_irq callback after the IRQ domain has already been freed.
What component is affected?
The issue affects the Linux kernel gpio-mpc8xxx driver, specifically its IRQ-domain and GPIO-chip cleanup ordering.
What is the mitigation if an update cannot be applied immediately?
The provided information does not identify a configuration workaround. Mitigation would require avoiding the affected driver cleanup paths, particularly device removal and failed IRQ-request handling, where practical.