Re: KASAN: null-ptr-deref Write in xdp_umem_unaccount_pages

From: Daniel Borkmann
Date: Fri Jun 08 2018 - 05:50:27 EST


On 06/07/2018 08:17 PM, syzbot wrote:
> Hello,
>
> syzbot found the following crash on:
>
> HEAD commit:ÂÂÂ 1c8c5a9d38f6 Merge git://git.kernel.org/pub/scm/linux/kern..
> git tree:ÂÂÂÂÂÂ upstream
> console output: https://syzkaller.appspot.com/x/log.txt?x=13a72bdf800000
> kernel config:Â https://syzkaller.appspot.com/x/.config?x=4f1acdf888c9d4e9
> dashboard link: https://syzkaller.appspot.com/bug?extid=979217770b09ebf5c407
> compiler:ÂÂÂÂÂÂ gcc (GCC) 8.0.1 20180413 (experimental)
> syzkaller repro:https://syzkaller.appspot.com/x/repro.syz?x=12aca2af800000
> C reproducer:ÂÂ https://syzkaller.appspot.com/x/repro.c?x=161d4ddf800000
>
> IMPORTANT: if you fix the bug, please add the following tag to the commit:
> Reported-by: syzbot+979217770b09ebf5c407@xxxxxxxxxxxxxxxxxxxxxxxxx

#syz fix: bpf, xdp: fix crash in xdp_umem_unaccount_pages