Re: KASAN: slab-out-of-bounds Read in bitmap_ip_add

From: Cong Wang
Date: Fri Jan 31 2020 - 16:02:22 EST


On Fri, Jan 31, 2020 at 12:58 PM Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> On Sun, Jan 26, 2020 at 8:01 PM syzbot
> <syzbot+f3e96783d74ee8ea9aa3@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > syzbot has bisected this bug to:
>
> Ok, the bisection is obviously bogus - it just points to where the
> KASAN support was added to _notice_ the problem.
>
> But is somebody looking at the actual KASAN report itself?

It is supposed to be fixed by:

commit 32c72165dbd0e246e69d16a3ad348a4851afd415
Author: Kadlecsik JÃzsef <kadlec@xxxxxxxxxxxxxxxxx>
Date: Sun Jan 19 22:06:49 2020 +0100

netfilter: ipset: use bitmap infrastructure completely

Thanks.