[PATCH] wifi: ath12k: Fix potential SRNG configuration leak on init failure

Jeff Johnson jeff.johnson at oss.qualcomm.com
Mon Nov 9 13:41:01 PST 2026


On Wed, 04 Nov 2026 10:33:44 +0800, Guangshuo Li wrote:
> If either DMA pointer-buffer allocation fails after the SRNG
> configuration is copied, HAL initialization returns without freeing
> the copy. Its callers skip HAL deinitialization on this error.
> 
> Free the configuration on both allocation failure paths and clear
> its pointer before returning.
> 
> [...]

Applied, thanks!

[1/1] wifi: ath12k: Fix potential SRNG configuration leak on init failure
      commit: 30cd6ad81f234ee01dc67b1d1166db94078edad5

Best regards,
-- 
Jeff Johnson <jeff.johnson at oss.qualcomm.com>




More information about the ath12k mailing list