RE: [PATCH rtw v4 3/4] wifi: rtw89: fix leak in rtw89_core_send_nullfunc()

From: Ping-Ke Shih
Date: Thu Sep 18 2025 - 01:49:38 EST


Fedor Pchelkin <pchelkin@xxxxxxxxx> wrote:
> If there is no rtwsta_link found in rtw89_core_send_nullfunc(), allocated
> skb is leaked. Free it on the error handling path.
>
> Found by Linux Verification Center (linuxtesting.org).
>
> Fixes: a8ba4acab7db ("wifi: rtw89: send nullfunc based on the given link")
> Signed-off-by: Fedor Pchelkin <pchelkin@xxxxxxxxx>

Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>