syzbot


upstream test error: WARNING: ODEBUG bug in mgmt_index_removed

Status: upstream: reported on 2022/08/04 09:42
Reported-by: syzbot+b8ddd338a8838e581b1c@syzkaller.appspotmail.com
Fix commit: 3f2893d3c142 Bluetooth: don't try to cancel uninitialized works at mgmt_index_removed()
Patched on: [ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-arm64 ci-upstream-gce-leak ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce ci-upstream-kmsan-gce-386 ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-fs ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-qemu2-riscv64]
First crash: 54d, last: 46d
duplicates (3):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-next test error: WARNING: ODEBUG bug in mgmt_index_removed 21 52d 55d 0/24 closed as dup on 2022/08/05 07:14
bpf-next test error: WARNING: ODEBUG bug in mgmt_index_removed 159 40d 62d 0/24 closed as dup on 2022/08/05 07:16
net-next test error: WARNING: ODEBUG bug in mgmt_index_removed 165 47d 62d 0/24 closed as dup on 2022/08/05 07:15

Sample crash report:
------------[ cut here ]------------
ODEBUG: assert_init not available (active state 0) object type: timer_list hint: 0x0
WARNING: CPU: 1 PID: 3613 at lib/debugobjects.c:502 debug_print_object+0x16e/0x250 lib/debugobjects.c:502
Modules linked in:
CPU: 1 PID: 3613 Comm: syz-executor.0 Not tainted 5.19.0-syzkaller-13667-g21f9c8a13bb2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022
RIP: 0010:debug_print_object+0x16e/0x250 lib/debugobjects.c:502
Code: ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 af 00 00 00 48 8b 14 dd 60 f8 48 8a 4c 89 ee 48 c7 c7 00 ec 48 8a e8 c3 98 38 05 <0f> 0b 83 05 45 c6 dd 09 01 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e c3
RSP: 0018:ffffc9000410f6e0 EFLAGS: 00010086
RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000000000
RDX: ffff888026870000 RSI: ffffffff8161f148 RDI: fffff52000821ece
RBP: 0000000000000001 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000000 R12: ffffffff89ef0180
R13: ffffffff8a48f2c0 R14: ffffffff816b2310 R15: 1ffff92000821ee7
FS:  0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0005bf010 CR3: 000000001f7bc000 CR4: 0000000000350ee0
Call Trace:
 <TASK>
 debug_object_assert_init lib/debugobjects.c:892 [inline]
 debug_object_assert_init+0x1f4/0x2e0 lib/debugobjects.c:863
 debug_timer_assert_init kernel/time/timer.c:792 [inline]
 debug_assert_init kernel/time/timer.c:837 [inline]
 del_timer+0x6d/0x110 kernel/time/timer.c:1257
 try_to_grab_pending+0x6d/0xd0 kernel/workqueue.c:1275
 __cancel_work_timer+0xa6/0x570 kernel/workqueue.c:3121
 mgmt_index_removed+0x187/0x2e0 net/bluetooth/mgmt.c:8939
 hci_unregister_dev+0x34f/0x4e0 net/bluetooth/hci_core.c:2688
 vhci_release+0x7c/0xf0 drivers/bluetooth/hci_vhci.c:568
 __fput+0x277/0x9d0 fs/file_table.c:320
 task_work_run+0xdd/0x1a0 kernel/task_work.c:177
 exit_task_work include/linux/task_work.h:38 [inline]
 do_exit+0xad5/0x29b0 kernel/exit.c:795
 do_group_exit+0xd2/0x2f0 kernel/exit.c:925
 get_signal+0x238c/0x2610 kernel/signal.c:2857
 arch_do_signal_or_restart+0x82/0x2300 arch/x86/kernel/signal.c:869
 exit_to_user_mode_loop kernel/entry/common.c:166 [inline]
 exit_to_user_mode_prepare+0x15f/0x250 kernel/entry/common.c:201
 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline]
 syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:294
 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f36ec23bebb
Code: Unable to access opcode bytes at RIP 0x7f36ec23be91.
RSP: 002b:00007ffec8b3be30 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 00007ffec8b3bed0 RCX: 00007f36ec23bebb
RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000003
RBP: 0000000000000003 R08: 0000000000000000 R09: 00007ffec8b3bce0
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000032
R13: 0000000000009f63 R14: 0000000000000003 R15: 00007ffec8b3bf10
 </TASK>

Crashes (551):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2022/08/11 20:35 upstream 21f9c8a13bb2 787ed7e0 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-qemu-upstream 2022/08/11 17:23 upstream 2ae08b36c06e 787ed7e0 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-upstream-kasan-gce-root 2022/08/11 11:09 upstream ffcf9c5700e4 787ed7e0 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-qemu-upstream 2022/08/11 08:41 upstream ffcf9c5700e4 787ed7e0 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-upstream-kasan-gce-selinux-root 2022/08/11 03:58 upstream ffcf9c5700e4 a6201f11 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-upstream-kasan-gce-root 2022/08/11 03:20 upstream ffcf9c5700e4 a6201f11 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-upstream-kasan-gce-root 2022/08/11 01:32 upstream f41445645ab5 a6201f11 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-qemu-upstream 2022/08/10 21:56 upstream aeb6e6ac18c7 a6201f11 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-qemu-upstream 2022/08/10 08:36 upstream d4252071b97d aaa9eaa0 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-upstream-kasan-gce-root 2022/08/10 06:08 upstream d4252071b97d c2a623d6 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-upstream-kasan-gce-root 2022/08/09 18:55 upstream 15205c2829ca c2a623d6 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-upstream-kasan-gce-root 2022/08/09 18:55 upstream 15205c2829ca c2a623d6 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-upstream-kasan-gce-root 2022/08/09 17:51 upstream 426b4ca2d6a5 c2a623d6 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-upstream-kasan-gce 2022/08/09 17:23 upstream 426b4ca2d6a5 c2a623d6 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-qemu-upstream 2022/08/09 15:33 upstream eb555cb5b794 c2a623d6 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-upstream-kasan-gce-selinux-root 2022/08/09 05:32 upstream eb555cb5b794 da700653 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-upstream-kasan-gce-root 2022/08/09 05:22 upstream eb555cb5b794 da700653 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-upstream-kasan-gce-selinux-root 2022/08/08 23:47 upstream 5d5d353bed32 da700653 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-qemu-upstream 2022/08/08 23:33 upstream 5d5d353bed32 da700653 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-upstream-kasan-gce 2022/08/08 22:31 upstream 3466f49dd0dd 88e3a122 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-qemu-upstream 2022/08/08 18:06 upstream 3466f49dd0dd da700653 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-upstream-kasan-gce-root 2022/08/08 01:02 upstream 4e23eeebb2e5 88e3a122 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-upstream-kasan-gce 2022/08/07 20:35 upstream 3bc1bc0b59d0 88e3a122 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-qemu-upstream 2022/08/07 18:30 upstream 3bc1bc0b59d0 88e3a122 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-upstream-kasan-gce-selinux-root 2022/08/07 01:22 upstream 1612c382ffbd 88e3a122 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-upstream-kasan-gce 2022/08/07 01:13 upstream 1612c382ffbd 88e3a122 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-upstream-kasan-gce-selinux-root 2022/08/06 22:58 upstream 4d1044fcb996 88e3a122 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-qemu-upstream 2022/08/06 21:12 upstream af3e9579ecfb 88e3a122 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-qemu-upstream 2022/08/04 09:29 upstream b44f2fd87919 1c9013ac .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-upstream-kasan-gce-386 2022/08/11 20:54 upstream 21f9c8a13bb2 787ed7e0 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-qemu-upstream-386 2022/08/11 16:15 upstream 21f9c8a13bb2 787ed7e0 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-upstream-kasan-gce-386 2022/08/11 12:09 upstream ffcf9c5700e4 787ed7e0 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-upstream-kasan-gce-386 2022/08/11 01:42 upstream f41445645ab5 a6201f11 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-qemu-upstream-386 2022/08/10 20:41 upstream f41445645ab5 a6201f11 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-qemu-upstream-386 2022/08/10 18:51 upstream f41445645ab5 aaa9eaa0 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-qemu-upstream-386 2022/08/10 18:51 upstream f41445645ab5 aaa9eaa0 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-upstream-kasan-gce-386 2022/08/10 14:36 upstream d4252071b97d a6201f11 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-qemu-upstream-386 2022/08/09 23:29 upstream d4252071b97d c2a623d6 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-upstream-kasan-gce-386 2022/08/09 16:21 upstream eb555cb5b794 c2a623d6 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-qemu-upstream-386 2022/08/09 03:34 upstream eb555cb5b794 da700653 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-qemu-upstream-386 2022/08/08 19:10 upstream c8a684e2e110 da700653 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-qemu-upstream-386 2022/08/08 15:12 upstream 4e23eeebb2e5 da700653 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-upstream-kasan-gce-386 2022/08/08 01:41 upstream 4e23eeebb2e5 88e3a122 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-upstream-kasan-gce-386 2022/08/07 20:27 upstream 3bc1bc0b59d0 88e3a122 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-upstream-kasan-gce-386 2022/08/06 22:20 upstream af3e9579ecfb 88e3a122 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-qemu-upstream-386 2022/08/06 20:51 upstream af3e9579ecfb 88e3a122 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-qemu-upstream-386 2022/08/06 18:53 upstream 20cf903a0c40 88e3a122 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-upstream-kasan-gce-386 2022/08/06 14:52 upstream 6614a3c3164a 88e3a122 .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
ci-qemu-upstream-386 2022/08/04 09:01 upstream b44f2fd87919 1c9013ac .config log report upstream test error: WARNING: ODEBUG bug in mgmt_index_removed
* Struck through repros no longer work on HEAD.