[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191001.210814.415335033876213685.davem@davemloft.net>
Date: Tue, 01 Oct 2019 21:08:14 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: johan@...nel.org
Cc: linux-usb@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net] hso: fix NULL-deref on tty open
From: Johan Hovold <johan@...nel.org>
Date: Mon, 30 Sep 2019 17:12:41 +0200
> Fix NULL-pointer dereference on tty open due to a failure to handle a
> missing interrupt-in endpoint when probing modem ports:
>
> BUG: kernel NULL pointer dereference, address: 0000000000000006
> ...
> RIP: 0010:tiocmget_submit_urb+0x1c/0xe0 [hso]
> ...
> Call Trace:
> hso_start_serial_device+0xdc/0x140 [hso]
> hso_serial_open+0x118/0x1b0 [hso]
> tty_open+0xf1/0x490
>
> Fixes: 542f54823614 ("tty: Modem functions for the HSO driver")
> Signed-off-by: Johan Hovold <johan@...nel.org>
Applied, thanks.
Powered by blists - more mailing lists