[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191205.144540.791142390544922677.davem@davemloft.net>
Date: Thu, 05 Dec 2019 14:45:40 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: ebiggers@...nel.org
Cc: arnd@...db.de, viro@...iv.linux.org.uk, paulus@...ba.org,
bpf@...r.kernel.org, linux-fsdevel@...r.kernel.org,
linux-ppp@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
syzbot+eb853b51b10f1befa0b7@...kaller.appspotmail.com,
syzkaller-bugs@...glegroups.com
Subject: Re: [PATCH] ppp: fix out-of-bounds access in bpf_prog_create()
From: Eric Biggers <ebiggers@...nel.org>
Date: Wed, 4 Dec 2019 21:54:19 -0800
> From: Eric Biggers <ebiggers@...gle.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@...kaller.appspotmail.com
> Signed-off-by: Eric Biggers <ebiggers@...gle.com>
Applied, thank you.
Powered by blists - more mailing lists