AZL-117310: CVE-2026-139736 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath12k: Free allocated external IRQs on requestirq() failure
When external 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 previously requested external IRQs when external IRQ configuration fails.
Also remove the NAPI instance with netifnapidel() before freeing the associated netdev to properly clean up the NAPI resources.
Store the IRQ number only after requestirq() succeeds to avoid recording an IRQ that was not successfully requested.
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
In ath12k, store an external IRQ number only after request_irq() succeeds, and free all external IRQs successfully requested before a later IRQ-configuration or probe failure.
- Compensating control
Call netif_napi_del() on the NAPI instance before freeing its associated netdev.
Event History
Frequently Asked Questions
What hardware platform was used to test the fix?
The fix was tested on QCN9274 hardware revision 2.0 using PCI WLAN.WBE.1.6-01243-QCAHKSWPL_SILICONZ-1.
What failure condition causes the resource leak?
The leak occurs when external IRQ configuration fails after the driver has already successfully requested one or more external IRQs. The probe then fails without releasing those previously requested IRQs.