Hello,
syzbot found the following issue on:
HEAD commit: b86ee2b7ae42 Linux 4.14.264
git tree: linux-4.14.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=1116281c700000
kernel config:
https://syzkaller.appspot.com/x/.config?x=3fffc4e0823c0d50
dashboard link:
https://syzkaller.appspot.com/bug?extid=e89baa85da888f6e217b
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
Unfortunately, I don't have any reproducer for this issue yet.
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+e89baa...@syzkaller.appspotmail.com
RDX: 0000000020000040 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 00007f1c30e041d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007fff5e07e52f R14: 00007f1c30e04300 R15: 0000000000022000
------------[ cut here ]------------
WARNING: CPU: 0 PID: 859 at include/linux/filter.h:612 bpf_prog_lock_ro include/linux/filter.h:612 [inline]
WARNING: CPU: 0 PID: 859 at include/linux/filter.h:612 bpf_prog_select_runtime+0x3f1/0x4e0 kernel/bpf/core.c:1464
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 859 Comm: syz-executor.1 Not tainted 4.14.264-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/0x281 lib/dump_stack.c:58
panic+0x1f9/0x42d kernel/panic.c:183
__warn.cold+0x20/0x44 kernel/panic.c:547
report_bug+0x208/0x250 lib/bug.c:183
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/0x4e0 kernel/bpf/core.c:1464
RSP: 0018:ffff888079147c88 EFLAGS: 00010246
RAX: 0000000000040000 RBX: ffffffff815ea910 RCX: ffffc900073d6000
RDX: 0000000000040000 RSI: ffffffff815e4341 RDI: 0000000000000001
RBP: ffffc90001b06000 R08: ffffffff8b9d24d0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880a9deea40
R13: ffffc90001b06000 R14: ffff888079147d38 R15: ffffc90001b06000
bpf_migrate_filter+0x242/0x2d0 net/core/filter.c:1060
bpf_prepare_filter+0x14c/0x320 net/core/filter.c:1108
bpf_prog_create_from_user+0x1a7/0x290 net/core/filter.c:1202
seccomp_prepare_filter kernel/seccomp.c:395 [inline]
seccomp_prepare_user_filter kernel/seccomp.c:430 [inline]
seccomp_set_mode_filter kernel/seccomp.c:867 [inline]
do_seccomp+0x31b/0x19c0 kernel/seccomp.c:940
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f1c3248f059
RSP: 002b:00007f1c30e04168 EFLAGS: 00000246 ORIG_RAX: 000000000000013d
RAX: ffffffffffffffda RBX: 00007f1c325a1f60 RCX: 00007f1c3248f059
RDX: 0000000020000040 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 00007f1c30e041d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007fff5e07e52f R14: 00007f1c30e04300 R15: 0000000000022000
Kernel Offset: disabled
Rebooting in 86400 seconds..
---
This report 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 issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.