[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87c08115-06e0-6734-887a-7ae4e97fe5ab@linux.intel.com>
Date: Thu, 30 Sep 2021 12:24:10 +0300
From: Mathias Nyman <mathias.nyman@...ux.intel.com>
To: Johan Hovold <johan@...nel.org>,
Mathias Nyman <mathias.nyman@...el.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
stable@...r.kernel.org, Lu Baolu <baolu.lu@...ux.intel.com>
Subject: Re: [PATCH] USB: xhci: dbc: fix tty registration race
On 28.9.2021 15.04, Johan Hovold wrote:
> Make sure to allocate resources before registering the tty device to
> avoid having a racing open() and write() fail to enable rx or
> dereference a NULL pointer when accessing the uninitialised fifo.
>
> Fixes: dfba2174dc42 ("usb: xhci: Add DbC support in xHCI driver")
> Cc: stable@...r.kernel.org # 4.16
> Cc: Lu Baolu <baolu.lu@...ux.intel.com>
> Signed-off-by: Johan Hovold <johan@...nel.org>
Thanks, adding to queue
-Mathias
Powered by blists - more mailing lists