bisecting fixing commit since f6d5cb9e2c06f7d583dd9f4f7cca21d13d78c32a building syzkaller on 816e0689d7d9d8321f8bf360740f0e516aee15ca testing commit f6d5cb9e2c06f7d583dd9f4f7cca21d13d78c32a with gcc (GCC) 8.1.0 kernel signature: e9ebd68f13e93f7f855fe762b1b12430135b25e31f29643994b286363ac15627 run #0: crashed: WARNING: ODEBUG bug in bt_host_release run #1: crashed: KASAN: use-after-free Read in __queue_work run #2: crashed: KASAN: use-after-free Read in __queue_work run #3: crashed: INFO: task hung in hci_req_sync run #4: crashed: general protection fault in __queue_work run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK testing current HEAD ad326970d25cc85128cd22d62398751ad072efff testing commit ad326970d25cc85128cd22d62398751ad072efff with gcc (GCC) 8.1.0 kernel signature: 60bf80dc98e5773b4da6275239f9fdd5f54148837680e67c293f17a344d9f75e run #0: crashed: WARNING: ODEBUG bug in bt_host_release run #1: crashed: WARNING: ODEBUG bug in bt_host_release run #2: crashed: WARNING: ODEBUG bug in bt_host_release run #3: crashed: WARNING: ODEBUG bug in bt_host_release run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK revisions tested: 2, total time: 38m41.323503107s (build: 16m51.423928635s, test: 21m19.556372098s) the crash still happens on HEAD commit msg: Linux 4.19.152 crash: WARNING: ODEBUG bug in bt_host_release Bluetooth: hci1: command 0x0401 tx timeout Bluetooth: hci1: command 0x0401 tx timeout Bluetooth: hci1: command 0x0401 tx timeout ------------[ cut here ]------------ ODEBUG: free active (active state 0) object type: timer_list hint: delayed_work_timer_fn+0x0/0x90 kernel/workqueue.c:4943 WARNING: CPU: 1 PID: 26038 at lib/debugobjects.c:328 debug_print_object+0x168/0x210 lib/debugobjects.c:325 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 26038 Comm: syz-executor.4 Not tainted 4.19.152-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+0x17c/0x22a lib/dump_stack.c:118 panic+0x1cd/0x375 kernel/panic.c:186 __warn.cold.7+0x1b/0x3e kernel/panic.c:541 report_bug+0x1a4/0x200 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:178 [inline] do_error_trap+0x200/0x350 arch/x86/kernel/traps.c:296 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038 RIP: 0010:debug_print_object+0x168/0x210 lib/debugobjects.c:325 Code: 67 87 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 92 00 00 00 48 8b 14 dd 80 8a 67 87 4c 89 fe 48 c7 c7 00 80 67 87 e8 7b bf 07 fe <0f> 0b 83 05 9b d6 f2 05 01 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f RSP: 0018:ffff8880aa3bf800 EFLAGS: 00010082 RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000000 RDX: 0000000000000004 RSI: 0000000000000008 RDI: ffffffff8a19da60 RBP: ffff8880aa3bf840 R08: ffffed10174e3eef R09: ffffed10174e3eee R10: ffffed10174e3eee R11: ffff8880ba71f777 R12: 0000000000000001 R13: ffffffff88598d40 R14: ffffffff8153a8c0 R15: ffffffff876786e0 __debug_check_no_obj_freed lib/debugobjects.c:785 [inline] debug_check_no_obj_freed+0x252/0x428 lib/debugobjects.c:817 kfree+0xbd/0x220 mm/slab.c:3821 bt_host_release+0x10/0x20 net/bluetooth/hci_sysfs.c:86 device_release+0x71/0x1d0 drivers/base/core.c:1061 kobject_cleanup lib/kobject.c:662 [inline] kobject_release lib/kobject.c:691 [inline] kref_put include/linux/kref.h:70 [inline] kobject_put+0x115/0x1f0 lib/kobject.c:708 put_device+0x12/0x20 drivers/base/core.c:2251 hci_free_dev+0x10/0x20 net/bluetooth/hci_core.c:3145 vhci_release+0x73/0xe0 drivers/bluetooth/hci_vhci.c:355 __fput+0x249/0x7f0 fs/file_table.c:278 ____fput+0x9/0x10 fs/file_table.c:309 task_work_run+0x108/0x180 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0xa6a/0x2db0 kernel/exit.c:887 do_group_exit+0xf8/0x2c0 kernel/exit.c:990 get_signal+0x308/0x1970 kernel/signal.c:2588 do_signal+0x87/0x1860 arch/x86/kernel/signal.c:821 exit_to_usermode_loop+0x159/0x1e0 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+0x413/0x4e0 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45d5b9 Code: Bad RIP value. RSP: 002b:00007f5bd4176cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000118cf48 RCX: 000000000045d5b9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000118cf48 RBP: 000000000118cf40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007fffa5cb91cf R14: 00007f5bd41779c0 R15: 000000000118cf4c ======================================================