Re: [syzbot] general protection fault in kcm_sendmsg

From: Pavel Skripkin
Date: Mon Jun 07 2021 - 13:46:50 EST


On Mon, 07 Jun 2021 08:46:26 -0700
syzbot <syzbot+65badd5e74ec62cb67dc@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

> Hello,
>
> syzbot found the following issue on:
>
> HEAD commit: 1a802423 virtio-net: fix for skb_over_panic inside
> big mode git tree: bpf
> console output:
> https://syzkaller.appspot.com/x/log.txt?x=159b08afd00000 kernel
> config: https://syzkaller.appspot.com/x/.config?x=770708ea7cfd4916
> dashboard link:
> https://syzkaller.appspot.com/bug?extid=65badd5e74ec62cb67dc syz
> repro:
> https://syzkaller.appspot.com/x/repro.syz?x=104624afd00000 C
> reproducer: https://syzkaller.appspot.com/x/repro.c?x=16e36197d00000
>
> The issue was bisected to:
>
> commit f9006acc8dfe59e25aa75729728ac57a8d84fc32
> Author: Florian Westphal <fw@xxxxxxxxx>
> Date: Wed Apr 21 07:51:08 2021 +0000
>
> netfilter: arp_tables: pass table pointer via nf_hook_ops
>

It's c47cc304990a ("net: kcm: fix memory leak in kcm_sendmsg") where
the bug was introduced by me :(

I've already sent a revert




With regards,
Pavel Skripkin