syzbot


WARNING in static_key_enable_cpuslocked

Status: fixed on 2019/01/11 01:22
Subsystems: kernel
[Documentation on labels]
Fix commit: 9c48060141bd udp: fix jump label misuse
First crash: 1979d, last: 1979d

Sample crash report:
MINIX-fs: bad superblock
minix_free_inode: bit 1 already cleared
WARNING: CPU: 1 PID: 21915 at kernel/jump_label.c:157 static_key_enable_cpuslocked+0x356/0x4e0 kernel/jump_label.c:157
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 21915 Comm: syz-executor3 Not tainted 4.20.0-rc1-next-20181109+ #110
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+0x244/0x39d lib/dump_stack.c:113
 panic+0x2ad/0x55c kernel/panic.c:188
 __warn.cold.8+0x20/0x45 kernel/panic.c:540
 report_bug+0x254/0x2d0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:271
 do_invalid_op+0x36/0x40 arch/x86/kernel/traps.c:290
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:969
RIP: 0010:static_key_enable_cpuslocked+0x356/0x4e0 kernel/jump_label.c:157
Code: 89 e6 bf 01 00 00 00 48 b8 00 00 00 00 00 fc ff df 41 c6 04 06 f8 e8 79 df e3 ff 41 83 fc 01 0f 84 06 ff ff ff e8 5a de e3 ff <0f> 0b e9 fa fe ff ff e8 4e de e3 ff 4d 8d 75 c0 be 04 00 00 00 4c
RSP: 0018:ffff8801b2c874c0 EFLAGS: 00010216
RAX: 0000000000040000 RBX: 1ffff10036590e99 RCX: ffffc9000be19000
RDX: 0000000000000228 RSI: ffffffff819bca56 RDI: 0000000000000005
RBP: ffff8801b2c87650 R08: ffff88017ca7c240 R09: fffffbfff17885c4
R10: fffffbfff17885c4 R11: ffffffff8bc42e23 R12: 0000000000000000
R13: ffff8801b2c87628 R14: 1ffff10036590ea5 R15: dffffc0000000000
 static_key_enable+0x1a/0x30 kernel/jump_label.c:177
 udpv6_encap_enable+0x15/0x20 net/ipv6/udp.c:553
 udp_tunnel_encap_enable include/net/udp_tunnel.h:176 [inline]
 setup_udp_tunnel_sock+0x429/0x680 net/ipv4/udp_tunnel.c:75
 l2tp_tunnel_register+0xf4e/0x1260 net/l2tp/l2tp_core.c:1521
 pppol2tp_connect+0x144a/0x2d80 net/l2tp/l2tp_ppp.c:734
 __sys_connect+0x37d/0x4c0 net/socket.c:1665
 __do_sys_connect net/socket.c:1676 [inline]
 __se_sys_connect net/socket.c:1673 [inline]
 __x64_sys_connect+0x73/0xb0 net/socket.c:1673
 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457569
Code: fd b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 cb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f3946eb9c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457569
RDX: 0000000000000026 RSI: 0000000020000180 RDI: 0000000000000006
RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3946eba6d4
R13: 00000000004bdb2a R14: 00000000004ccf38 R15: 00000000ffffffff
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/11/25 10:05 linux-next 442b8cea2477 3d3ec907 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.