Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp416332imm; Sat, 26 May 2018 02:29:25 -0700 (PDT) X-Google-Smtp-Source: AB8JxZprXGqFKytN1JOKQKz7+mLYcRcZ3buB6g+kwXRaG++GqDGfICa8zBfImOdU4+ybHfu7aNSv X-Received: by 2002:a62:8345:: with SMTP id h66-v6mr5925182pfe.0.1527326965134; Sat, 26 May 2018 02:29:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527326965; cv=none; d=google.com; s=arc-20160816; b=rT68zkZpZpHNlpslIGyqySZEeV8GE2opNaaUONJj6X9qA48eE8fjgkYrDmCcrAbD8Q JVDXvPRCH6i6XN8VKkYsjO/JIHZ5dHq4/Tn+Bdk1hyIyGC5iS81PYLl9Vdzax/9K22kM Ke8SqZG7dq2GnTPEp9rHr5KRxg+kM3dQvvS0RkRcXeUWl4HG8wFRYAT/4lgix1Vw8tiT 9YLLaYCL3roEi6VZObMBkoopAhy7IYI+TQGqihOJmJJQJ6MuW8TQ+e/JXOeJDGkf8je1 rmcZJjb8FM2m/EJkp6qf3ULmZK60kQTLM2FqFFeq4DJ0YjzBivfTeBXSqDu1Q+i13lbF YRIg== 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=+Y0/BIjEl0AYKdUw66frs2Q4iNFWeRzKQwMyyuf182w=; b=s4Y0E6QgWCV02Ifj5sHDwWIj4MtRFEXfbEbWzlDpuayL6mfgLeq3IIolsWVmjWkLLy gvDD8YelB3btZw/T0c1W2hsLpDvuepOx45xNenNw1At/fqmKDJhbNbNecSFYzN9pSTRw TnpteMJ39h9JZi21dsj63ehdydaLe3An9NqcFAuTuMyPVkmjAJg46tfWiSm/L6YGwvY3 ks3Kdq3bbyiwOFrbo5i7bzkf6q2XOTqTVD1qsoBCVQ9hRQ2Smn9nK5DJ3HmGdstU34sY BDi3YdHLePrcMZBSbbo5sxNy50KLLUgn0uT2u8T0ETshhVDQruWK3ROEYR3vPDxDSvnp u6Lw== 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 w2-v6si20394167pgs.676.2018.05.26.02.29.10; Sat, 26 May 2018 02:29:25 -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 S1031587AbeEZJ3D (ORCPT + 99 others); Sat, 26 May 2018 05:29:03 -0400 Received: from mail-io0-f199.google.com ([209.85.223.199]:35739 "EHLO mail-io0-f199.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031362AbeEZJ3C (ORCPT ); Sat, 26 May 2018 05:29:02 -0400 Received: by mail-io0-f199.google.com with SMTP id t9-v6so6405715ioa.2 for ; Sat, 26 May 2018 02:29: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=+Y0/BIjEl0AYKdUw66frs2Q4iNFWeRzKQwMyyuf182w=; b=UY3vs6ZLifsgvC92EMD7gpaPOw8UKq4+VL1FUuJObpDNW2SiBVfPSUC3QC3gehG26h oqHREngZ/10cQraXOB4Ma7Oq1xJFeJyIZEc0tei582fFXtM2TsFMPKKvx0O10t0AUNF0 a5IP1YRtYuU8v0iPWvZvJXKNyCautF1vHZQeRk1egD4E+MCTGE1AZ38LpXIDv7aBqPGN mMaSFg+7ielM4aoggypT142Ok1jdSf3QjcOuQvUrys+5MFQsq02rkfp6gux468/LeSuB F+yi67cTAK3kJ0QErrYrR4jQ5Lltd5YxDGZB82IQ/e0pBzIxW/tYIU82vCmOrKNq8DJQ ib7A== X-Gm-Message-State: ALKqPwf1fFOznbH0zJQw6tqyg1kWenXJM6M9K7lLL7Bp6KPbcTqa8s/X ahQ8fm5eOpWX3gl92qMxX7A4dvfGX5UoOdcM33JU7MyPYd+u MIME-Version: 1.0 X-Received: by 2002:a6b:1582:: with SMTP id 124-v6mr2657456iov.21.1527326941810; Sat, 26 May 2018 02:29:01 -0700 (PDT) Date: Sat, 26 May 2018 02:29:01 -0700 In-Reply-To: <0000000000003cdd01056d184e6e@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000d29a1c056d188355@google.com> Subject: Re: WARNING in bpf_int_jit_compile From: syzbot To: ast@kernel.org, daniel@iogearbox.net, davem@davemloft.net, hpa@zytor.com, kuznet@ms2.inr.ac.ru, linux-kernel@vger.kernel.org, mingo@redhat.com, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com, tglx@linutronix.de, x86@kernel.org, yoshfuji@linux-ipv6.org 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: 62d18ecfa641 Merge tag 'arm64-fixes' of git://git.kernel.o.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=14c6bf57800000 kernel config: https://syzkaller.appspot.com/x/.config?x=982e2df1b9e60b02 dashboard link: https://syzkaller.appspot.com/bug?extid=9e762b52dd17e616a7a5 compiler: gcc (GCC) 8.0.1 20180413 (experimental) syzkaller repro:https://syzkaller.appspot.com/x/repro.syz?x=130e42b7800000 IMPORTANT: if you fix the bug, please add the following tag to the commit: Reported-by: syzbot+9e762b52dd17e616a7a5@syzkaller.appspotmail.com RAX: ffffffffffffffda RBX: 0000000002542914 RCX: 0000000000455a09 RDX: 0000000000000048 RSI: 0000000020000240 RDI: 0000000000000005 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 R13: 0000000000000046 R14: 00000000006f4730 R15: 0000000000000023 WARNING: CPU: 0 PID: 4752 at include/linux/filter.h:667 bpf_jit_binary_lock_ro include/linux/filter.h:667 [inline] WARNING: CPU: 0 PID: 4752 at include/linux/filter.h:667 bpf_int_jit_compile+0xbf7/0xef7 arch/x86/net/bpf_jit_comp.c:1271 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 4752 Comm: syz-executor0 Not tainted 4.17.0-rc6+ #67 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1b9/0x294 lib/dump_stack.c:113 panic+0x22f/0x4de kernel/panic.c:184 __warn.cold.8+0x163/0x1b3 kernel/panic.c:536 report_bug+0x252/0x2d0 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:178 [inline] do_error_trap+0x1de/0x490 arch/x86/kernel/traps.c:296 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:315 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:992 RIP: 0010:bpf_jit_binary_lock_ro include/linux/filter.h:667 [inline] RIP: 0010:bpf_int_jit_compile+0xbf7/0xef7 arch/x86/net/bpf_jit_comp.c:1271 RSP: 0018:ffff8801d85ff920 EFLAGS: 00010293 RAX: ffff8801d78c40c0 RBX: 0000000000000046 RCX: ffffffff81445d89 RDX: 0000000000000000 RSI: ffffffff81445d97 RDI: 0000000000000005 RBP: ffff8801d85ffa40 R08: ffff8801d78c40c0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffc9000194e002 R13: ffff8801d85ffa18 R14: 00000000fffffff4 R15: 0000000000000003 bpf_prog_select_runtime+0x131/0x640 kernel/bpf/core.c:1541 bpf_prog_load+0x16c2/0x2070 kernel/bpf/syscall.c:1333 __do_sys_bpf kernel/bpf/syscall.c:2073 [inline] __se_sys_bpf kernel/bpf/syscall.c:2035 [inline] __x64_sys_bpf+0x389/0x4c0 kernel/bpf/syscall.c:2035 do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x455a09 RSP: 002b:00007ffec3da2868 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 0000000002542914 RCX: 0000000000455a09 RDX: 0000000000000048 RSI: 0000000020000240 RDI: 0000000000000005 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 R13: 0000000000000046 R14: 00000000006f4730 R15: 0000000000000023 Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..