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

From: Linus Torvalds
Date: Fri Jan 31 2020 - 16:07:17 EST


On Fri, Jan 31, 2020 at 1:02 PM Cong Wang <xiyou.wangcong@xxxxxxxxx> wrote:
>
> It is supposed to be fixed by commit 32c72165dbd0

Ahh, thanks, I missed that. I actually looked at the current code and
saw the bitmap_zalloc() and it all looked fine, and assumed there was
some other bug in the elements calculation.

I didn't realize that it looked fine because it had already been fixed.

Thanks,
Linus