[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220519171628.GW4009@kadam>
Date: Thu, 19 May 2022 20:16:28 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: Denis Efremov <denis.e.efremov@...cle.com>,
Larry.Finger@...inger.net, phil@...lpotter.co.uk,
straube.linux@...il.com, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
stable <stable@...r.kernel.org>
Subject: Re: [PATCH] staging: r8188eu: prevent ->Ssid overflow in
rtw_wx_set_scan()
On Thu, May 19, 2022 at 05:45:31PM +0200, Greg KH wrote:
> On Wed, May 18, 2022 at 11:00:52AM +0400, Denis Efremov wrote:
> > This code has a check to prevent read overflow but it needs another
> > check to prevent writing beyond the end of the ->Ssid[] array.
> >
> > Fixes: 2b42bd58b321 ("staging: r8188eu: introduce new os_dep dir for RTL8188eu driver")
> > Cc: stable <stable@...r.kernel.org>
> > Signed-off-by: Denis Efremov <denis.e.efremov@...cle.com>
> > ---
> >
> > This patch is a copy of Dan's 74b6b20df8cf (CVE-2021-28660).
> > Drivers r8188eu and rtl8188eu share the same code.
>
> This does not apply to my tree at all. This file is not present anymore,
> what tree did you make it against?
>
That's weird. It applies fine for me on today's linux-next.
regards,
dan carpenter
Powered by blists - more mailing lists