Re: general protection fault in xsk_map_update_elem

From: Daniel Borkmann
Date: Mon Sep 23 2019 - 18:51:03 EST


On Mon, Sep 23, 2019 at 08:49:11AM -0700, syzbot wrote:
> Hello,
>
> syzbot found the following crash on:
>
> HEAD commit: b41dae06 Merge tag 'xfs-5.4-merge-7' of git://git.kernel.o..
> git tree: net-next
> console output: https://syzkaller.appspot.com/x/log.txt?x=130b25ad600000
> kernel config: https://syzkaller.appspot.com/x/.config?x=dfcf592db22b9132
> dashboard link: https://syzkaller.appspot.com/bug?extid=491c1b7565ba9069ecae
> compiler: gcc (GCC) 9.0.0 20181231 (experimental)
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=155a0c29600000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=172bf6d9600000
>
> The bug was bisected to:
>
> commit 0402acd683c678874df6bdbc23530ca07ea19353
> Author: Björn Töpel <bjorn.topel@xxxxxxxxx>
> Date: Thu Aug 15 09:30:13 2019 +0000
>
> xsk: remove AF_XDP socket from map when the socket is released

Bjorn, PTAL, thanks.