[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200210182755.GA1048334@kroah.com>
Date: Mon, 10 Feb 2020 10:27:55 -0800
From: Greg KH <gregkh@...uxfoundation.org>
To: Larry Finger <Larry.Finger@...inger.net>
Cc: netdev@...r.kernel.org, devel@...verdev.osuosl.org,
Pietro Oliva <pietroliva@...il.com>,
Stable <stable@...r.kernel.org>
Subject: Re: [PATCH 4/6] staging: rtl8723bs: Fix potential overuse of kernel
memory
On Mon, Feb 10, 2020 at 12:02:33PM -0600, Larry Finger wrote:
> In routine wpa_supplicant_ioctl(), the user-controlled p->length is
> checked to be at least the size of struct ieee_param size, but the code
> does not detect the case where p->length is greater than the size
> of the struct, thus a malicious user could be wasting kernel memory.
> Fixes commit 554c0a3abf216 ("staging: Add rtl8723bs sdio wifi driver").
>
> Reported by: Pietro Oliva <pietroliva@...il.com>
> Cc: Pietro Oliva <pietroliva@...il.com>
> Cc: Stable <stable@...r.kernel.org>
> Fixes: 554c0a3abf216 ("staging: Add rtl8723bs sdio wifi driver").
> Signed-off-by: Larry Finger <Larry.Finger@...inger.net>
> -# Please enter the commit message for your changes. Lines starting
> ---
Funny line :)
I'll go edit it...
thanks,
greg k-h
Powered by blists - more mailing lists