[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d7a8d93b-b5d6-dd47-3d9c-ce8afe835bc8@gmail.com>
Date: Mon, 2 Jul 2018 11:55:36 -0700
From: John Fastabend <john.fastabend@...il.com>
To: syzbot <syzbot+31025a5f3f7650081204@...kaller.appspotmail.com>,
ast@...nel.org, daniel@...earbox.net, netdev@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: Re: KASAN: use-after-free Write in bpf_tcp_close
On 05/27/2018 01:06 PM, syzbot wrote:
> Hello,
>
> syzbot found the following crash on:
>
> HEAD commit: ff4fb475cea8 Merge branch 'btf-uapi-cleanups'
> git tree: bpf-next
> console output: https://syzkaller.appspot.com/x/log.txt?x=12b3d577800000
> kernel config: https://syzkaller.appspot.com/x/.config?x=b632d8e2c2ab2c1
> dashboard link: https://syzkaller.appspot.com/bug?extid=31025a5f3f7650081204
> compiler: gcc (GCC) 8.0.1 20180413 (experimental)
> syzkaller repro:https://syzkaller.appspot.com/x/repro.syz?x=109a2f37800000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=171a727b800000
>
> IMPORTANT: if you fix the bug, please add the following tag to the commit:
> Reported-by: syzbot+31025a5f3f7650081204@...kaller.appspotmail.com
>
> ==================================================================
> BUG: KASAN: use-after-free in cmpxchg_size include/asm-generic/atomic-instrumented.h:355 [inline]
> BUG: KASAN: use-after-free in bpf_tcp_close+0x6f5/0xf80 kernel/bpf/sockmap.c:265
> Write of size 8 at addr ffff8801ca277680 by task syz-executor749/9723
#syz fix: bpf: sockhash fix omitted bucket lock in sock_close
Powered by blists - more mailing lists