syzbot


WARNING: ODEBUG bug in del_timer (2)

Status: fixed on 2018/07/09 18:05
Reported-by: syzbot+@syzkaller.appspotmail.com
Fix commit: be7f3e59997b net/smc: init conn.tx_work & conn.send_lock sooner
First crash: 1510d, last: 1508d
similar bugs (4):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING: ODEBUG bug in del_timer C inconclusive 74 767d 1178d 0/1 upstream: reported C repro on 2019/04/13 05:07
linux-4.19 WARNING: ODEBUG bug in del_timer 1 1068d 1068d 0/1 auto-closed as invalid on 2019/11/29 04:56
upstream WARNING: ODEBUG bug in del_timer (3) syz error error 46 1141d 1154d 0/22 upstream: reported syz repro on 2019/05/07 21:06
upstream WARNING: ODEBUG bug in del_timer C 200 1510d 1527d 6/22 fixed on 2018/05/16 09:57

Sample crash report:
random: sshd: uninitialized urandom read (32 bytes read)
random: sshd: uninitialized urandom read (32 bytes read)
random: sshd: uninitialized urandom read (32 bytes read)
------------[ cut here ]------------
ODEBUG: assert_init not available (active state 0) object type: timer_list hint:           (null)
WARNING: CPU: 0 PID: 4480 at lib/debugobjects.c:329 debug_print_object+0x16a/0x210 lib/debugobjects.c:326
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 4480 Comm: syz-executor678 Not tainted 4.17.0-rc4+ #46
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+0x1b9/0x294 lib/dump_stack.c:113
 panic+0x22f/0x4de kernel/panic.c:184
 __warn.cold.8+0x163/0x1b3 kernel/panic.c:536
 report_bug+0x252/0x2d0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 do_error_trap+0x1de/0x490 arch/x86/kernel/traps.c:296
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:315
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:992
RIP: 0010:debug_print_object+0x16a/0x210 lib/debugobjects.c:326
RSP: 0018:ffff8801c5d4f880 EFLAGS: 00010086
RAX: 0000000000000061 RBX: 0000000000000005 RCX: ffffffff818431c8
RDX: 0000000000000000 RSI: ffffffff8160f6f1 RDI: 0000000000000001
RBP: ffff8801c5d4f8c0 R08: ffff8801b01be180 R09: ffffed003b5c3eb2
R10: ffffed003b5c3eb2 R11: ffff8801dae1f597 R12: 0000000000000001
R13: ffffffff88d96980 R14: ffffffff87fa19a0 R15: ffffffff81666ec0
 debug_object_assert_init+0x309/0x500 lib/debugobjects.c:692
 debug_timer_assert_init kernel/time/timer.c:724 [inline]
 debug_assert_init kernel/time/timer.c:776 [inline]
 del_timer+0x74/0x140 kernel/time/timer.c:1198
 try_to_grab_pending+0x439/0x9a0 kernel/workqueue.c:1223
 mod_delayed_work_on+0x91/0x250 kernel/workqueue.c:1592
 mod_delayed_work include/linux/workqueue.h:541 [inline]
 smc_setsockopt+0x387/0x6d0 net/smc/af_smc.c:1367
 __sys_setsockopt+0x1bd/0x390 net/socket.c:1903
 __do_sys_setsockopt net/socket.c:1914 [inline]
 __se_sys_setsockopt net/socket.c:1911 [inline]
 __x64_sys_setsockopt+0xbe/0x150 net/socket.c:1911
 do_syscall_64+0x1b1/0x800 arch/x86/entry/common.c:287
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x43fcf9
RSP: 002b:00007fffe7c3be38 EFLAGS: 00000286 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 000000000043fcf9
RDX: 0000000000000001 RSI: 0000000000000006 RDI: 0000000000000003
RBP: 00000000006ca018 R08: 0000000000000004 R09: 00000000004002c8
R10: 0000000020000000 R11: 0000000000000286 R12: 0000000000401620
R13: 00000000004016b0 R14: 0000000000000000 R15: 0000000000000000
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (6):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-net-kasan-gce 2018/05/16 23:29 net-next 967c2993845b a367c1d7 .config log report syz C
ci-upstream-net-kasan-gce 2018/05/17 23:42 net-next 4b9c77680375 738d58ad .config log report
ci-upstream-net-kasan-gce 2018/05/17 15:14 net-next b9f672af148b 90c54c49 .config log report
ci-upstream-net-kasan-gce 2018/05/17 03:06 net-next 967c2993845b a367c1d7 .config log report
ci-upstream-net-kasan-gce 2018/05/16 23:11 net-next 967c2993845b a367c1d7 .config log report
ci-upstream-net-kasan-gce 2018/05/16 18:10 net-next 967c2993845b 75b2448a .config log report