AZL-118016: CVE-2026-143056 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
gpio: sodaville: fix use-after-free bug when registering the irqchip
In sdvregisterirqsupport(), if irqdomaincreatelegacy() fails during device probing, a generic IRQ chip is left registered in the global gclist while its underlying memory is freed, leading to a use-after-free. Use the managed variant of irqsetupgenericchip() to ensure that the chip gets unregistered before the memory it uses is freed.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In gpio:sodaville, use the managed variant of irq_setup_generic_chip() in sdv_register_irqsupport() so the generic IRQ chip is unregistered before its underlying memory is freed.
Event History
Frequently Asked Questions
What conditions are required to trigger the use-after-free?
The failure path requires irq_domain_create_legacy() to fail while the Sodaville GPIO driver's IRQ support is being registered during device probing. In that path, a generic IRQ chip can remain in the global gc_list after the memory backing it has been freed.
What change addresses the issue?
The resolved code uses the managed variant of irq_setup_generic_chip(). This ensures the generic IRQ chip is unregistered before its underlying memory is released when probing fails.