bisecting cause commit starting from c9194f32bfd932e976a158d1af97a63be68a2aab building syzkaller on 6972b10616d785401dea17cec890cca8916424a7 testing commit c9194f32bfd932e976a158d1af97a63be68a2aab compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: c18f1b3dbd9a34122761da0e08aa93c15f9e89521f37bf451f09c2a2b707b791 run #0: crashed: INFO: task hung in hci_req_sync run #1: crashed: INFO: task hung in hci_req_sync run #2: crashed: INFO: task hung in hci_req_sync run #3: crashed: INFO: task hung in hci_req_sync run #4: crashed: INFO: task hung in hci_req_sync run #5: crashed: INFO: task hung in hci_req_sync run #6: crashed: INFO: task hung in hci_req_sync run #7: crashed: INFO: task hung in hci_req_sync run #8: crashed: INFO: task hung in hci_req_sync run #9: crashed: INFO: task hung in hci_req_sync run #10: crashed: INFO: task hung in hci_req_sync run #11: crashed: INFO: task hung in hci_req_sync run #12: crashed: INFO: task hung in hci_req_sync run #13: crashed: INFO: task hung in hci_req_sync run #14: crashed: INFO: task hung in hci_req_sync run #15: crashed: INFO: task hung in hci_req_sync run #16: crashed: INFO: task hung in hci_req_sync run #17: crashed: INFO: task hung in hci_req_sync run #18: crashed: INFO: task hung in hci_req_sync run #19: OK testing release v5.13 testing commit 62fb9874f5da54fdb243003b386128037319b219 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 909f5b513362d755e99068620c19525cb2afd91ca8725228219fd46574a48866 all runs: crashed: BUG: sleeping function called from invalid context in lock_sock_nested testing release v5.12 testing commit 9f4ad9e425a1d3b6a34617b8ea226d56a119a717 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: bb4e26dd8f4a005b0fd76547575ef29621d4d502b5251ddaf0a5696974104629 run #0: crashed: WARNING: ODEBUG bug in bt_host_release run #1: crashed: WARNING: ODEBUG bug in bt_host_release run #2: crashed: INFO: task hung in hci_req_sync run #3: crashed: INFO: task hung in hci_req_sync run #4: crashed: INFO: task hung in hci_req_sync run #5: crashed: INFO: task hung in hci_req_sync run #6: crashed: general protection fault in __queue_work run #7: crashed: INFO: task hung in hci_req_sync run #8: crashed: INFO: task hung in hci_req_sync run #9: OK testing release v5.11 testing commit f40ddce88593482919761f74910f42f4b84c004b compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 3222e6ed80513dd888ba5df1ed0bb0fed90b38311471a07f8ebfef14f678fd42 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: crashed: INFO: task hung in hci_req_sync run #4: crashed: INFO: task hung in hci_req_sync run #5: crashed: INFO: task hung in hci_req_sync run #6: crashed: INFO: task hung in hci_req_sync run #7: OK run #8: crashed: INFO: task hung in hci_req_sync run #9: crashed: INFO: task hung in hci_req_sync testing release v5.10 testing commit 2c85ebc57b3e1817b6ce1a6b703928e113a90442 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 35c88fb67e0626f0232c5254d6e9f188ff33bdc5ecf75a2e20b39b0354577e82 run #0: crashed: general protection fault in __queue_work run #1: crashed: WARNING: ODEBUG bug in bt_host_release run #2: crashed: general protection fault in __queue_work run #3: crashed: general protection fault in __queue_work run #4: crashed: general protection fault in __queue_work run #5: crashed: INFO: task hung in hci_req_sync run #6: crashed: INFO: task hung in hci_req_sync run #7: crashed: INFO: task hung in hci_req_sync run #8: crashed: INFO: task hung in hci_req_sync run #9: crashed: INFO: task hung in hci_req_sync testing release v5.9 testing commit bbf5c979011a099af5dc76498918ed7df445635b compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 4753fc6113ccf19b73886623e431f1d42203e5df7900561c23ce4babeaf8f756 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: WARNING: ODEBUG bug in bt_host_release run #4: crashed: INFO: task hung in hci_req_sync run #5: crashed: INFO: task hung in hci_req_sync run #6: crashed: INFO: task hung in hci_req_sync run #7: crashed: INFO: task hung in hci_req_sync run #8: crashed: INFO: task hung in hci_req_sync run #9: OK testing release v5.8 testing commit bcf876870b95592b52519ed4aafcf9d95999bc9c compiler: gcc (GCC) 8.4.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 64bef9c619e4f9660afe7c971d6b25d7fe2654ae1e3be1137534ef774e1b1619 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: crashed: WARNING: ODEBUG bug in bt_host_release run #4: crashed: WARNING: ODEBUG bug in bt_host_release run #5: crashed: INFO: task hung in hci_req_sync run #6: crashed: INFO: task hung in hci_req_sync run #7: crashed: INFO: task hung in hci_req_sync run #8: crashed: INFO: task hung in hci_req_sync run #9: crashed: INFO: task hung in hci_req_sync testing release v5.7 testing commit 3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162 compiler: gcc version 8.4.1 20210217 (GCC), GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: f76fe31c01316385978519b5b4e89add706a0c3d5fe63afc28097ce825bd70af run #0: crashed: general protection fault in __queue_work 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: INFO: task hung in hci_req_sync run #5: crashed: INFO: task hung in hci_req_sync run #6: crashed: INFO: task hung in hci_req_sync run #7: crashed: INFO: task hung in hci_req_sync run #8: crashed: INFO: task hung in hci_req_sync run #9: crashed: INFO: task hung in hci_req_sync testing release v5.6 testing commit 7111951b8d4973bda27ff663f2cf18b663d15b48 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: ce1c40f29ea7dac1ab1efcb8a4c28e91d707e6db2dd3c7ba2f4d3ff05339b929 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: WARNING: ODEBUG bug in bt_host_release run #5: crashed: INFO: task hung in hci_req_sync run #6: crashed: INFO: task hung in hci_req_sync run #7: crashed: INFO: task hung in hci_req_sync run #8: crashed: INFO: task hung in hci_req_sync run #9: crashed: INFO: task hung in hci_req_sync testing release v5.5 testing commit d5226fa6dbae0569ee43ecfc08bdcd6770fc4755 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 52e3d19b3dd1254ec0fc70d5e850d8b373790b6a1ce2b4832bb7a2a2d3945561 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: crashed: WARNING: ODEBUG bug in bt_host_release run #4: crashed: general protection fault in __queue_work run #5: crashed: INFO: task hung in hci_req_sync run #6: crashed: INFO: task hung in hci_req_sync run #7: crashed: INFO: task hung in hci_req_sync run #8: crashed: INFO: task hung in hci_req_sync run #9: crashed: INFO: task hung in hci_req_sync testing release v5.4 testing commit 219d54332a09e8d8741c1e1982f5eae56099de85 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: aaf25273084462a2ad615141adb1da70de0e843313526173854dc50400e6d06c run #0: crashed: general protection fault in __queue_work run #1: crashed: INFO: task hung in hci_req_sync run #2: crashed: INFO: task hung in hci_req_sync run #3: crashed: INFO: task hung in hci_req_sync run #4: crashed: INFO: task hung in hci_req_sync run #5: crashed: INFO: task hung in hci_req_sync run #6: crashed: INFO: task hung in hci_req_sync run #7: crashed: INFO: task hung in hci_req_sync run #8: crashed: INFO: task hung in hci_req_sync run #9: crashed: INFO: task hung in hci_req_sync testing release v5.3 testing commit 4d856f72c10ecb060868ed10ff1b1453943fc6c8 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 6a118b86ece6a00ec309dfe958551a7e37b62c5a38c74bfffbdf71d5ff2118cf run #0: crashed: general protection fault in __queue_work run #1: crashed: general protection fault in __queue_work run #2: crashed: general protection fault in __queue_work run #3: crashed: general protection fault in __queue_work run #4: crashed: INFO: task hung in hci_req_sync run #5: crashed: INFO: task hung in hci_req_sync run #6: crashed: INFO: task hung in hci_req_sync run #7: crashed: INFO: task hung in hci_req_sync run #8: crashed: INFO: task hung in hci_req_sync run #9: OK testing release v5.2 testing commit 0ecfebd2b52404ae0c54a878c872bb93363ada36 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: dc0a4e06aabc5a71b7bb3c51a117c73e328564b4a4f21cfd43ea9747d8ce137d run #0: crashed: general protection fault in __queue_work run #1: crashed: general protection fault in __queue_work run #2: crashed: general protection fault in __queue_work run #3: crashed: general protection fault in __queue_work run #4: crashed: INFO: task hung in hci_req_sync run #5: crashed: INFO: task hung in hci_req_sync run #6: crashed: INFO: task hung in hci_req_sync run #7: crashed: INFO: task hung in hci_req_sync run #8: crashed: INFO: task hung in hci_req_sync run #9: crashed: INFO: task hung in hci_req_sync testing release v5.1 testing commit e93c9c99a629c61837d5a7fc2120cd2b6c70dbdd compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 6f28a54ae9631f7a38ae82812fc557e8efc8855fdd74a27360b3ac8c36083bee 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: INFO: task hung in hci_req_sync run #4: crashed: INFO: task hung in hci_req_sync run #5: crashed: INFO: task hung in hci_req_sync run #6: crashed: INFO: task hung in hci_req_sync run #7: crashed: INFO: task hung in hci_req_sync run #8: crashed: INFO: task hung in hci_req_sync run #9: OK testing release v5.0 testing commit 1c163f4c7b3f621efff9b28a47abb36f7378d783 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: cc4af3f53694d3fa6e61b52de0e00edfb6449f3b5e2c0a6ea7e7eb72c3e13ece 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: general protection fault in corrupted run #4: crashed: WARNING: ODEBUG bug in bt_host_release run #5: crashed: general protection fault in __queue_work run #6: crashed: INFO: task hung in hci_req_sync run #7: crashed: INFO: task hung in hci_req_sync run #8: crashed: INFO: task hung in hci_req_sync run #9: crashed: INFO: task hung in hci_req_sync testing release v4.20 testing commit 8fe28cb58bcb235034b64cbbb7550a8a43fd88be compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 1c4ca7ef7ae4af7d56628e15f3b084f8ca63483f9aed8772246e74497d37fb73 run #0: crashed: general protection fault in __queue_work run #1: crashed: WARNING: ODEBUG bug in bt_host_release run #2: crashed: general protection fault in __queue_work run #3: crashed: INFO: task hung in hci_dev_do_close run #4: crashed: INFO: task hung in hci_req_sync run #5: crashed: INFO: task hung in hci_req_sync run #6: crashed: INFO: task hung in hci_req_sync run #7: crashed: INFO: task hung in hci_req_sync run #8: crashed: INFO: task hung in hci_req_sync run #9: crashed: INFO: task hung in hci_req_sync testing release v4.19 testing commit 84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 4d13262702a019520c399bf2e6a1db1d195a37027963b5acb0824f863f44b435 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: general protection fault in __queue_work run #4: crashed: INFO: task hung in hci_dev_do_close run #5: crashed: INFO: task hung in hci_req_sync run #6: crashed: INFO: task hung in hci_req_sync run #7: crashed: INFO: task hung in hci_req_sync run #8: crashed: INFO: task hung in hci_req_sync run #9: crashed: INFO: task hung in hci_req_sync testing release v4.18 testing commit 94710cac0ef4ee177a63b5227664b38c95bbf703 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 6e51927fb5d59b8711a467f538645307230dcbfc25211c40e104401e5ae5e6be run #0: crashed: WARNING in __queue_work run #1: crashed: general protection fault in __queue_work run #2: crashed: INFO: task hung in hci_req_sync run #3: crashed: general protection fault in __queue_work run #4: OK run #5: OK run #6: crashed: INFO: task hung in hci_req_sync run #7: OK run #8: OK run #9: OK testing release v4.17 testing commit 29dcea88779c856c7dc92040a0c01233263101d4 failed to run ["make" "-j" "64" "ARCH=x86_64" "CC=/syzkaller/shared/bisect_bin/gcc-8.1.0/bin/gcc" "bzImage"]: exit status 2 testing release v4.16 testing commit 0adb32858b0bddf4ada5f364a84ed60b196dbcda orc_dump.c:106:2: error: 'elf_getshnum' is deprecated [-Werror=deprecated-declarations] orc_dump.c:111:2: error: 'elf_getshstrndx' is deprecated [-Werror=deprecated-declarations] elf.c:135:2: error: 'elf_getshnum' is deprecated [-Werror=deprecated-declarations] elf.c:140:2: error: 'elf_getshstrndx' is deprecated [-Werror=deprecated-declarations] testing release v4.15 testing commit d8a5b80568a9cb66810e75b182018e9edb68e8ff orc_dump.c:106:2: error: 'elf_getshnum' is deprecated [-Werror=deprecated-declarations] orc_dump.c:111:2: error: 'elf_getshstrndx' is deprecated [-Werror=deprecated-declarations] elf.c:135:2: error: 'elf_getshnum' is deprecated [-Werror=deprecated-declarations] elf.c:140:2: error: 'elf_getshstrndx' is deprecated [-Werror=deprecated-declarations] pager.c:36:12: error: passing argument 2 to 'restrict'-qualified parameter aliases with argument 4 [-Werror=restrict] testing release v4.14 testing commit bebc6082da0a9f5d47a1ea2edc099bf671058bd4 orc_dump.c:105:2: error: 'elf_getshnum' is deprecated [-Werror=deprecated-declarations] orc_dump.c:110:2: error: 'elf_getshstrndx' is deprecated [-Werror=deprecated-declarations] pager.c:36:12: error: passing argument 2 to 'restrict'-qualified parameter aliases with argument 4 [-Werror=restrict] elf.c:134:2: error: 'elf_getshnum' is deprecated [-Werror=deprecated-declarations] elf.c:139:2: error: 'elf_getshstrndx' is deprecated [-Werror=deprecated-declarations] testing release v4.13 testing commit 569dbb88e80deb68974ef6fdd6a13edb9d686261 pager.c:35:12: error: passing argument 2 to 'restrict'-qualified parameter aliases with argument 4 [-Werror=restrict] elf.c:144:2: error: 'elf_getshnum' is deprecated [-Werror=deprecated-declarations] elf.c:149:2: error: 'elf_getshstrndx' is deprecated [-Werror=deprecated-declarations] testing release v4.12 testing commit 6f7da290413ba713f0cdd9ff1a2a9bb129ef4f6c pager.c:35:12: error: passing argument 2 to 'restrict'-qualified parameter aliases with argument 4 [-Werror=restrict] elf.c:141:2: error: 'elf_getshnum' is deprecated [-Werror=deprecated-declarations] elf.c:146:2: error: 'elf_getshstrndx' is deprecated [-Werror=deprecated-declarations] testing release v4.11 testing commit a351e9b9fc24e982ec2f0e76379a49826036da12 elf.c:141:2: error: 'elf_getshnum' is deprecated [-Werror=deprecated-declarations] elf.c:146:2: error: 'elf_getshstrndx' is deprecated [-Werror=deprecated-declarations] pager.c:35:12: error: passing argument 2 to 'restrict'-qualified parameter aliases with argument 4 [-Werror=restrict] testing release v4.10 testing commit c470abd4fde40ea6a0846a2beab642a578c0b8cd tools/include/linux/log2.h:19:1: error: ignoring attribute 'noreturn' because it conflicts with attribute 'const' [-Werror=attributes] elf.c:129:2: error: 'elf_getshnum' is deprecated [-Werror=deprecated-declarations] elf.c:134:2: error: 'elf_getshstrndx' is deprecated [-Werror=deprecated-declarations] pager.c:35:12: error: passing argument 2 to 'restrict'-qualified parameter aliases with argument 4 [-Werror=restrict] testing release v4.9 testing commit 69973b830859bc6529a7a0468ba0d80ee5117826 tools/include/linux/log2.h:19:1: error: ignoring attribute 'noreturn' because it conflicts with attribute 'const' [-Werror=attributes] elf.c:129:2: error: 'elf_getshnum' is deprecated [-Werror=deprecated-declarations] elf.c:134:2: error: 'elf_getshstrndx' is deprecated [-Werror=deprecated-declarations] pager.c:35:12: error: passing argument 2 to 'restrict'-qualified parameter aliases with argument 4 [-Werror=restrict] testing release v4.8 testing commit c8d2bc9bc39ebea8437fd974fdbc21847bb897a3 tools/include/linux/log2.h:19:1: error: ignoring attribute 'noreturn' because it conflicts with attribute 'const' [-Werror=attributes] elf.c:129:2: error: 'elf_getshnum' is deprecated [-Werror=deprecated-declarations] elf.c:134:2: error: 'elf_getshstrndx' is deprecated [-Werror=deprecated-declarations] pager.c:33:12: error: passing argument 2 to 'restrict'-qualified parameter aliases with argument 4 [-Werror=restrict] testing release v4.7 testing commit 523d939ef98fd712632d93a5a2b588e477a7565e tools/include/linux/log2.h:19:1: error: ignoring attribute 'noreturn' because it conflicts with attribute 'const' [-Werror=attributes] elf.c:122:2: error: 'elf_getshnum' is deprecated [-Werror=deprecated-declarations] elf.c:127:2: error: 'elf_getshstrndx' is deprecated [-Werror=deprecated-declarations] pager.c:33:12: error: passing argument 2 to 'restrict'-qualified parameter aliases with argument 4 [-Werror=restrict] testing release v4.6 testing commit 2dcd0af568b0cf583645c8a317dd12e344b1c72a tools/include/linux/log2.h:19:1: error: ignoring attribute 'noreturn' because it conflicts with attribute 'const' [-Werror=attributes] pager.c:33:12: error: passing argument 2 to 'restrict'-qualified parameter aliases with argument 4 [-Werror=restrict] revisions tested: 18, total time: 4h59m47.615075s (build: 1h59m25.795996344s, test: 2h55m5.802444038s) the crash already happened on the oldest tested release commit msg: Linux 4.18 crash: INFO: task hung in hci_req_sync Bluetooth: hci6: command 0x0409 tx timeout Bluetooth: hci6: command 0x041b tx timeout Bluetooth: hci6: command 0x040f tx timeout Bluetooth: hci6: command 0x0419 tx timeout NOHZ: local_softirq_pending 08 INFO: task syz-executor.4:14015 blocked for more than 140 seconds. Not tainted 4.18.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D28248 14015 13002 0x00080004 Call Trace: context_switch kernel/sched/core.c:2853 [inline] __schedule+0x80c/0x1fc0 kernel/sched/core.c:3501 schedule+0x7f/0x1b0 kernel/sched/core.c:3545 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3603 __mutex_lock_common kernel/locking/mutex.c:834 [inline] __mutex_lock+0x58a/0x1300 kernel/locking/mutex.c:894 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:909 hci_req_sync+0x5b/0xb0 net/bluetooth/hci_request.c:273 hci_inquiry+0x606/0x820 net/bluetooth/hci_core.c:1263 hci_sock_ioctl+0x1a3/0x620 net/bluetooth/hci_sock.c:1046 sock_do_ioctl+0xd9/0x230 net/socket.c:970 sock_ioctl+0x281/0x500 net/socket.c:1094 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x196/0x1050 fs/ioctl.c:684 ksys_ioctl+0x62/0x90 fs/ioctl.c:701 __do_sys_ioctl fs/ioctl.c:708 [inline] __se_sys_ioctl fs/ioctl.c:706 [inline] __x64_sys_ioctl+0x6e/0xb0 fs/ioctl.c:706 do_syscall_64+0xda/0x540 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665e9 Code: 00 84 c9 0f 85 f1 fd ff ff 83 3d 81 00 3a 01 00 0f 85 c2 00 00 00 48 8d 0d 8c 2e 43 00 48 89 88 a8 00 00 00 0f 57 c0 0f 11 84 <24> 90 00 00 00 48 8b 0d 13 db 36 01 48 89 8c 24 90 00 00 00 48 8d RSP: 002b:00007fe893d67188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 00000000200000c0 RSI: 00000000800448f0 RDI: 0000000000000004 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffd0056a94f R14: 00007fe893d67300 R15: 0000000000022000 INFO: task syz-executor.4:14016 blocked for more than 140 seconds. Not tainted 4.18.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D28248 14016 14015 0x00080004 Call Trace: context_switch kernel/sched/core.c:2853 [inline] __schedule+0x80c/0x1fc0 kernel/sched/core.c:3501 schedule+0x7f/0x1b0 kernel/sched/core.c:3545 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3603 __mutex_lock_common kernel/locking/mutex.c:834 [inline] __mutex_lock+0x58a/0x1300 kernel/locking/mutex.c:894 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:909 hci_req_sync+0x5b/0xb0 net/bluetooth/hci_request.c:273 hci_inquiry+0x606/0x820 net/bluetooth/hci_core.c:1263 hci_sock_ioctl+0x1a3/0x620 net/bluetooth/hci_sock.c:1046 sock_do_ioctl+0xd9/0x230 net/socket.c:970 sock_ioctl+0x281/0x500 net/socket.c:1094 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x196/0x1050 fs/ioctl.c:684 ksys_ioctl+0x62/0x90 fs/ioctl.c:701 __do_sys_ioctl fs/ioctl.c:708 [inline] __se_sys_ioctl fs/ioctl.c:706 [inline] __x64_sys_ioctl+0x6e/0xb0 fs/ioctl.c:706 do_syscall_64+0xda/0x540 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665e9 Code: 00 84 c9 0f 85 f1 fd ff ff 83 3d 81 00 3a 01 00 0f 85 c2 00 00 00 48 8d 0d 8c 2e 43 00 48 89 88 a8 00 00 00 0f 57 c0 0f 11 84 <24> 90 00 00 00 48 8b 0d 13 db 36 01 48 89 8c 24 90 00 00 00 48 8d RSP: 002b:00007fe893d67188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 00000000200000c0 RSI: 00000000800448f0 RDI: 0000000000000005 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffd0056a94f R14: 00007fe893d67300 R15: 0000000000022000 INFO: task syz-executor.2:14048 blocked for more than 140 seconds. Not tainted 4.18.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D28248 14048 13004 0x00080004 Call Trace: context_switch kernel/sched/core.c:2853 [inline] __schedule+0x80c/0x1fc0 kernel/sched/core.c:3501 schedule+0x7f/0x1b0 kernel/sched/core.c:3545 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3603 __mutex_lock_common kernel/locking/mutex.c:834 [inline] __mutex_lock+0x58a/0x1300 kernel/locking/mutex.c:894 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:909 hci_req_sync+0x5b/0xb0 net/bluetooth/hci_request.c:273 hci_inquiry+0x606/0x820 net/bluetooth/hci_core.c:1263 hci_sock_ioctl+0x1a3/0x620 net/bluetooth/hci_sock.c:1046 sock_do_ioctl+0xd9/0x230 net/socket.c:970 sock_ioctl+0x281/0x500 net/socket.c:1094 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x196/0x1050 fs/ioctl.c:684 ksys_ioctl+0x62/0x90 fs/ioctl.c:701 __do_sys_ioctl fs/ioctl.c:708 [inline] __se_sys_ioctl fs/ioctl.c:706 [inline] __x64_sys_ioctl+0x6e/0xb0 fs/ioctl.c:706 do_syscall_64+0xda/0x540 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665e9 Code: 00 84 c9 0f 85 f1 fd ff ff 83 3d 81 00 3a 01 00 0f 85 c2 00 00 00 48 8d 0d 8c 2e 43 00 48 89 88 a8 00 00 00 0f 57 c0 0f 11 84 <24> 90 00 00 00 48 8b 0d 13 db 36 01 48 89 8c 24 90 00 00 00 48 8d RSP: 002b:00007fb8d46ae188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 00000000200000c0 RSI: 00000000800448f0 RDI: 0000000000000004 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007fff69d7238f R14: 00007fb8d46ae300 R15: 0000000000022000 INFO: task syz-executor.2:14049 blocked for more than 140 seconds. Not tainted 4.18.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D28248 14049 14048 0x00080004 Call Trace: context_switch kernel/sched/core.c:2853 [inline] __schedule+0x80c/0x1fc0 kernel/sched/core.c:3501 schedule+0x7f/0x1b0 kernel/sched/core.c:3545 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3603 __mutex_lock_common kernel/locking/mutex.c:834 [inline] __mutex_lock+0x58a/0x1300 kernel/locking/mutex.c:894 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:909 hci_req_sync+0x5b/0xb0 net/bluetooth/hci_request.c:273 hci_inquiry+0x606/0x820 net/bluetooth/hci_core.c:1263 hci_sock_ioctl+0x1a3/0x620 net/bluetooth/hci_sock.c:1046 sock_do_ioctl+0xd9/0x230 net/socket.c:970 sock_ioctl+0x281/0x500 net/socket.c:1094 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x196/0x1050 fs/ioctl.c:684 ksys_ioctl+0x62/0x90 fs/ioctl.c:701 __do_sys_ioctl fs/ioctl.c:708 [inline] __se_sys_ioctl fs/ioctl.c:706 [inline] __x64_sys_ioctl+0x6e/0xb0 fs/ioctl.c:706 do_syscall_64+0xda/0x540 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665e9 Code: 00 84 c9 0f 85 f1 fd ff ff 83 3d 81 00 3a 01 00 0f 85 c2 00 00 00 48 8d 0d 8c 2e 43 00 48 89 88 a8 00 00 00 0f 57 c0 0f 11 84 <24> 90 00 00 00 48 8b 0d 13 db 36 01 48 89 8c 24 90 00 00 00 48 8d RSP: 002b:00007fb8d46ae188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 00000000200000c0 RSI: 00000000800448f0 RDI: 0000000000000005 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007fff69d7238f R14: 00007fb8d46ae300 R15: 0000000000022000 INFO: task syz-executor.1:14064 blocked for more than 140 seconds. Not tainted 4.18.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D28248 14064 13006 0x00080004 Call Trace: context_switch kernel/sched/core.c:2853 [inline] __schedule+0x80c/0x1fc0 kernel/sched/core.c:3501 schedule+0x7f/0x1b0 kernel/sched/core.c:3545 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3603 __mutex_lock_common kernel/locking/mutex.c:834 [inline] __mutex_lock+0x58a/0x1300 kernel/locking/mutex.c:894 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:909 hci_req_sync+0x5b/0xb0 net/bluetooth/hci_request.c:273 hci_inquiry+0x606/0x820 net/bluetooth/hci_core.c:1263 hci_sock_ioctl+0x1a3/0x620 net/bluetooth/hci_sock.c:1046 sock_do_ioctl+0xd9/0x230 net/socket.c:970 sock_ioctl+0x281/0x500 net/socket.c:1094 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x196/0x1050 fs/ioctl.c:684 ksys_ioctl+0x62/0x90 fs/ioctl.c:701 __do_sys_ioctl fs/ioctl.c:708 [inline] __se_sys_ioctl fs/ioctl.c:706 [inline] __x64_sys_ioctl+0x6e/0xb0 fs/ioctl.c:706 do_syscall_64+0xda/0x540 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665e9 Code: 00 84 c9 0f 85 f1 fd ff ff 83 3d 81 00 3a 01 00 0f 85 c2 00 00 00 48 8d 0d 8c 2e 43 00 48 89 88 a8 00 00 00 0f 57 c0 0f 11 84 <24> 90 00 00 00 48 8b 0d 13 db 36 01 48 89 8c 24 90 00 00 00 48 8d RSP: 002b:00007f57df218188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 00000000200000c0 RSI: 00000000800448f0 RDI: 0000000000000004 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffc43be26cf R14: 00007f57df218300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/1509: #0: 00000000f3ea9ccb (rcu_read_lock){....}, at: debug_show_all_locks+0x5b/0x27a kernel/locking/lockdep.c:4461 1 lock held by in:imklog/7890: 1 lock held by syz-executor.3/13975: #0: 00000000edae5dc5 (&hdev->req_lock){+.+.}, at: hci_req_sync+0x5b/0xb0 net/bluetooth/hci_request.c:273 1 lock held by syz-executor.4/14015: #0: 00000000edae5dc5 (&hdev->req_lock){+.+.}, at: hci_req_sync+0x5b/0xb0 net/bluetooth/hci_request.c:273 1 lock held by syz-executor.4/14016: #0: 00000000edae5dc5 (&hdev->req_lock){+.+.}, at: hci_req_sync+0x5b/0xb0 net/bluetooth/hci_request.c:273 1 lock held by syz-executor.2/14048: #0: 00000000edae5dc5 (&hdev->req_lock){+.+.}, at: hci_req_sync+0x5b/0xb0 net/bluetooth/hci_request.c:273 1 lock held by syz-executor.2/14049: #0: 00000000edae5dc5 (&hdev->req_lock){+.+.}, at: hci_req_sync+0x5b/0xb0 net/bluetooth/hci_request.c:273 1 lock held by syz-executor.1/14064: #0: 00000000edae5dc5 (&hdev->req_lock){+.+.}, at: hci_req_sync+0x5b/0xb0 net/bluetooth/hci_request.c:273 1 lock held by syz-executor648/14109: #0: 00000000edae5dc5 (&hdev->req_lock){+.+.}, at: hci_req_sync+0x5b/0xb0 net/bluetooth/hci_request.c:273 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1509 Comm: khungtaskd Not tainted 4.18.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x15a/0x20d lib/dump_stack.c:113 nmi_cpu_backtrace.cold.0+0x13/0xb6 lib/nmi_backtrace.c:103 nmi_trigger_cpumask_backtrace+0xf6/0x11a lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace include/linux/nmi.h:138 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:196 [inline] watchdog+0x512/0x940 kernel/hung_task.c:252 kthread+0x316/0x3d0 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:412 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 10047 Comm: kworker/u4:6 Not tainted 4.18.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: phy36 ieee80211_iface_work RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:783 [inline] RIP: 0010:__call_rcu.constprop.47+0x28f/0x850 kernel/rcu/tree.c:2960 Code: 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 d7 04 00 00 48 83 3d a5 e4 e4 07 00 0f 84 1d 03 00 00 48 8b 7d d0 57 9d <0f> 1f 44 00 00 48 83 c4 28 5b 41 5c 41 5d 41 5e 41 5f 5d c3 80 3d RSP: 0018:ffff8800a163f3f8 EFLAGS: 00000286 RAX: dffffc0000000000 RBX: ffff8800ab03ce88 RCX: 1ffff100143ef444 RDX: 1ffffffff12612c5 RSI: ffff8800a1f7a200 RDI: 0000000000000286 RBP: ffff8800a163f448 R08: ffff8800a1f7a220 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8800ba748500 R13: ffff8800ba748590 R14: ffffffff893760c0 R15: ffff8800ba748580 FS: 0000000000000000(0000) GS:ffff8800ba700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9f7fc9c000 CR3: 00000000ac7bd000 CR4: 0000000000340ee0 Call Trace: kfree_call_rcu+0x15/0x20 kernel/rcu/tree.c:3027 cfg80211_bss_update+0x8f4/0x2a40 net/wireless/scan.c:969 cfg80211_inform_bss_frame_data+0x663/0xd20 net/wireless/scan.c:1245 ieee80211_bss_info_update+0x343/0x15a0 net/mac80211/scan.c:104 ieee80211_rx_bss_info net/mac80211/ibss.c:1125 [inline] ieee80211_rx_mgmt_probe_beacon+0x708/0x1460 net/mac80211/ibss.c:1607 ieee80211_ibss_rx_queued_mgmt+0x1d6/0x1860 net/mac80211/ibss.c:1634 ieee80211_iface_work+0x47e/0x690 net/mac80211/iface.c:1342 process_one_work+0x7b9/0x1580 kernel/workqueue.c:2153 worker_thread+0x85/0xb60 kernel/workqueue.c:2296 kthread+0x316/0x3d0 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:412