Subject: Re: [PATCH] wifi: ath9k: hif_usb: clean up skbs if ath9k_hif_usb_rx_stream() fails

From: Toke Høiland-Jørgensen <[email-masked]>
Date: Mon, 02 Jan 2023 11:52:05 +0100

Fedor Pchelkin <[email-masked]> writes:

> Syzkaller detected a memory leak of skbs in ath9k_hif_usb_rx_stream().
> While processing skbs in ath9k_hif_usb_rx_stream(), the already allocated
> skbs in skb_pool are not freed if ath9k_hif_usb_rx_stream() fails. If we
> have an incorrect pkt_len or pkt_tag, the skb is dropped and all the
> associated skb_pool buffers should be cleaned, too.
>
> Found by Linux Verification Center (linuxtesting.org) with Syzkaller.
>
> Fixes: 6ce708f54cc8 ("ath9k: Fix out-of-bound memcpy in ath9k_hif_usb_rx_stream")
> Fixes: 44b23b488d44 ("ath9k: hif_usb: Reduce indent 1 column")
> Signed-off-by: Fedor Pchelkin <[email-masked]>
> Signed-off-by: Alexey Khoroshilov <[email-masked]>

Is this the same issue reported in
https://lore.kernel.org/r/[email-masked] ?

If so, could you please tag the patch appropriately?

-Toke