mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Vladis Dronov <vdronov@redhat.com>
Cc: Johan Hedberg <johan.hedberg@gmail.com>,
	linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org,
	syzbot+79337b501d6aa974d0f6@syzkaller.appspotmail.com,
	stable@vger.kernel.org, Loic Poulain <loic.poulain@intel.com>,
	Ilya Faenson <ifaenson@broadcom.com>
Subject: Re: [PATCH] Bluetooth: hci_ldisc: check for missing tty operations
Date: Sat, 6 Jul 2019 12:35:39 +0200	[thread overview]
Message-ID: <37673EE8-2391-425D-9957-D6FDAEFB03FA@holtmann.org> (raw)
In-Reply-To: <20190625173215.25999-1-vdronov@redhat.com>

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


  reply	other threads:[~2019-07-06 10:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-25 17:32 Vladis Dronov
2019-07-06 10:35 ` Marcel Holtmann [this message]
2019-07-06 15:19   ` Vladis Dronov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=37673EE8-2391-425D-9957-D6FDAEFB03FA@holtmann.org \
    --to=marcel@holtmann.org \
    --cc=ifaenson@broadcom.com \
    --cc=johan.hedberg@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=loic.poulain@intel.com \
    --cc=stable@vger.kernel.org \
    --cc=syzbot+79337b501d6aa974d0f6@syzkaller.appspotmail.com \
    --cc=vdronov@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®