syzbot


WARNING: ODEBUG bug in cancel_delayed_work

Status: fixed on 2021/06/23 17:43
Reported-by: syzbot+816b6c4630ff3b31e09d@syzkaller.appspotmail.com
Fix commit: 02f681a5e827 Bluetooth: Set CONF_NOT_COMPLETE as l2cap_chan default
First crash: 1365d, last: 1069d
Fix bisection: fixed by (bisect log) :
commit 02f681a5e827f34dc165e1afd341a5897bc535fe
Author: Archie Pusaka <apusaka@chromium.org>
Date: Mon Mar 22 06:02:15 2021 +0000

  Bluetooth: Set CONF_NOT_COMPLETE as l2cap_chan default

  
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING: ODEBUG bug in cancel_delayed_work (2) 1 874d 874d 0/1 auto-closed as invalid on 2022/04/03 04:38
upstream WARNING: ODEBUG bug in cancel_delayed_work (2) bluetooth C inconclusive inconclusive 13 653d 873d 0/26 auto-obsoleted due to no activity on 2023/01/29 13:30
upstream WARNING: ODEBUG bug in cancel_delayed_work C done 3384 914d 1365d 20/26 fixed on 2021/11/10 00:50

Sample crash report:
IPVS: ftp: loaded support on port[0] = 21
Bluetooth: hci0: command 0x0409 tx timeout
Bluetooth: hci0: command 0x041b tx timeout
------------[ cut here ]------------
ODEBUG: assert_init not available (active state 0) object type: timer_list hint:           (null)
WARNING: CPU: 0 PID: 8129 at lib/debugobjects.c:325 debug_print_object+0x160/0x250 lib/debugobjects.c:325
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 8129 Comm: syz-executor387 Not tainted 4.19.189-syzkaller #0
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+0x1fc/0x2ef lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x5a kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:debug_print_object+0x160/0x250 lib/debugobjects.c:325
Code: dd c0 e8 b3 88 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 bf 00 00 00 48 8b 14 dd c0 e8 b3 88 48 c7 c7 e0 dc b3 88 e8 e0 8b 7a 04 <0f> 0b 83 05 e3 35 b0 07 01 48 83 c4 20 5b 5d 41 5c 41 5d c3 48 89
RSP: 0018:ffff88809535f4c8 EFLAGS: 00010082
RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dde61 RDI: ffffed1012a6be8b
RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: ffffffff8c66301b R12: ffffffff89f90980
R13: ffffffff8152f360 R14: ffff888094614da8 R15: 1ffff11012a6bea4
 debug_object_assert_init lib/debugobjects.c:694 [inline]
 debug_object_assert_init+0x1f0/0x2e0 lib/debugobjects.c:665
 debug_timer_assert_init kernel/time/timer.c:733 [inline]
 debug_assert_init kernel/time/timer.c:785 [inline]
 del_timer+0x6d/0x100 kernel/time/timer.c:1210
 try_to_grab_pending+0x2b6/0x6f0 kernel/workqueue.c:1223
 __cancel_work kernel/workqueue.c:3100 [inline]
 cancel_delayed_work+0x76/0x2c0 kernel/workqueue.c:3129
 l2cap_clear_timer include/net/bluetooth/l2cap.h:834 [inline]
 l2cap_chan_del+0x5b4/0xa50 net/bluetooth/l2cap_core.c:641
 l2cap_chan_close+0x1b5/0x950 net/bluetooth/l2cap_core.c:757
 l2cap_sock_shutdown+0x339/0xe10 net/bluetooth/l2cap_sock.c:1159
 l2cap_sock_release+0x77/0x290 net/bluetooth/l2cap_sock.c:1202
 __sock_release+0xcd/0x2a0 net/socket.c:579
 sock_close+0x15/0x20 net/socket.c:1140
 __fput+0x2ce/0x890 fs/file_table.c:278
 task_work_run+0x148/0x1c0 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0xbf3/0x2be0 kernel/exit.c:870
 do_group_exit+0x125/0x310 kernel/exit.c:967
 get_signal+0x3f2/0x1f70 kernel/signal.c:2589
 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799
 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x445fe9
Code: Bad RIP value.
RSP: 002b:00007ffc22ec1b38 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: fffffffffffffffc RBX: 0000000000000003 RCX: 0000000000445fe9
RDX: 0000000000000004 RSI: 00000000200000c0 RDI: 0000000000000004
RBP: 0000000000000003 R08: 000000ff00000001 R09: 000000ff00000001
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000011022b8
R13: 0000000000000072 R14: 00007ffc22ec1b90 R15: 0000000000000003
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1226):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/04/29 20:19 linux-4.19.y 97a8651cadce 77e2b668 .config console log report syz C ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2020/12/26 06:32 linux-4.19.y 13d2ce42de8c 821e0b09 .config console log report syz C ci2-linux-4-19
2020/08/22 22:30 linux-4.19.y d18b78abc0c6 1da71ab0 .config console log report syz C ci2-linux-4-19
2020/08/05 20:53 linux-4.19.y c076c79e03c6 b7129355 .config console log report syz C ci2-linux-4-19
2020/08/02 21:04 linux-4.19.y 13af6c74b14a 96dd3623 .config console log report syz C ci2-linux-4-19
2020/07/31 00:50 linux-4.19.y 205a42ce2861 8df85ed9 .config console log report syz C ci2-linux-4-19
2020/07/31 00:30 linux-4.19.y 205a42ce2861 8df85ed9 .config console log report syz C ci2-linux-4-19
2020/07/30 18:38 linux-4.19.y 205a42ce2861 b0947553 .config console log report syz C ci2-linux-4-19
2021/05/22 05:22 linux-4.19.y 3c8c23092588 3c7fef33 .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/22 02:30 linux-4.19.y 3c8c23092588 3c7fef33 .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/22 00:58 linux-4.19.y 3c8c23092588 3c7fef33 .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/21 23:12 linux-4.19.y 3c8c23092588 3c7fef33 .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/21 21:47 linux-4.19.y 3c8c23092588 3c7fef33 .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/21 20:51 linux-4.19.y 3c8c23092588 3c7fef33 .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/21 19:44 linux-4.19.y 3c8c23092588 3c7fef33 .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/21 15:15 linux-4.19.y 3c8c23092588 3c7fef33 .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/21 13:49 linux-4.19.y 3c8c23092588 3c7fef33 .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/21 12:13 linux-4.19.y 3c8c23092588 3c7fef33 .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/21 10:07 linux-4.19.y 3c8c23092588 3c7fef33 .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/21 08:57 linux-4.19.y 3c8c23092588 3c7fef33 .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/21 07:17 linux-4.19.y 3c8c23092588 3c7fef33 .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/21 04:57 linux-4.19.y 3c8c23092588 3c7fef33 .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/21 02:58 linux-4.19.y 3c8c23092588 3c7fef33 .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/20 23:11 linux-4.19.y 3c8c23092588 c560a65d .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/20 21:14 linux-4.19.y 3c8c23092588 c560a65d .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/20 11:20 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/20 08:47 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/20 07:34 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/20 05:11 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/20 04:05 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/20 01:03 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/19 23:15 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/19 20:12 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/19 19:00 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/19 11:19 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/19 09:29 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/19 08:24 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/19 04:50 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/18 19:53 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/18 18:34 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/18 17:15 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/18 15:06 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/18 14:06 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/18 12:19 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/18 11:10 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/18 07:41 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/18 06:25 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/18 04:46 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/18 01:45 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/18 00:55 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/17 23:31 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/17 22:26 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/17 20:55 linux-4.19.y 3c8c23092588 a2eb125d .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/05/17 15:25 linux-4.19.y 3c8c23092588 a2eb125d .config console log report info ci2-linux-4-19 WARNING: ODEBUG bug in cancel_delayed_work
2021/01/16 15:04 linux-4.19.y 675cc038067f 65a7a854 .config console log report info ci2-linux-4-19
* Struck through repros no longer work on HEAD.