bisecting fixing commit since 6a24ca2506d64598eac5d5219e99acca9bde4ca5 building syzkaller on 6436ce4bcd8e2c7dcca0b171ac91f51e96d973f8 testing commit 6a24ca2506d64598eac5d5219e99acca9bde4ca5 with gcc (GCC) 8.1.0 kernel signature: 79969367a409ac93e95bfd88ceb97e790ca3957433acacf8efe973d460a3c7ba run #0: crashed: general protection fault in __queue_work run #1: crashed: general protection fault in __queue_work run #2: crashed: WARNING: ODEBUG bug in bt_host_release run #3: crashed: WARNING: ODEBUG bug in bt_host_release run #4: crashed: general protection fault in __queue_work run #5: crashed: general protection fault in __queue_work run #6: crashed: general protection fault in __queue_work run #7: crashed: general protection fault in __queue_work run #8: crashed: general protection fault in __queue_work run #9: crashed: KASAN: use-after-free Read in __queue_work testing current HEAD ca87c82811906f4fc5e936705564ba8176ba497f testing commit ca87c82811906f4fc5e936705564ba8176ba497f with gcc (GCC) 8.1.0 kernel signature: a761462adbf4a46aedeadd1b64af394a0ff7b5a08da704e97b20462f9fe5e289 run #0: crashed: WARNING: ODEBUG bug in bt_host_release run #1: crashed: KASAN: use-after-free Read 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: general protection fault in __queue_work run #7: crashed: general protection fault in __queue_work run #8: crashed: general protection fault in __queue_work run #9: crashed: general protection fault in __queue_work revisions tested: 2, total time: 32m35.974770098s (build: 17m25.783758418s, test: 14m26.570729809s) the crash still happens on HEAD commit msg: Linux 4.14.199 crash: general protection fault in __queue_work Bluetooth: hci4 command 0x0419 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: 1882 Comm: syz-executor.4 Not tainted 4.14.199-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88808ce58280 task.stack: ffff88807bed0000 RIP: 0010:__queue_work+0x128/0xea0 kernel/workqueue.c:1406 RSP: 0018:ffff88807bed7888 EFLAGS: 00010046 RAX: ffff8880a7e251c0 RBX: 0000000000000000 RCX: ffff8880aa400068 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000000 RBP: ffff88807bed7900 R08: ffffffff87f56180 R09: ffffffff87f56188 R10: 0000000000000000 R11: 0000000000000040 R12: 0000000000000000 R13: ffff88808e000a80 R14: 0000000000000040 R15: dffffc0000000000 FS: 00007fb07c5e0700(0000) GS:ffff8880aec00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a6752082c8 CR3: 00000000a1434000 CR4: 00000000001406f0 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:1888 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:0x45d4d9 RSP: 002b:00007fb07c5dfc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000001e000 RCX: 000000000045d4d9 RDX: 0000000020000040 RSI: 00000000400448dd RDI: 0000000000000004 RBP: 000000000118d160 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118d12c R13: 00007ffceec3ebcf R14: 00007fb07c5e09c0 R15: 000000000118d12c Code: e8 2e 8c ef ff 4c 89 ef 89 c6 e8 64 77 ff ff 48 8b 7d d0 49 89 c4 e8 b8 df ff ff 48 85 c0 0f 84 d5 02 00 00 4c 89 e2 48 c1 ea 03 <42> 80 3c 3a 00 0f 85 4b 0c 00 00 49 39 04 24 0f 85 84 04 00 00 RIP: __queue_work+0x128/0xea0 kernel/workqueue.c:1406 RSP: ffff88807bed7888 ---[ end trace 239fdba88aaf1013 ]---