[prev in list] [next in list] [prev in thread] [next in thread] 

List:       oss-security
Subject:    Re: [oss-security] CVE request: kernel: missing tty ops write
From:       Josh Bressers <bressers () redhat ! com>
Date:       2010-11-22 16:31:52
Message-ID: 1548541606.114921290443512775.JavaMail.root () zmail01 ! collab ! prod ! int ! phx2 ! redhat ! com
[Download RAW message or body]

Please use CVE-2010-4242

Thanks.

-- 
    JB


----- "Eugene Teo" <eugene@redhat.com> 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;
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=641410
> http://git.kernel.org/linus/c19483cc5e56ac5e22dd19cf25ba210ab1537773
> 
> Thanks, Eugene
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic