Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 22 Nov 2010 11:31:52 -0500 (EST)
From: Josh Bressers <>
Cc: "Steven M. Christey" <>
Subject: Re: CVE request: kernel: missing tty ops write
 function presence check in hci_uart_tty_open()

Please use CVE-2010-4242



----- "Eugene Teo" <> wrote:

> hci_uart_tty_open() is missing check that tty has a write op (a few 
> don't), and you should check this at open and refuse if the ops you
> need 
> don't exist, eg as SLIP does:
> static int slip_open(struct tty_struct *tty)
> {
>          struct slip *sl;
>          int err;
>          if (!capable(CAP_NET_ADMIN))
>                  return -EPERM;
>          if (tty->ops->write == NULL)
>                  return -EOPNOTSUPP;
> Thanks, Eugene

Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.