bisecting fixing commit since 6a24ca2506d64598eac5d5219e99acca9bde4ca5 building syzkaller on 6436ce4bcd8e2c7dcca0b171ac91f51e96d973f8 testing commit 6a24ca2506d64598eac5d5219e99acca9bde4ca5 with gcc (GCC) 8.4.1 20210217 kernel signature: 198bafbeab013b75efa71b29947b599301a68d0411a2fd1b8c8b843f69be6928 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: crashed: KASAN: use-after-free Read in __queue_work run #5: crashed: general protection fault in __queue_work run #6: crashed: WARNING: ODEBUG bug in bt_host_release 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 run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK testing current HEAD 670d6552eda8ff0c5f396d3d6f0174237917c66c testing commit 670d6552eda8ff0c5f396d3d6f0174237917c66c with gcc (GCC) 8.4.1 20210217 kernel signature: 4974d1e4ef3ffef7580d81aa9073043b38ef91e2bdbb0e194eed1db2bdd473d6 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: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK reproducer seems to be flaky Reproducer flagged being flaky revisions tested: 2, total time: 32m24.248876063s (build: 14m54.570108287s, test: 17m7.159656656s) the crash still happens on HEAD commit msg: Linux 4.14.227 crash: WARNING: ODEBUG bug in bt_host_release Bluetooth: hci0 command 0x0419 tx timeout Bluetooth: hci0 command 0x0c1a tx timeout Bluetooth: hci0 command 0x0c1a tx timeout ODEBUG: free active (active state 0) object type: timer_list hint: delayed_work_timer_fn+0x0/0x90 kernel/workqueue.c:4859 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 9620 at lib/debugobjects.c:290 debug_print_object.cold.8+0xa7/0xdb lib/debugobjects.c:287 Modules linked in: CPU: 0 PID: 9620 Comm: syz-executor.4 Not tainted 4.14.227-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8881dee2a6c0 task.stack: ffff8881e8da8000 RIP: 0010:debug_print_object.cold.8+0xa7/0xdb lib/debugobjects.c:287 RSP: 0018:ffff8881e8dafa38 EFLAGS: 00010082 RAX: 0000000000000061 RBX: 0000000000000003 RCX: 0000000000000000 RDX: 0000000000000061 RSI: ffffffff86cbeca0 RDI: ffffed103d1b5f3e RBP: ffff8881e8dafa60 R08: 0000000000000000 R09: 0000000000000000 R10: fffffbfff13446c9 R11: dffffc0000000000 R12: ffffffff86cb9f20 R13: ffffffff813a25f0 R14: 0000000000000000 R15: dffffc0000000000 FS: 000000000313c400(0000) GS:ffff8881f6600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000536038 CR3: 0000000007e6a003 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __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:846 kobject_cleanup lib/kobject.c:646 [inline] kobject_release lib/kobject.c:675 [inline] kref_put include/linux/kref.h:70 [inline] kobject_put lib/kobject.c:692 [inline] kobject_put+0x10d/0x1b0 lib/kobject.c:685 put_device+0x12/0x20 drivers/base/core.c:2029 hci_free_dev+0x10/0x20 net/bluetooth/hci_core.c:3067 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:0x465029 RSP: 002b:00007ffde547c978 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000026 RCX: 0000000000465029 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000043 RBP: 00000000004af29c R08: 000000000000000b R09: 0000000000017fc1 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00000000000182e8 R14: 0000000000017fc1 R15: 0000000000000007 Code: 87 48 89 fa 48 c1 ea 03 80 3c 02 00 75 42 48 8b 14 dd 60 1a 04 87 4d 89 e9 4d 89 e0 44 89 f1 48 c7 c7 80 10 04 87 e8 f4 85 f9 ff <0f> 0b e9 a2 a9 a5 fc 48 89 75 d8 e8 16 86 27 fb 48 8b 75 d8 eb ---[ end trace bf72a9ec7f459a33 ]--- ======================================================