[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-wireless
Subject:    Re: [PATCH 1/3] rtw88: check for validity before using a pointer
From:       Kalle Valo <kvalo () kernel ! org>
Date:       2022-01-31 15:47:29
Message-ID: 164364404807.21641.12155836646677086597.kvalo () kernel ! org
[Download RAW message or body]

Ping-Ke Shih <pkshih@realtek.com> wrote:

> From: Muhammad Usama Anjum <usama.anjum@collabora.com>
> 
> ieee80211_probereq_get() can return NULL. Pointer skb should be checked
> for validty before use. If it is not valid, list of skbs needs to be
> freed.
> 
> Fixes: 10d162b2ed39 ("rtw88: 8822c: add ieee80211_ops::hw_scan")
> Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>

3 patches applied to wireless-next.git, thanks.

a12f809968db rtw88: check for validity before using a pointer
c17f27167b4c rtw88: fix idle mode flow for hw scan
d95984b5580d rtw88: fix memory overrun and memory leak during hw_scan

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20220121070813.9656-2-pkshih@realtek.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic