Vulnerability record
gpio: sodaville: fix use-after-free bug when registering the irqchip
In the Linux kernel, the following vulnerability has been resolved:
gpio: sodaville: fix use-after-free bug when registering the irqchip
In sdv_register_irqsupport(), if irq_domain_create_legacy() fails during device probing, a generic IRQ chip is left registered in the global gc_list while its underlying memory is freed, leading to a use-after-free. Use the managed variant of irq_setup_generic_chip() to ensure that the chip gets unregistered before the memory it uses is freed.
Remediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources