syzbot


WARNING: ODEBUG bug in cancel_delayed_work (2)

Status: auto-obsoleted due to no activity on 2023/01/29 13:30
Subsystems: bluetooth
[Documentation on labels]
Reported-by: syzbot+4b140c35e652626b77ba@syzkaller.appspotmail.com
First crash: 1041d, last: 815d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING: ODEBUG bug in cancel_delayed_work (log)
Repro: C syz .config
  
Fix bisection the fix commit could be any of (bisect log):
  8f4dd16603ce Merge branch 'akpm' (patches from Andrew)
  3cc40a443a04 Merge tag 'nios2_fixes_v6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux
  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] WARNING: ODEBUG bug in cancel_delayed_work (2) 0 (2) 2022/01/20 17:26
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 1035d 1035d 0/1 auto-closed as invalid on 2022/04/03 04:38
upstream WARNING: ODEBUG bug in cancel_delayed_work C done 3384 1076d 1526d 20/28 fixed on 2021/11/10 00:50
linux-4.19 WARNING: ODEBUG bug in cancel_delayed_work C done 1226 1231d 1527d 1/1 fixed on 2021/06/23 17:43
Last patch testing requests (5)
Created Duration User Patch Repo Result
2023/01/29 10:32 23m retest repro net-next-old OK log
2022/11/26 01:30 19m retest repro linux-next OK log
2022/10/21 10:30 19m (2) retest repro net-old OK log
2022/10/21 14:30 19m retest repro upstream OK log
2022/10/21 08:30 16m retest repro net-next-old report log
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2022/08/17 07:04 28m bisect fix upstream OK (2) job log
2022/07/12 21:32 19m bisect fix upstream OK (0) job log log
2022/03/31 15:44 23m bisect fix net-old OK (0) job log log

Sample crash report:
------------[ cut here ]------------
ODEBUG: assert_init not available (active state 0) object type: timer_list hint: 0x0
WARNING: CPU: 1 PID: 3594 at lib/debugobjects.c:505 debug_print_object+0x16e/0x250 lib/debugobjects.c:505
Modules linked in:
CPU: 1 PID: 3594 Comm: syz-executor193 Not tainted 5.18.0-rc4-syzkaller-00064-g8f4dd16603ce #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:debug_print_object+0x16e/0x250 lib/debugobjects.c:505
Code: ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 af 00 00 00 48 8b 14 dd 00 3f 27 8a 4c 89 ee 48 c7 c7 00 33 27 8a e8 21 52 29 05 <0f> 0b 83 05 75 e4 bc 09 01 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e c3
RSP: 0018:ffffc9000334f928 EFLAGS: 00010082
RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000000000
RDX: ffff888023571d80 RSI: ffffffff81600c08 RDI: fffff52000669f17
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff815fb5de R11: 0000000000000000 R12: ffffffff89ce5080
R13: ffffffff8a273980 R14: ffffffff81674180 R15: 1ffff92000669f30
FS:  000055555593a300(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055e7d9a754b0 CR3: 000000007da78000 CR4: 0000000000350ee0
Call Trace:
 <TASK>
 debug_object_assert_init lib/debugobjects.c:895 [inline]
 debug_object_assert_init+0x1f4/0x2e0 lib/debugobjects.c:866
 debug_timer_assert_init kernel/time/timer.c:739 [inline]
 debug_assert_init kernel/time/timer.c:784 [inline]
 del_timer+0x6d/0x110 kernel/time/timer.c:1204
 try_to_grab_pending+0x6d/0xd0 kernel/workqueue.c:1275
 __cancel_work kernel/workqueue.c:3250 [inline]
 cancel_delayed_work+0x79/0x340 kernel/workqueue.c:3279
 l2cap_clear_timer include/net/bluetooth/l2cap.h:883 [inline]
 l2cap_chan_del+0x517/0xa80 net/bluetooth/l2cap_core.c:665
 l2cap_chan_close+0x1b9/0xaf0 net/bluetooth/l2cap_core.c:825
 l2cap_sock_shutdown+0x3d2/0x1070 net/bluetooth/l2cap_sock.c:1377
 l2cap_sock_release+0x72/0x200 net/bluetooth/l2cap_sock.c:1420
 __sock_release+0xcd/0x280 net/socket.c:650
 sock_close+0x18/0x20 net/socket.c:1318
 __fput+0x277/0x9d0 fs/file_table.c:317
 task_work_run+0xdd/0x1a0 kernel/task_work.c:164
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:169 [inline]
 exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:201
 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline]
 syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:294
 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f689864406b
Code: 0f 05 48 3d 00 f0 ff ff 77 45 c3 0f 1f 40 00 48 83 ec 18 89 7c 24 0c e8 63 fc ff ff 8b 7c 24 0c 41 89 c0 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 89 44 24 0c e8 a1 fc ff ff 8b 44
RSP: 002b:00007ffdfde0f030 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007f689864406b
RDX: ffffffffffffffb8 RSI: 0000000020000000 RDI: 0000000000000004
RBP: 0000000000000003 R08: 0000000000000000 R09: 000000ff00000000
R10: 000000ff00000000 R11: 0000000000000293 R12: 000055555593a2b8
R13: 0000000000000072 R14: 00007ffdfde0f0a0 R15: 0000000000000003
 </TASK>

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/04/28 03:01 upstream 8f4dd16603ce 8a1f1f07 .config console log report syz C ci-upstream-kasan-gce-root WARNING: ODEBUG bug in cancel_delayed_work
2022/01/20 17:25 net-old fa2e1ba3e9e3 b838eb76 .config console log report syz C ci-upstream-net-this-kasan-gce WARNING: ODEBUG bug in cancel_delayed_work
2022/01/20 17:47 net-next-old fe8152b38d3a b838eb76 .config console log report syz C ci-upstream-net-kasan-gce WARNING: ODEBUG bug in cancel_delayed_work
2022/06/12 13:42 linux-next 6d0c80680317 0d5abf15 .config strace log report syz C ci-upstream-linux-next-kasan-gce-root WARNING: ODEBUG bug in cancel_delayed_work
2022/05/23 03:03 upstream 4b0986a3613c 7268fa62 .config console log report info ci-upstream-kasan-gce-root WARNING: ODEBUG bug in cancel_delayed_work
2022/01/21 05:32 upstream 2c271fe77d52 ab3d9f17 .config console log report info ci-upstream-kasan-gce-root WARNING: ODEBUG bug in cancel_delayed_work
2022/01/15 17:11 upstream a33f5c380c4b 723cfaf0 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING: ODEBUG bug in cancel_delayed_work
2022/01/28 06:33 upstream 23a46422c561 495e00c5 .config console log report info ci-qemu-upstream-386 WARNING: ODEBUG bug in cancel_delayed_work
2022/01/27 19:28 upstream 626b2dda7651 64a8e201 .config console log report info ci-qemu-upstream-386 WARNING: ODEBUG bug in cancel_delayed_work
2021/11/28 09:01 upstream 3498e7f2bb41 63eeac02 .config console log report info ci-qemu-upstream-386 WARNING: ODEBUG bug in cancel_delayed_work
2022/03/01 11:33 net-next-old f2b77012ddd5 45a13a73 .config console log report info ci-upstream-net-kasan-gce WARNING: ODEBUG bug in cancel_delayed_work
2022/02/07 17:48 net-next-old 5a8fb33e5305 a7dab638 .config console log report info ci-upstream-net-kasan-gce WARNING: ODEBUG bug in cancel_delayed_work
2022/02/06 04:05 net-next-old 5a8fb33e5305 a7dab638 .config console log report info ci-upstream-net-kasan-gce WARNING: ODEBUG bug in cancel_delayed_work
* Struck through repros no longer work on HEAD.