Hello,
syzbot found the following crash on:
HEAD commit: b850307b Linux 4.14.184
git tree: linux-4.14.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=10c2732f100000
kernel config:
https://syzkaller.appspot.com/x/.config?x=ddc0f08dd6b981c5
dashboard link:
https://syzkaller.appspot.com/bug?extid=399ba4bca24efd150158
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
Unfortunately, I don't have any reproducer for this crash yet.
IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by:
syzbot+399ba4...@syzkaller.appspotmail.com
RDX: 0000000000000048 RSI: 0000000020000100 RDI: 0000000000000005
RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003
R13: 0000000000000070 R14: 00000000004c34d0 R15: 00007f1742b526d4
------------[ cut here ]------------
WARNING: CPU: 0 PID: 9393 at include/linux/filter.h:612 bpf_prog_lock_ro include/linux/filter.h:612 [inline]
WARNING: CPU: 0 PID: 9393 at include/linux/filter.h:612 bpf_prog_select_runtime+0x3f1/0x4f0 kernel/bpf/core.c:1462
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 9393 Comm: syz-executor.2 Not tainted 4.14.184-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x1b2/0x283 lib/dump_stack.c:58
panic+0x1f9/0x42d kernel/panic.c:183
__warn.cold+0x2f/0x30 kernel/panic.c:547
report_bug+0x20a/0x248 lib/bug.c:186
fixup_bug arch/x86/kernel/traps.c:177 [inline]
fixup_bug arch/x86/kernel/traps.c:172 [inline]
do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964
RIP: 0010:bpf_prog_lock_ro include/linux/filter.h:612 [inline]
RIP: 0010:bpf_prog_select_runtime+0x3f1/0x4f0 kernel/bpf/core.c:1462
RSP: 0018:ffff88804fc1fbe8 EFLAGS: 00010212
RAX: 0000000000040000 RBX: ffffffff81640980 RCX: ffffc90006e8e000
RDX: 0000000000010c74 RSI: ffffffff8163a241 RDI: 0000000000000001
RBP: ffffc90005a68002 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffc90005a68000
R13: ffff88808907ea00 R14: 0000000000000001 R15: ffffffff8718b900
bpf_prog_load+0x609/0xe00 kernel/bpf/syscall.c:1062
SYSC_bpf kernel/bpf/syscall.c:1512 [inline]
SyS_bpf+0x12b2/0x34e0 kernel/bpf/syscall.c:1477
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x45cba9
RSP: 002b:00007f1742b51c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00000000004db900 RCX: 000000000045cba9
RDX: 0000000000000048 RSI: 0000000020000100 RDI: 0000000000000005
RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003
R13: 0000000000000070 R14: 00000000004c34d0 R15: 00007f1742b526d4
Kernel Offset: disabled
Rebooting in 86400 seconds..
---
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
syzk...@googlegroups.com.
syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.