[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1938318038.39428333.1562426342706.JavaMail.zimbra@redhat.com>
Date: Sat, 6 Jul 2019 11:19:02 -0400 (EDT)
From: Vladis Dronov <vdronov@...hat.com>
To: Marcel Holtmann <marcel@...tmann.org>
Cc: Johan Hedberg <johan.hedberg@...il.com>,
linux-bluetooth@...r.kernel.org, linux-kernel@...r.kernel.org,
syzbot+79337b501d6aa974d0f6@...kaller.appspotmail.com,
stable@...r.kernel.org, Loic Poulain <loic.poulain@...el.com>,
Ilya Faenson <ifaenson@...adcom.com>
Subject: Re: [PATCH] Bluetooth: hci_ldisc: check for missing tty operations
Hello, Marcel,
I totally agree, the same came to my mind some time after sending the patch.
Let me send a v2 in a while with drivers checking for needed tty operations
presence.
Best regards,
Vladis Dronov | Red Hat, Inc. | The Core Kernel | Senior Software Engineer
----- Original Message -----
> From: "Marcel Holtmann" <marcel@...tmann.org>
> To: "Vladis Dronov" <vdronov@...hat.com>
> Cc: "Johan Hedberg" <johan.hedberg@...il.com>, linux-bluetooth@...r.kernel.org, linux-kernel@...r.kernel.org,
> syzbot+79337b501d6aa974d0f6@...kaller.appspotmail.com, stable@...r.kernel.org, "Loic Poulain"
> <loic.poulain@...el.com>, "Ilya Faenson" <ifaenson@...adcom.com>
> Sent: Saturday, July 6, 2019 12:35:39 PM
> Subject: Re: [PATCH] Bluetooth: hci_ldisc: check for missing tty operations
>
> Hi Vladis,
>
> > Certain ttys lack operations (eg: pty_unix98_ops) which still can be
> > called by certain hci uart proto (eg: mrvl, ath). Currently this leads
> > to execution at address 0x0. Fix this by adding checks for missing tty
> > operations.
>
> so I really prefer that we just fail setting the line discipline. These
> drivers need to check that the underlying transport has all the operations
> available they need. We can not just ignore them.
>
> Regards
>
> Marcel
Powered by blists - more mailing lists