bisecting fixing commit since f6d5cb9e2c06f7d583dd9f4f7cca21d13d78c32a building syzkaller on 816e0689d7d9d8321f8bf360740f0e516aee15ca testing commit f6d5cb9e2c06f7d583dd9f4f7cca21d13d78c32a with gcc (GCC) 8.1.0 kernel signature: d161773e5953ef907aca4be221211a4bc604b5b0911c34d76596e0e39ed07f79 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: KASAN: use-after-free Read in __queue_work run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK testing current HEAD 10ad6cfd57360760116cde00a8ef756e121367a9 testing commit 10ad6cfd57360760116cde00a8ef756e121367a9 with gcc (GCC) 8.1.0 kernel signature: c21932f1df6dd3fb203c9aba437a6958c1c33305f91f83875dd7241977270539 run #0: crashed: WARNING: ODEBUG bug in bt_host_release run #1: crashed: KASAN: use-after-free Read in __queue_work run #2: basic kernel testing failed: failed to copy test binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "BatchMode=yes" "-o" "IdentitiesOnly=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "-i" "/syzkaller/jobs/linux/workdir/image/key" "/tmp/syz-executor108036235" "root@10.128.15.210:./syz-executor108036235"]: exit status 1 Connection timed out during banner exchange lost connection run #3: crashed: general protection fault in __queue_work run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK revisions tested: 2, total time: 39m55.673286228s (build: 17m40.563454311s, test: 21m37.208242239s) the crash still happens on HEAD commit msg: Linux 4.19.148 crash: general protection fault in __queue_work Bluetooth: hci0: command 0x0419 tx timeout Bluetooth: hci1: command 0x0401 tx timeout Bluetooth: hci1: command 0x0401 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 CPU: 1 PID: 2485 Comm: syz-executor.4 Not tainted 4.19.148-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__queue_work+0x163/0xdf0 kernel/workqueue.c:1404 Code: e8 52 bb ee ff 4c 89 e7 89 c6 e8 68 81 ff ff 48 89 df 49 89 c6 e8 ed dc ff ff 48 85 c0 0f 84 9d 02 00 00 4c 89 f2 48 c1 ea 03 <42> 80 3c 3a 00 0f 85 45 0b 00 00 49 39 06 0f 85 b4 04 00 00 48 89 RSP: 0000:ffff888215ac7670 EFLAGS: 00010046 RAX: ffff8880a7a95240 RBX: ffff88808aefdaa8 RCX: ffff8880aa000068 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000000 RBP: ffff888215ac76e0 R08: ffffffff8855b9c0 R09: ffffffff8855ba00 R10: 0000000000000000 R11: 0000000000000040 R12: ffff88808aee3ac0 R13: 0000000000000001 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f8f2a55d700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b10eba04a8 CR3: 0000000215a0d000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: queue_work_on+0x140/0x180 kernel/workqueue.c:1488 queue_work include/linux/workqueue.h:512 [inline] req_run+0x2b2/0x590 net/bluetooth/hci_request.c:87 hci_req_run_skb net/bluetooth/hci_request.c:99 [inline] __hci_req_sync+0x1bb/0x830 net/bluetooth/hci_request.c:212 hci_req_sync+0x70/0xb0 net/bluetooth/hci_request.c:279 hci_inquiry+0x58a/0x760 net/bluetooth/hci_core.c:1310 hci_sock_ioctl+0x19e/0x600 net/bluetooth/hci_sock.c:1048 sock_do_ioctl+0xd9/0x230 net/socket.c:950 sock_ioctl+0x281/0x500 net/socket.c:1074 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0x196/0x10c0 fs/ioctl.c:688 ksys_ioctl+0x62/0x90 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6e/0xb0 fs/ioctl.c:710 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45d5b9 Code: 5d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 2b b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f8f2a55cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000000f2c0 RCX: 000000000045d5b9 RDX: 0000000020000200 RSI: 00000000800448f0 RDI: 0000000000000004 RBP: 000000000118d0c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118d08c R13: 00007ffc755838cf R14: 00007f8f2a55d9c0 R15: 000000000118d08c Modules linked in: ---[ end trace c092aee6cc73184a ]--- RIP: 0010:__queue_work+0x163/0xdf0 kernel/workqueue.c:1404 Code: e8 52 bb ee ff 4c 89 e7 89 c6 e8 68 81 ff ff 48 89 df 49 89 c6 e8 ed dc ff ff 48 85 c0 0f 84 9d 02 00 00 4c 89 f2 48 c1 ea 03 <42> 80 3c 3a 00 0f 85 45 0b 00 00 49 39 06 0f 85 b4 04 00 00 48 89 RSP: 0000:ffff888215ac7670 EFLAGS: 00010046 RAX: ffff8880a7a95240 RBX: ffff88808aefdaa8 RCX: ffff8880aa000068 RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000000 RBP: ffff888215ac76e0 R08: ffffffff8855b9c0 R09: ffffffff8855ba00 R10: 0000000000000000 R11: 0000000000000040 R12: ffff88808aee3ac0 R13: 0000000000000001 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f8f2a55d700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b10eba04a8 CR3: 0000000215a0d000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400