From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 55332C04A6B for ; Wed, 8 May 2019 03:36:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2D0BC21479 for ; Wed, 8 May 2019 03:36:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726589AbfEHDgI (ORCPT ); Tue, 7 May 2019 23:36:08 -0400 Received: from mail-it1-f198.google.com ([209.85.166.198]:55735 "EHLO mail-it1-f198.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726704AbfEHDgI (ORCPT ); Tue, 7 May 2019 23:36:08 -0400 Received: by mail-it1-f198.google.com with SMTP id m6so1039760ita.5 for ; Tue, 07 May 2019 20:36:07 -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:message-id:subject:from:to; bh=KR7SjWeKIVJSZZfugT4Rrs+wlNSn+k9qrHxo14q1uCU=; b=XaLGOicijHzf9+QtwHnmJbxnng/0XBbmsz6Vv03i4rBw9QCMl/d1TX2ANqeEiR+uvS kd90rqnS9GjNhT/z+Q7NbboLr/uXW703Gqi5Xnykc5dYKVtE9XYpcUSM235+qn5onNkn z9OksXJMx3W9U6Mmf8XbhLSCh1/w1D6SGmfOyRmwKl+1XxfEccGsIWauO+sDHvikocyp EfpOxEil03YJk9b/nd+IsgObuHTD/5b+OEtEcYZdjNgyI9g3gwVd1c4+LNvdo6q0C+QG rYEqXFEI2PrNdi7w3M+fb6B0Jc1b9HFSe2JYoKiRVanb6HqxLgNZ+cKFbIb+HSR4SxtP zs/w== X-Gm-Message-State: APjAAAUj8wrTBKGM5XzLXuCjj+i0Yv93bE5UTyIBZnUhZ+2YT7hjvXE6 p/0ri3ZGevv61YXR/J7eVBaLzVq9NdJ9mpmS+7fvUZVXzfxl X-Google-Smtp-Source: APXvYqz0fzEBcXbXDCY8ir4qdX8oRihjfUlzyeiFA0YPlKTCLDt/j2AGvjwVFFXjpYyWi+TtiVwSZE8itFTggDQNy84vs8HI3E4+ MIME-Version: 1.0 X-Received: by 2002:a02:1384:: with SMTP id 126mr24318806jaz.72.1557286567342; Tue, 07 May 2019 20:36:07 -0700 (PDT) Date: Tue, 07 May 2019 20:36:07 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000a8fa360588580820@google.com> Subject: WARNING in bpf_prog_kallsyms_find From: syzbot To: ast@kernel.org, bpf@vger.kernel.org, daniel@iogearbox.net, davem@davemloft.net, hawk@kernel.org, jakub.kicinski@netronome.com, john.fastabend@gmail.com, kafai@fb.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, songliubraving@fb.com, syzkaller-bugs@googlegroups.com, xdp-newbies@vger.kernel.org, yhs@fb.com Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hello, syzbot found the following crash on: HEAD commit: 8ff468c2 Merge branch 'x86-fpu-for-linus' of git://git.ker.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=13e51ef0a00000 kernel config: https://syzkaller.appspot.com/x/.config?x=5d0ca84763a42813 dashboard link: https://syzkaller.appspot.com/bug?extid=89d1ce6e80218a6192d8 compiler: gcc (GCC) 9.0.0 20181231 (experimental) syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1723cef0a00000 IMPORTANT: if you fix the bug, please add the following tag to the commit: Reported-by: syzbot+89d1ce6e80218a6192d8@syzkaller.appspotmail.com WARNING: CPU: 0 PID: 7933 at kernel/bpf/core.c:853 bpf_jit_free+0x157/0x1b0 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 7933 Comm: kworker/0:4 Not tainted 5.1.0+ #2 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events bpf_prog_free_deferred Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x172/0x1f0 lib/dump_stack.c:113 panic+0x2cb/0x65c kernel/panic.c:214 BUG: unable to handle page fault for address: fffffbfff4007000 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 21ffee067 P4D 21ffee067 PUD 21ffed067 PMD 95fcc067 PTE 0 Oops: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 7933 Comm: kworker/0:4 Not tainted 5.1.0+ #2 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events bpf_prog_free_deferred RIP: 0010:bpf_get_prog_addr_region kernel/bpf/core.c:539 [inline] RIP: 0010:bpf_tree_comp kernel/bpf/core.c:602 [inline] RIP: 0010:__lt_find include/linux/rbtree_latch.h:115 [inline] RIP: 0010:latch_tree_find include/linux/rbtree_latch.h:208 [inline] RIP: 0010:bpf_prog_kallsyms_find kernel/bpf/core.c:676 [inline] RIP: 0010:bpf_prog_kallsyms_find+0x1a0/0x2c0 kernel/bpf/core.c:669 Code: 75 07 e8 03 16 f5 ff 0f 0b e8 fc 15 f5 ff 48 89 de 4c 89 f7 e8 11 17 f5 ff 49 39 de 72 71 e8 e7 15 f5 ff 48 89 d8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 74 08 3c 03 0f 8e e6 00 00 00 8b 33 4c 89 f7 RSP: 0018:ffff888098ef7850 EFLAGS: 00010806 RAX: 1ffffffff4007000 RBX: ffffffffa0038000 RCX: ffffffff817b5f0f RDX: 0000000000000000 RSI: ffffffff817b5f19 RDI: 0000000000000006 RBP: ffff888098ef7890 R08: ffff88808fda0040 R09: ffffed1015d06be0 R10: ffffed1015d06bdf R11: ffff8880ae835efb R12: ffff88808f9be878 R13: dffffc0000000000 R14: ffffffffffffffff R15: ffff88808f9be878 FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffbfff4007000 CR3: 0000000096d4c000 CR4: 00000000001406f0 Call Trace: BUG: unable to handle page fault for address: fffffbfff4007000 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 21ffee067 P4D 21ffee067 PUD 21ffed067 PMD 95fcc067 PTE 0 Oops: 0000 [#2] PREEMPT SMP KASAN --- This bug is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this bug report. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. syzbot can test patches for this bug, for details see: https://goo.gl/tpsmEJ#testing-patches