mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
wifi: rtw89: fix leak in rtw89_core_send_nullfunc()
[ Upstream commita9f0064f47] 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:a8ba4acab7("wifi: rtw89: send nullfunc based on the given link") Signed-off-by: Fedor Pchelkin <pchelkin@ispras.ru> Acked-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/20250919210852.823912-4-pchelkin@ispras.ru Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
2c9876a402
commit
547432ee1d
1 changed files with 1 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue