WARNING in bpf_prog_select_runtime (2)

6 views
Skip to first unread message

syzbot

unread,
Apr 30, 2021, 4:39:22 AM4/30/21
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 7d7d1c0a Linux 4.14.232
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1091921ed00000
kernel config: https://syzkaller.appspot.com/x/.config?x=17ee8a0e183900d8
dashboard link: https://syzkaller.appspot.com/bug?extid=961fedee16d296b1eb5b

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+961fed...@syzkaller.appspotmail.com

(UME)
0
583*8kB
------------[ cut here ]------------
(UME)
WARNING: CPU: 1 PID: 27818 at include/linux/filter.h:612 bpf_prog_lock_ro include/linux/filter.h:612 [inline]
WARNING: CPU: 1 PID: 27818 at include/linux/filter.h:612 bpf_prog_select_runtime+0x3f1/0x4e0 kernel/bpf/core.c:1462
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 27818 Comm: systemd-rfkill Not tainted 4.14.232-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: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/0x4e0 kernel/bpf/core.c:1462
RSP: 0018:ffff8880979afbf8 EFLAGS: 00010297
118*16kB
RAX: ffff888077b2c500 RBX: ffffffff815e92e0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff888077b2cd88 RDI: 0000000000000001
RBP: ffffc9000890c000 R08: ffffffff8b9b4e30 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880688a4300
R13: ffffc9000890c000 R14: ffff8880979afca8 R15: ffffc9000890c000
bpf_migrate_filter+0x242/0x2d0 net/core/filter.c:1060
bpf_prepare_filter+0x14c/0x320 net/core/filter.c:1108
__get_filter+0x196/0x240 net/core/filter.c:1301
sk_attach_filter+0x1b/0x140 net/core/filter.c:1316
sock_setsockopt+0x119a/0x1a50 net/core/sock.c:927
(UME)
SYSC_setsockopt net/socket.c:1861 [inline]
SyS_setsockopt+0x1a4/0x1e0 net/socket.c:1844
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f09b33dceba
RSP: 002b:00007ffd765a4998 EFLAGS: 00000202 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007f09b33dceba
RDX: 000000000000001a RSI: 0000000000000001 RDI: 0000000000000005
RBP: 00007ffd765a49c0 R08: 0000000000000010 R09: 0000000000000015
R10: 00007ffd765a49b0 R11: 0000000000000202 R12: 0000000000000006
R13: 00007ffd765a49f8 R14: 0000000000000000 R15: 0000561ffa634780
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.

syzbot

unread,
Aug 28, 2021, 4:39:14 AM8/28/21
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages