AZL-118580: CVE-2026-143325 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
gpio: mpc8xxx: Fix potential use-after-free of IRQ domain
GPIO chip cleanup can call the toirq callback while releasing requested GPIOs. Removing the IRQ domain first leaves that callback using a freed domain, both on removal and after an IRQ request failure.
Register domain cleanup before GPIO chip registration so devres removes the chip before freeing the domain.
This issue was found by our static analysis tool under development.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In gpio: mpc8xxx, register domain cleanup before GPIO chip registration so devres removes the chip before freeing the IRQ domain.
Event History
Frequently Asked Questions
When can the use-after-free occur?
It can occur during GPIO chip cleanup when requested GPIOs are released and the cleanup path invokes the to_irq callback after the IRQ domain has already been removed. The description identifies both device removal and cleanup following an IRQ request failure as affected paths.
Which component is involved in the faulty cleanup ordering?
The issue is in the Linux kernel's gpio: mpc8xxx driver. It involves the ordering between IRQ domain cleanup and GPIO chip registration/cleanup.
Is a configuration-specific exposure or workaround provided?
No affected configuration, default-state assessment, or compensating mitigation is provided in the available information. The described resolution is to register IRQ domain cleanup before GPIO chip registration so the GPIO chip is removed before the domain is freed.