Re: [PATCH ath 0/2] fix leaks in some WMI error path

Nicolas Escande
2026-05-02T07:16:55Z

On Thu Apr 30, 2026 at 11:54 PM CEST, Jeff Johnson wrote:
> On 4/24/2026 7:48 AM, Nicolas Escande wrote:
>> So this is similar work to what has been posted here [0] for ath12k.
>>
>> When we use the pattern 'return ath11k_wmi_cmd_send(...)' without
>> explicitly checking the return value we fail to free the allocated skb.
>>
>> This has been split into 2 patches per Jeff's guidance to hopefully
>> ease the backporting process.
>>
>> [0] https://lore.kernel.org/linux-wireless/20260422163258.3013872-1-nico.escande@gmail.com/
>>
>> Nicolas Escande (2):
>> wifi: ath11k: fix leak in error path of some WOW related WMI commands
>> wifi: ath11k: fix error path leaks in some WMI calls
>>
>> drivers/net/wireless/ath/ath11k/wmi.c | 131 ++++++++++++++++++++++----
>> 1 file changed, 112 insertions(+), 19 deletions(-)
>>
>
> Please repost and include the ath11k list

Ha yes sorry about that. Got betrayed by my shell history.