Bluetooth: hci2 command 0x0401 tx timeout watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [syz-executor.0:19045] Modules linked in: irq event stamp: 838122 hardirqs last enabled at (838121): [] restore_regs_and_return_to_kernel+0x0/0x2a hardirqs last disabled at (838122): [] apic_timer_interrupt+0x8e/0xa0 arch/x86/entry/entry_64.S:793 softirqs last enabled at (57858): [] __do_softirq+0x68b/0x9ff kernel/softirq.c:314 softirqs last disabled at (57759): [] invoke_softirq kernel/softirq.c:368 [inline] softirqs last disabled at (57759): [] irq_exit+0x193/0x240 kernel/softirq.c:409 CPU: 0 PID: 19045 Comm: syz-executor.0 Not tainted 4.14.232-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888047026140 task.stack: ffff888221348000 RIP: 0010:__read_once_size include/linux/compiler.h:183 [inline] RIP: 0010:trylock_clear_pending kernel/locking/qspinlock_paravirt.h:99 [inline] RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:412 [inline] RIP: 0010:__pv_queued_spin_lock_slowpath+0x271/0x910 kernel/locking/qspinlock.c:465 RSP: 0018:ffff88822134fb90 EFLAGS: 00000206 ORIG_RAX: ffffffffffffff10 RAX: 0000000000000000 RBX: ffff8880ba42ae80 RCX: fffffbfff13ba88d RDX: 00000000000072b1 RSI: 0000000000000004 RDI: 0000000000000286 RBP: ffffffff89dd446c R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: dffffc0000000000 R14: ffffffff89dd446d R15: ffffed10174855d8 FS: 0000000003005400(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff103f9c98 CR3: 00000002177da000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:669 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:52 [inline] queued_spin_lock include/asm-generic/qspinlock.h:90 [inline] queued_read_lock_slowpath+0x150/0x190 kernel/locking/qrwlock.c:90 hci_send_to_channel+0x3c/0x200 net/bluetooth/hci_sock.c:261 hci_send_monitor_ctrl_event+0x3dd/0x500 net/bluetooth/hci_sock.c:391 mgmt_send_event+0x2b3/0x330 net/bluetooth/mgmt_util.c:86 mgmt_index_event net/bluetooth/mgmt.c:253 [inline] mgmt_index_added+0x1d5/0x210 net/bluetooth/mgmt.c:6559 hci_sock_release+0x3d7/0x4c0 net/bluetooth/hci_sock.c:866 __sock_release+0xcd/0x2b0 net/socket.c:602 sock_close+0x15/0x20 net/socket.c:1139 __fput+0x25f/0x7a0 fs/file_table.c:210 task_work_run+0x11f/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x41940b RSP: 002b:00007ffe0ee7ad90 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 000000000041940b RDX: 0000000000000000 RSI: 000000000b99a041 RDI: 0000000000000004 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b2e222774 R10: 0000000000000000 R11: 0000000000000293 R12: 000000000056c9e0 R13: 000000000056c9e0 R14: 000000000056bf60 R15: 00000000000f0720 Code: 89 ee c6 45 01 01 ba 00 80 00 00 48 c1 e9 03 83 e6 07 41 b8 01 00 00 00 4c 01 e9 eb 0b f3 90 83 ea 01 0f 84 42 04 00 00 0f b6 01 <40> 38 f0 7f 08 84 c0 0f 85 4b 05 00 00 0f b6 45 00 84 c0 75 dd Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 19051 Comm: syz-executor.4 Not tainted 4.14.232-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88804afbe540 task.stack: ffff8882225b0000 RIP: 0010:__read_once_size include/linux/compiler.h:183 [inline] RIP: 0010:atomic_read arch/x86/include/asm/atomic.h:27 [inline] RIP: 0010:queued_write_lock_slowpath+0xcb/0x1d0 kernel/locking/qrwlock.c:139 RSP: 0018:ffff8882225b7d10 EFLAGS: 00000206 RAX: 0000000000000101 RBX: ffffffff89dd4468 RCX: 0000000000000916 RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff89dd4468 RBP: ffffffff89dd446c R08: ffffffff8b994370 R09: 00000000000405a4 R10: ffff88804afbee18 R11: ffff88804afbe540 R12: 0000000000000003 R13: fffffbfff13ba88d R14: 00000000000000ff R15: ffff8880b3f65c90 FS: 00000000024e8400(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fae49e88f80 CR3: 0000000222ed4000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: queued_write_lock include/asm-generic/qrwlock.h:134 [inline] do_raw_write_lock+0xc2/0x1d0 kernel/locking/spinlock_debug.c:203 bt_sock_unlink+0x1d/0x170 net/bluetooth/af_bluetooth.c:151 hci_sock_release+0xc1/0x4c0 net/bluetooth/hci_sock.c:850 __sock_release+0xcd/0x2b0 net/socket.c:602 sock_close+0x15/0x20 net/socket.c:1139 __fput+0x25f/0x7a0 fs/file_table.c:210 task_work_run+0x11f/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x41940b RSP: 002b:00007fff9da113e0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 000000000041940b RDX: 0000000000570540 RSI: 00000000089075c3 RDI: 0000000000000004 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000001b31722fc8 R10: 00007fff9da114d0 R11: 0000000000000293 R12: 00000000000f07d0 R13: 00000000000003e8 R14: 000000000056bf60 R15: 00000000000f0718 Code: 75 dc 49 89 dd 49 89 dc 41 be ff 00 00 00 49 c1 ed 03 41 83 e4 07 48 b8 00 00 00 00 00 fc ff df 49 01 c5 41 83 c4 03 eb 02 f3 90 <41> 0f b6 45 00 41 38 c4 7c 08 84 c0 0f 85 9e 00 00 00 8b 03 83