bisecting fixing commit since 6a24ca2506d64598eac5d5219e99acca9bde4ca5 building syzkaller on 6436ce4bcd8e2c7dcca0b171ac91f51e96d973f8 testing commit 6a24ca2506d64598eac5d5219e99acca9bde4ca5 with gcc (GCC) 8.4.1 20210217 kernel signature: a52f5b244dad7c574e6255a20554a74dd7e695c52ac96be202b215324ecb7d79 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: WARNING: ODEBUG bug in bt_host_release run #5: crashed: WARNING: ODEBUG bug in bt_host_release run #6: crashed: WARNING: ODEBUG bug in bt_host_release run #7: crashed: WARNING: ODEBUG bug in bt_host_release run #8: crashed: WARNING: ODEBUG bug in bt_host_release run #9: crashed: KASAN: use-after-free Read in __queue_work run #10: crashed: WARNING: ODEBUG bug in bt_host_release run #11: crashed: WARNING: ODEBUG bug in bt_host_release 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 cf256fbcbe347b7d0ff58fe2dfa382a156bd3694 testing commit cf256fbcbe347b7d0ff58fe2dfa382a156bd3694 with gcc (GCC) 8.4.1 20210217 kernel signature: 31005fcd95e0735ea002951eb2fb57e75d709ac8ae6fac75fe57494943ec83a0 run #0: crashed: WARNING: ODEBUG bug in bt_host_release run #1: crashed: WARNING: ODEBUG bug in bt_host_release run #2: crashed: general protection fault in __queue_work 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: 38m6.57096253s (build: 19m59.510460449s, test: 17m41.479434573s) the crash still happens on HEAD commit msg: Linux 4.14.231 crash: general protection fault in __queue_work Bluetooth: hci5 command 0x041b tx timeout Bluetooth: hci0 command 0x0c1a tx timeout Bluetooth: hci5 command 0x040f tx timeout kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 27726 Comm: syz-executor.0 Not tainted 4.14.231-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8881d20fc000 task.stack: ffff8881e2da8000 RIP: 0010:__queue_work+0x10e/0xe40 kernel/workqueue.c:1405 RSP: 0018:ffff8881e2daf890 EFLAGS: 00010046 RAX: ffff8881f246e900 RBX: 0000000000000000 RCX: ffff8881f5c00068 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000000 RBP: ffff8881e2daf900 R08: ffffffff87f55680 R09: ffffffff87f55688 R10: 0000000000000000 R11: 0000000000000040 R12: ffff8881c79e6280 R13: ffff8881deaa1a40 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f5035792700(0000) GS:ffff8881f6600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe160adff8 CR3: 00000001dd3e5004 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: queue_work_on+0x140/0x180 kernel/workqueue.c:1490 queue_work include/linux/workqueue.h:491 [inline] req_run+0x2b2/0x590 net/bluetooth/hci_request.c:77 hci_req_run_skb net/bluetooth/hci_request.c:89 [inline] __hci_req_sync+0x297/0x7d0 net/bluetooth/hci_request.c:214 hci_req_sync+0x70/0xb0 net/bluetooth/hci_request.c:285 hci_dev_cmd+0x19f/0x670 net/bluetooth/hci_core.c:1890 hci_sock_ioctl+0x2f0/0x600 net/bluetooth/hci_sock.c:1040 sock_do_ioctl+0x62/0xa0 net/socket.c:974 sock_ioctl+0x251/0x430 net/socket.c:1071 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x180/0xfb0 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x74/0x80 fs/ioctl.c:692 do_syscall_64+0x1c7/0x5b0 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x465029 RSP: 002b:00007f5035792188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000055d0e0 RCX: 0000000000465029 RDX: 0000000020000040 RSI: 00000000400448dd RDI: 0000000000000004 RBP: 00000000004af6d2 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000055d0e0 R13: 00007fff551378ef R14: 00007f5035792300 R15: 0000000000022000 Code: f7 e8 57 a0 ef ff 4c 89 ef 89 c6 e8 dd 76 ff ff 4c 89 e7 48 89 c3 e8 92 df ff ff 48 85 c0 0f 84 da 02 00 00 48 89 da 48 c1 ea 03 <42> 80 3c 3a 00 0f 85 00 0c 00 00 48 39 03 0f 85 75 04 00 00 48 RIP: __queue_work+0x10e/0xe40 kernel/workqueue.c:1405 RSP: ffff8881e2daf890 ---[ end trace 2cfd0ca530efef31 ]---