Re: WARNING: kmalloc bug in bpf_prog_array_copy_info

From: Daniel Borkmann
Date: Wed Feb 14 2018 - 07:36:55 EST


On 02/14/2018 12:59 AM, syzbot wrote:
> Hello,
>
> syzbot hit the following crash on bpf-next commit
> 7928b2cbe55b2a410a0f5c1f154610059c57b1b2 (Sun Feb 11 23:04:29 2018 +0000)
> Linux 4.16-rc1
>
> So far this crash happened 362 times on bpf-next.
> C reproducer is attached.
> syzkaller reproducer is attached.
> Raw console output is attached.
> compiler: gcc (GCC) 7.1.1 20170620
> .config is attached.

Will send a fix for this in a bit.