CVE-2026-139737: wifi: ath12k: Free allocated CE IRQs on request_irq() failure
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath12k: Free allocated CE IRQs on requestirq() failure
When CE IRQ configuration fails, the driver does not release all IRQs that were successfully requested before the failure. This can leak IRQ resources during probe failure.
Free the previously requested CE IRQs before returning from the error path to ensure that partially initialized IRQ resources are properly cleaned up during probe failure.
Factor out the CE IRQ cleanup into a helper to reuse the cleanup logic during both error handling and driver teardown.
Also free CE IRQs when external IRQ configuration fails, before returning from the error path.
Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.6-01243-QCAHKSWPLSILICONZ-1
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Factor CE IRQ cleanup into a reusable helper and call it on request_irq() failure to free all previously requested CE IRQs before returning; reuse the helper during probe-failure cleanup and driver teardown.