syzbot


WARNING in __static_key_slow_dec_cpuslocked

Status: auto-closed as invalid on 2019/10/25 08:43
Reported-by: syzbot+a65e6ce239e4afe6c5e7@syzkaller.appspotmail.com
First crash: 1595d, last: 1371d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __static_key_slow_dec_cpuslocked (2) C 1 155d 151d 0/24 closed as dup on 2022/09/12 12:42

Sample crash report:
------------[ cut here ]------------
jump label: negative count!
WARNING: CPU: 0 PID: 16038 at kernel/jump_label.c:219 __static_key_slow_dec_cpuslocked+0x12d/0x150 kernel/jump_label.c:219
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 16038 Comm: syz-executor.1 Not tainted 5.1.0-rc7+ #167
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+0x172/0x1f0 lib/dump_stack.c:113
 panic+0x2cb/0x65c kernel/panic.c:214
 __warn.cold+0x20/0x45 kernel/panic.c:571
 report_bug+0x263/0x2b0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:179 [inline]
 fixup_bug arch/x86/kernel/traps.c:174 [inline]
 do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:272
 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:291
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:973
RIP: 0010:__static_key_slow_dec_cpuslocked+0x12d/0x150 kernel/jump_label.c:219
Code: 84 d2 75 2d 41 8b 1c 24 31 ff 89 de e8 bc 18 e6 ff 85 db 0f 89 56 ff ff ff e8 2f 17 e6 ff 48 c7 c7 00 aa 71 87 e8 01 c5 b8 ff <0f> 0b e9 3e ff ff ff 4c 89 e7 e8 a4 a5 1e 00 eb c9 48 c7 c7 78 d6
RSP: 0018:ffff88808ed07910 EFLAGS: 00010286
RAX: 0000000000000000 RBX: 00000000ffffffff RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff815afcc6 RDI: ffffed1011da0f14
RBP: ffff88808ed07930 R08: ffff8880964bc080 R09: ffffed1015d05011
R10: ffffed1015d05010 R11: ffff8880ae828087 R12: ffffffff8b14f560
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 __static_key_slow_dec kernel/jump_label.c:238 [inline]
 static_key_slow_dec+0x60/0xa0 kernel/jump_label.c:252
 udp_destroy_sock net/ipv4/udp.c:2494 [inline]
 udp_destroy_sock+0x152/0x220 net/ipv4/udp.c:2480
 sk_common_release+0x6d/0x330 net/core/sock.c:3151
 udp_lib_close+0x16/0x20 include/net/udp.h:206
 inet_release+0x105/0x1f0 net/ipv4/af_inet.c:432
 __sock_release+0xd3/0x2b0 net/socket.c:599
 sock_close+0x1b/0x30 net/socket.c:1267
 __fput+0x2e5/0x8d0 fs/file_table.c:278
 ____fput+0x16/0x20 fs/file_table.c:309
 task_work_run+0x14a/0x1c0 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0x90a/0x2fa0 kernel/exit.c:876
 do_group_exit+0x135/0x370 kernel/exit.c:980
 get_signal+0x399/0x1d50 kernel/signal.c:2577
 do_signal+0x87/0x1940 arch/x86/kernel/signal.c:816
 exit_to_usermode_loop+0x244/0x2c0 arch/x86/entry/common.c:162
 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:268 [inline]
 do_syscall_64+0x52d/0x610 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x458da9
Code: ad b8 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 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f05c42b4c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000458da9
RDX: 0000000020000040 RSI: 0000000000008914 RDI: 0000000000000006
RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f05c42b56d4
R13: 00000000004c4635 R14: 00000000004d7ec8 R15: 00000000ffffffff
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (7):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-net-kasan-gce 2019/05/04 13:09 net-next a734d1f4c2fc d28f4ce5 .config console log report
ci-upstream-net-kasan-gce 2019/04/27 08:45 net-next 30e5a9a5ba85 b617407b .config console log report
ci-upstream-net-kasan-gce 2019/04/22 12:28 net-next 4e54507ab1a9 0a77c33c .config console log report
ci-upstream-net-kasan-gce 2019/03/07 20:46 net-next d9862cfbe209 4b69c3cb .config console log report
ci-upstream-net-kasan-gce 2019/03/03 09:27 net-next d5fa9c55e5f3 1c0e457a .config console log report
ci-upstream-kasan-gce 2019/02/04 08:26 upstream 8834f5600cf3 c198d5dd .config console log report
ci-upstream-kasan-gce-root 2018/09/23 07:22 upstream 328c6333ba3d 37079712 .config console log report
* Struck through repros no longer work on HEAD.