All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: ebiggers@kernel.org
Cc: arnd@arndb.de, viro@zeniv.linux.org.uk, paulus@samba.org,
	bpf@vger.kernel.org, linux-fsdevel@vger.kernel.org,
	linux-ppp@vger.kernel.org, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	syzbot+eb853b51b10f1befa0b7@syzkaller.appspotmail.com,
	syzkaller-bugs@googlegroups.com
Subject: Re: [PATCH] ppp: fix out-of-bounds access in bpf_prog_create()
Date: Thu, 05 Dec 2019 14:45:40 -0800 (PST)	[thread overview]
Message-ID: <20191205.144540.791142390544922677.davem@davemloft.net> (raw)
In-Reply-To: <20191205055419.13435-1-ebiggers@kernel.org>

From: Eric Biggers <ebiggers@kernel.org>
Date: Wed,  4 Dec 2019 21:54:19 -0800

> From: Eric Biggers <ebiggers@google.com>
> 
> sock_fprog_kern::len is in units of struct sock_filter, not bytes.
> 
> Fixes: 3e859adf3643 ("compat_ioctl: unify copy-in of ppp filters")
> Reported-by: syzbot+eb853b51b10f1befa0b7@syzkaller.appspotmail.com
> Signed-off-by: Eric Biggers <ebiggers@google.com>

Applied, thank you.

WARNING: multiple messages have this Message-ID (diff)
From: David Miller <davem@davemloft.net>
To: ebiggers@kernel.org
Cc: arnd@arndb.de, viro@zeniv.linux.org.uk, paulus@samba.org,
	bpf@vger.kernel.org, linux-fsdevel@vger.kernel.org,
	linux-ppp@vger.kernel.org, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	syzbot+eb853b51b10f1befa0b7@syzkaller.appspotmail.com,
	syzkaller-bugs@googlegroups.com
Subject: Re: [PATCH] ppp: fix out-of-bounds access in bpf_prog_create()
Date: Thu, 05 Dec 2019 22:45:40 +0000	[thread overview]
Message-ID: <20191205.144540.791142390544922677.davem@davemloft.net> (raw)
In-Reply-To: <20191205055419.13435-1-ebiggers@kernel.org>

From: Eric Biggers <ebiggers@kernel.org>
Date: Wed,  4 Dec 2019 21:54:19 -0800

> From: Eric Biggers <ebiggers@google.com>
> 
> sock_fprog_kern::len is in units of struct sock_filter, not bytes.
> 
> Fixes: 3e859adf3643 ("compat_ioctl: unify copy-in of ppp filters")
> Reported-by: syzbot+eb853b51b10f1befa0b7@syzkaller.appspotmail.com
> Signed-off-by: Eric Biggers <ebiggers@google.com>

Applied, thank you.

  parent reply	other threads:[~2019-12-05 22:45 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-17 18:49 KASAN: slab-out-of-bounds Read in bpf_prog_create syzbot
2019-09-17 18:49 ` syzbot
2019-09-28  3:15 ` Eric Biggers
2019-09-28  3:15   ` Eric Biggers
2019-12-05  5:22   ` Eric Biggers
2019-12-05  5:22     ` Eric Biggers
2019-12-05  5:54     ` [PATCH] ppp: fix out-of-bounds access in bpf_prog_create() Eric Biggers
2019-12-05  5:54       ` Eric Biggers
2019-12-05  9:07       ` Arnd Bergmann
2019-12-05  9:07         ` Arnd Bergmann
2019-12-05 22:45       ` David Miller [this message]
2019-12-05 22:45         ` David Miller
2019-12-05  9:08     ` KASAN: slab-out-of-bounds Read in bpf_prog_create Arnd Bergmann
2019-12-05  9:08       ` Arnd Bergmann

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=20191205.144540.791142390544922677.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=arnd@arndb.de \
    --cc=bpf@vger.kernel.org \
    --cc=ebiggers@kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-ppp@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=paulus@samba.org \
    --cc=syzbot+eb853b51b10f1befa0b7@syzkaller.appspotmail.com \
    --cc=syzkaller-bugs@googlegroups.com \
    --cc=viro@zeniv.linux.org.uk \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.