In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: Fix NAPI resource leaks in AHB external IRQ paths Currently, NAPI instances and their associated netdevs allocated for AHB external IRQ groups are not released when external IRQ configuration fails. They are also not freed when arch_init() fails after ath12k_ahb_config_irq() succeeds during probe, or when the driver is unloaded. Fix this by adding a common cleanup helper to release the NAPI instances and associated netdevs. Call it from the external IRQ configuration error path, probe error path, and driver cleanup path. Tested-on: IPQ5332 hw1.0 AHB WLAN.WBE.1.6-01275-QCAHKSWPL_SILICONZ-1 [renamed label err_free_irq]
https://git.kernel.org/stable/c/ebc938ba1d5ff33652013b99c7b9a74f05690336
https://git.kernel.org/stable/c/b3101cb2147ae94fb09465fd2861d970facdfc35
https://git.kernel.org/stable/c/066c952c0d126f5e4798bda50a58f2f7c578a12b