Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1596576imm; Fri, 6 Jul 2018 03:04:05 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfRJ2EFp7LutAM0/FOt8FAuICsmpnM2PpST+sjVkfmc1/bboNxiJBYqoiMWZaeKP/2DbC+g X-Received: by 2002:a63:5866:: with SMTP id i38-v6mr8903125pgm.63.1530871445883; Fri, 06 Jul 2018 03:04:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530871445; cv=none; d=google.com; s=arc-20160816; b=Reti0BFXRvsKJCmWZXfShHTkGKAk+SBpsvdAAv9e5pL7VCoyhXwXTvPRGLxbvqxDjO pyI2wABXrrWsytfEAOvlJj6VU3gh/POxUHSHxQydP7TyVhX0BpL44g+Unql52hFZJ3Dn gw/bbwguQZMi0SGqp0aXnnDeAEE8Rt+BXrMcr++7SenrT271oFE4n8zJ253yOCNjoOjZ txq5ZZI91wKYTJRy01/pdLX6v4tsPKaWRVl6WBe1K9na7m3fsB0w3DiE3RIlEiU3u8VN B5Ki3Rw1fyUtaWlDLF9qNYEaZpW66NiY/hb2fjZYk+E3QI2Yc9uKN/S0CevCZZ4/rAQV VcaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:from:subject:message-id:in-reply-to :date:mime-version:arc-authentication-results; bh=B71XJkvIaU8M3TzNuiJ7t59olbHSPtpn+o2uAvxM0rg=; b=rwweb8noB0038bGK8wM/xDKPAesBnjdjU6xHSpWqHf1RtwcqqSFcRYKSrFxTMOsuio 5Q1c7Y5RRqMEbuK2sN64zJcGechVjPrPUKSyX5BkxV2wJ+go+5XOVE591sUFeIXYBprH paGlYBIWGlGOG2yjwEfvutZGij1dgDXRr0cChJvCQmPX6OJFXhqaq6PIpf1hgS5m3DEf Gx4hkO6SA/uMeFLVexVsgBZ5a+PubRyq0ND3tHONRcWEozE6vK8fUNvapWPNTleuF2fF nox2tUebufMkGyjP/VQNXWSG0yt0/bLRvJAMBYy/XMqPsVsKMyxsnwxyikOYgVuQMOKa 5Wbg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o25-v6si8736235pfi.279.2018.07.06.03.03.50; Fri, 06 Jul 2018 03:04:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754125AbeGFKCF (ORCPT + 99 others); Fri, 6 Jul 2018 06:02:05 -0400 Received: from mail-it0-f69.google.com ([209.85.214.69]:33336 "EHLO mail-it0-f69.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753553AbeGFKCD (ORCPT ); Fri, 6 Jul 2018 06:02:03 -0400 Received: by mail-it0-f69.google.com with SMTP id p82-v6so565922itc.0 for ; Fri, 06 Jul 2018 03:02:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:in-reply-to:message-id:subject :from:to; bh=B71XJkvIaU8M3TzNuiJ7t59olbHSPtpn+o2uAvxM0rg=; b=j+2GCv0nFMPvhxPMrhBr/upV8jqmGzs9StCR1X7l+bPIa8ZEPfLAtttU5SJRQCSinu bR9gVUfI0Oxu0jp5Z/QtrCWpciiNxW7FDEkLRwMORKXrMVyQuc+hlVaExCVdBJlsvzlu JAuKU3n6yPfboXz/QFpjeg26iXV3sqJ91efEdYuP5uHLPoj81HjGoFGucREHofQT8IAe qmtVkMBuVtZpmcaZY2vzwzHYGsaT29qewhQXcPdjYlRq3lWrGyn7T5J9wyRqcmuxO8Ci RD1jkO01yugHXhtqh6GmQ0s5fRsviLghN0qrnTRjSyVMe0S2yWuGMcdYShfK5KTu6mTd 0G5A== X-Gm-Message-State: AOUpUlFQyRM0b4qkY4q1towHGEoGlbF0sxsBz5OM0r2cGbL1QlGZX/ID o0d4wunNf6Dqg4vXtwqhX0yzC98zcWQPkQOk2XJFK17s9iPH MIME-Version: 1.0 X-Received: by 2002:a6b:5d1c:: with SMTP id r28-v6mr4073617iob.47.1530871322556; Fri, 06 Jul 2018 03:02:02 -0700 (PDT) Date: Fri, 06 Jul 2018 03:02:02 -0700 In-Reply-To: <00000000000098e65b056d184a11@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <00000000000060bff7057051c10c@google.com> Subject: Re: general protection fault in bpf_tcp_close From: syzbot To: ast@kernel.org, daniel@iogearbox.net, dvyukov@google.com, john.fastabend@gmail.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org syzbot has found a reproducer for the following crash on: HEAD commit: 6fcf9b1d4d6c r8169: fix runtime suspend git tree: bpf-next console output: https://syzkaller.appspot.com/x/log.txt?x=1600b10c400000 kernel config: https://syzkaller.appspot.com/x/.config?x=d264f2b04177ca7c dashboard link: https://syzkaller.appspot.com/bug?extid=0ce137753c78f7b6acc1 compiler: gcc (GCC) 8.0.1 20180413 (experimental) syzkaller repro:https://syzkaller.appspot.com/x/repro.syz?x=15ba0a1c400000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=100c8170400000 IMPORTANT: if you fix the bug, please add the following tag to the commit: Reported-by: syzbot+0ce137753c78f7b6acc1@syzkaller.appspotmail.com IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready IPv6: ADDRCONF(NETDEV_UP): team0: link is not ready 8021q: adding VLAN 0 to HW filter on device team0 kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP KASAN CPU: 1 PID: 4705 Comm: syz-executor133 Not tainted 4.18.0-rc3+ #47 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:bpf_tcp_close+0x215/0x1050 kernel/bpf/sockmap.c:327 Code: ------------[ cut here ]------------ Bad or missing usercopy whitelist? Kernel memory overwrite attempt detected to SLAB object 'TCPv6' (offset 704, size 64)! WARNING: CPU: 1 PID: 4705 at mm/usercopy.c:81 usercopy_warn+0xf5/0x120 mm/usercopy.c:76 Kernel panic - not syncing: panic_on_warn set ... Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..