[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YDjLckoJ6q6JYwIV@kroah.com>
Date: Fri, 26 Feb 2021 11:20:34 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Johan Hovold <johan@...nel.org>
Cc: linux-usb@...r.kernel.org,
Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
linux-kernel@...r.kernel.org,
Manivannan Sadhasivam <mani@...nel.org>
Subject: Re: [PATCH] USB: serial: xr: fix NULL-deref on disconnect
On Fri, Feb 26, 2021 at 11:08:26AM +0100, Johan Hovold wrote:
> Claiming the sibling control interface is a bit more involved and
> specifically requires adding support to USB-serial core for managing
> either interface being unbound first, something which could otherwise
> lead to a NULL-pointer dereference.
>
> Similarly, additional infrastructure is also needed to handle suspend
> properly.
>
> Since the driver currently isn't actually using the control interface,
> we can defer this for now by simply not claiming the control interface.
>
> Fixes: c2d405aa86b4 ("USB: serial: add MaxLinear/Exar USB to Serial driver")
> Reported-by: Mauro Carvalho Chehab <mchehab+huawei@...nel.org>
> Cc: Manivannan Sadhasivam <mani@...nel.org>
> Signed-off-by: Johan Hovold <johan@...nel.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Powered by blists - more mailing lists