CVE-2026-143404: mfd: tps65217: Fix NULL pointer dereference on IRQ init failure
In the Linux kernel, the following vulnerability has been resolved:
mfd: tps65217: Fix NULL pointer dereference on IRQ init failure
tps65217probe() ignores the return value of tps65217irqinit(), so when the irq domain creation fails the probe still completes and the driver ends up bound with a NULL tps->irqdomain. Unloading the module then makes tps65217remove() call irqdomainremove() on the NULL pointer and oops the kernel. On top of that, irqfindmapping() may fall back to the default irq domain and dispose of mappings that belong to other interrupt controllers.
Check the return value and abort the probe on failure so the error is reported and no inconsistent state is left for removal.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In tps65217_probe(), check the return value of tps65217_irq_init() and abort the probe on failure.
Event History
Frequently Asked Questions
What systems are exposed to this issue?
Systems that use the Linux kernel TPS65217 MFD driver are exposed when creation of that driver's IRQ domain fails during probe. The problematic state occurs only if the driver remains bound after that initialization failure.
What conditions are needed to trigger the kernel failure?
IRQ-domain creation for the TPS65217 driver must fail, while the probe continues despite that failure. A subsequent module unload can then call irq_domain_remove() with a NULL IRQ-domain pointer and cause a kernel oops.
What is the immediate mitigation if the fix cannot be deployed?
Avoid unloading the TPS65217 module after an IRQ initialization failure. Preventing use of the affected driver on systems where its IRQ domain cannot be created also avoids leaving the driver in the inconsistent state described.
How can I tell whether a system encountered the affected state?
Look for a TPS65217 IRQ initialization or IRQ-domain creation failure followed by a successful driver probe or driver binding. A kernel oops during TPS65217 module removal is also an indicator; the issue may additionally dispose of interrupt mappings belonging to other controllers through fallback to the default IRQ domain.