lkml.org 
[lkml]   [2021]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] USB: xhci: dbc: fix tty registration race
From
Date
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@vger.kernel.org # 4.16
> Cc: Lu Baolu <baolu.lu@linux.intel.com>
> Signed-off-by: Johan Hovold <johan@kernel.org>

Thanks, adding to queue

-Mathias

\
 
 \ /
  Last update: 2021-09-30 11:22    [W:0.072 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site