[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d41cad1d43074b858209f3d7227c4e14@realtek.com>
Date: Fri, 21 Jan 2022 07:14:30 +0000
From: Pkshih <pkshih@...ltek.com>
To: Pkshih <pkshih@...ltek.com>,
Muhammad Usama Anjum <usama.anjum@...labora.com>,
Yan-Hsuan Chuang <tony0620emma@...il.com>,
Kalle Valo <kvalo@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Bernie Huang <phhuang@...ltek.com>,
"open list:REALTEK WIRELESS DRIVER (rtw88)"
<linux-wireless@...r.kernel.org>,
"open list:NETWORKING DRIVERS" <netdev@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>
CC: "kernel@...labora.com" <kernel@...labora.com>
Subject: RE: [PATCH v3] rtw88: check for validity before using a pointer
> -----Original Message-----
> From: Pkshih <pkshih@...ltek.com>
> Sent: Friday, December 24, 2021 5:01 PM
> To: Muhammad Usama Anjum <usama.anjum@...labora.com>; Yan-Hsuan Chuang <tony0620emma@...il.com>; Kalle
> Valo <kvalo@...nel.org>; David S. Miller <davem@...emloft.net>; Jakub Kicinski <kuba@...nel.org>; Bernie
> Huang <phhuang@...ltek.com>; open list:REALTEK WIRELESS DRIVER (rtw88) <linux-wireless@...r.kernel.org>;
> open list:NETWORKING DRIVERS <netdev@...r.kernel.org>; open list <linux-kernel@...r.kernel.org>
> Cc: kernel@...labora.com
> Subject: RE: [PATCH v3] rtw88: check for validity before using a pointer
>
> > -----Original Message-----
> > From: Muhammad Usama Anjum <usama.anjum@...labora.com>
> > Sent: Friday, December 24, 2021 4:55 PM
> > To: Yan-Hsuan Chuang <tony0620emma@...il.com>; Kalle Valo <kvalo@...nel.org>; David S. Miller
> > <davem@...emloft.net>; Jakub Kicinski <kuba@...nel.org>; Pkshih <pkshih@...ltek.com>; Bernie Huang
> > <phhuang@...ltek.com>; open list:REALTEK WIRELESS DRIVER (rtw88) <linux-wireless@...r.kernel.org>; open
> > list:NETWORKING DRIVERS <netdev@...r.kernel.org>; open list <linux-kernel@...r.kernel.org>
> > Cc: usama.anjum@...labora.com; kernel@...labora.com
> > Subject: [PATCH v3] rtw88: check for validity before using a pointer
> >
> > 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@...labora.com>
>
> Acked-by: Ping-Ke Shih <pkshih@...ltek.com>
>
> [...]
>
I take this patch into my patchset [1], because my new patches are based this patch
related to fixes of hw_scan.
[1] https://lore.kernel.org/linux-wireless/20220121070813.9656-2-pkshih@realtek.com/T/#u
--
Ping-Ke
Powered by blists - more mailing lists