bisecting fixing commit since 6a24ca2506d64598eac5d5219e99acca9bde4ca5 building syzkaller on 6436ce4bcd8e2c7dcca0b171ac91f51e96d973f8 testing commit 6a24ca2506d64598eac5d5219e99acca9bde4ca5 with gcc (GCC) 8.1.0 kernel signature: a36fbc4943a4686ab269c7b926fba5dccccb83dbd82d43bd5e1c2ab4597614c6 run #0: crashed: WARNING: ODEBUG bug in bt_host_release run #1: crashed: general protection fault in __queue_work run #2: crashed: general protection fault in __queue_work run #3: crashed: WARNING: ODEBUG bug in bt_host_release run #4: crashed: WARNING: ODEBUG bug in bt_host_release run #5: crashed: WARNING: ODEBUG bug in bt_host_release run #6: crashed: KASAN: use-after-free Read in __queue_work run #7: crashed: general protection fault in __queue_work run #8: crashed: WARNING: ODEBUG bug in bt_host_release run #9: OK testing current HEAD 87335852c5d9ec629f80bb2257b9a9945962b719 testing commit 87335852c5d9ec629f80bb2257b9a9945962b719 with gcc (GCC) 8.1.0 kernel signature: cc28578abbad77a71d28933a7bc80b6bf6ce8ac787c5a53063203d77ab7fc83e run #0: crashed: general protection fault in __queue_work run #1: crashed: WARNING: ODEBUG bug in bt_host_release run #2: crashed: WARNING: ODEBUG bug in bt_host_release run #3: crashed: general protection fault in __queue_work run #4: crashed: general protection fault in __queue_work run #5: crashed: WARNING: ODEBUG bug in bt_host_release run #6: crashed: general protection fault in __queue_work run #7: crashed: general protection fault in __queue_work run #8: crashed: WARNING: ODEBUG bug in bt_host_release run #9: crashed: WARNING: ODEBUG bug in bt_host_release revisions tested: 2, total time: 32m50.673307711s (build: 16m55.634401696s, test: 15m1.410504158s) the crash still happens on HEAD commit msg: Linux 4.14.209 crash: WARNING: ODEBUG bug in bt_host_release Bluetooth: hci2 command 0x041b tx timeout Bluetooth: hci0 command 0x0c1a tx timeout Bluetooth: hci2 command 0x040f tx timeout ODEBUG: free active (active state 0) object type: timer_list hint: delayed_work_timer_fn+0x0/0x90 kernel/workqueue.c:4852 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 16393 at lib/debugobjects.c:290 debug_print_object.cold.8+0xa7/0xdb lib/debugobjects.c:287 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 16393 Comm: syz-executor.2 Not tainted 4.14.209-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x14b/0x1f1 lib/dump_stack.c:58 panic+0x1b0/0x358 kernel/panic.c:183 __warn.cold.7+0x25/0x2c kernel/panic.c:547 report_bug+0x1a4/0x1f3 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:177 [inline] do_error_trap+0x1bd/0x310 arch/x86/kernel/traps.c:295 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:314 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964 RIP: 0010:debug_print_object.cold.8+0xa7/0xdb lib/debugobjects.c:287 RSP: 0018:ffff88809eee7a38 EFLAGS: 00010082 RAX: 0000000000000061 RBX: 0000000000000003 RCX: 0000000000000000 RDX: 0000000000000061 RSI: ffffffff86cbeb20 RDI: ffffed1013ddcf3e RBP: ffff88809eee7a60 R08: 0000000000000000 R09: 0000000000000000 R10: fffffbfff13442c9 R11: dffffc0000000000 R12: ffffffff86cb9da0 R13: ffffffff813b16d0 R14: 0000000000000000 R15: dffffc0000000000 __debug_check_no_obj_freed lib/debugobjects.c:747 [inline] debug_check_no_obj_freed+0x4bc/0x890 lib/debugobjects.c:776 kfree+0xbd/0x270 mm/slab.c:3814 bt_host_release+0x10/0x20 net/bluetooth/hci_sysfs.c:86 device_release+0xd7/0x170 drivers/base/core.c:831 kobject_cleanup lib/kobject.c:646 [inline] kobject_release lib/kobject.c:675 [inline] kref_put include/linux/kref.h:70 [inline] kobject_put+0x10d/0x1b0 lib/kobject.c:692 put_device+0x12/0x20 drivers/base/core.c:2014 hci_free_dev+0x10/0x20 net/bluetooth/hci_core.c:3065 vhci_release+0x73/0xe0 drivers/bluetooth/hci_vhci.c:355 __fput+0x232/0x740 fs/file_table.c:210 ____fput+0x9/0x10 fs/file_table.c:244 task_work_run+0xe5/0x170 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x98b/0x2c90 kernel/exit.c:868 do_group_exit+0xf8/0x2c0 kernel/exit.c:965 SYSC_exit_group kernel/exit.c:976 [inline] SyS_exit_group+0x18/0x20 kernel/exit.c:974 do_syscall_64+0x1c7/0x5b0 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x45d4d9 RSP: 002b:00007ffd3185be58 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000045d4d9 RDX: 0000000000416d61 RSI: 00000000016a85f0 RDI: 0000000000000043 RBP: 00000000004c306d R08: 000000000000000b R09: 0000000000000000 R10: 0000000003092940 R11: 0000000000000246 R12: 0000000000000007 R13: 00007ffd3185bfa0 R14: 00000000000353c1 R15: 00007ffd3185bfb0 ======================================================