Re: [PATCH v3] staging: rtl8723bs: prevent ->ssid overflow in rtw_wx_set_scan()

From: Greg KH
Date: Fri Aug 27 2021 - 09:10:56 EST


On Fri, Aug 27, 2021 at 08:50:59PM +0800, Wenlong Zhang wrote:
> Commit 74b6b20df8cf ("staging: rtl8188eu: prevent ->ssid overflow in rtw_wx_set_scan()")
> fixed up the staging driver rtl8188eu by adding another check
> to prevent writing beyond the end of the ->ssid[] array.
>
> Resolve this by properly fixing up the rtl8723bs driver's version of
> rtw_wx_set_scan()
>
> Fixes: 74b6b20df8cf ("staging: rtl8188eu: prevent ->ssid overflow in rtw_wx_set_scan()")
> Signed-off-by: Wenlong Zhang <yixiaonn@xxxxxxxxx>
> ---
> v3:
> - Added the changelogs for this patch.
> v2:
> - Fixed the description of this patch.
> Thanks Greg KH for the review and guidance

This doesn't apply against any tree that I can see. Neither my
staging-next or the 5.14-rc6 kernel release.

What did you make it against? Please rebase and resend it against at
the very least, 5.14-rc6.

thanks,

greg k-h