Bluetooth: hci4: Ignoring HCI_Sync_Conn_Complete event for existing connection Bluetooth: hci2: Ignoring HCI_Sync_Conn_Complete event for existing connection Bluetooth: hci4: Ignoring HCI_Sync_Conn_Complete event for existing connection BUG: sleeping function called from invalid context at net/core/sock.c:3498 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4447, name: kworker/u5:4 preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 6 locks held by kworker/u5:4/4447: #0: ffff0000c3c1a138 ((wq_completion)hci1#2){+.+.}-{0:0}, at: process_one_work+0x6b4/0x13a8 kernel/workqueue.c:2265 #1: ffff8000209c7c20 ((work_completion)(&hdev->rx_work)){+.+.}-{0:0}, at: process_one_work+0x6f8/0x13a8 kernel/workqueue.c:2267 #2: ffff0000d4dd4078 (&hdev->lock){+.+.}-{3:3}, at: hci_sync_conn_complete_evt+0x98/0x90c net/bluetooth/hci_event.c:5029 #3: ffff8000178102a8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_connect_cfm include/net/bluetooth/hci_core.h:1811 [inline] #3: ffff8000178102a8 (hci_cb_list_lock){+.+.}-{3:3}, at: hci_sync_conn_complete_evt+0x3f8/0x90c net/bluetooth/hci_event.c:5115 #4: ffff0000c8b57e20 (&conn->lock#2){+.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:351 [inline] #4: ffff0000c8b57e20 (&conn->lock#2){+.+.}-{2:2}, at: sco_conn_ready net/bluetooth/sco.c:1304 [inline] #4: ffff0000c8b57e20 (&conn->lock#2){+.+.}-{2:2}, at: sco_connect_cfm+0x25c/0x8fc net/bluetooth/sco.c:1389 #5: ffff0000c3725130 (sk_lock-AF_BLUETOOTH-BTPROTO_SCO){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1792 [inline] #5: ffff0000c3725130 (sk_lock-AF_BLUETOOTH-BTPROTO_SCO){+.+.}-{0:0}, at: sco_conn_ready net/bluetooth/sco.c:1317 [inline] #5: ffff0000c3725130 (sk_lock-AF_BLUETOOTH-BTPROTO_SCO){+.+.}-{0:0}, at: sco_connect_cfm+0x3cc/0x8fc net/bluetooth/sco.c:1389 Preemption disabled at: [] spin_lock include/linux/spinlock.h:351 [inline] [] sco_conn_ready net/bluetooth/sco.c:1304 [inline] [] sco_connect_cfm+0x25c/0x8fc net/bluetooth/sco.c:1389 CPU: 0 PID: 4447 Comm: kworker/u5:4 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 Workqueue: hci1 hci_rx_work Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf8/0x160 lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 __might_resched+0x350/0x4cc kernel/sched/core.c:9966 __might_sleep+0x94/0x110 kernel/sched/core.c:9895 lock_sock_nested+0x80/0x130 net/core/sock.c:3498 lock_sock include/net/sock.h:1792 [inline] sco_conn_ready net/bluetooth/sco.c:1317 [inline] sco_connect_cfm+0x3cc/0x8fc net/bluetooth/sco.c:1389 hci_connect_cfm include/net/bluetooth/hci_core.h:1814 [inline] hci_sync_conn_complete_evt+0x460/0x90c net/bluetooth/hci_event.c:5115 hci_event_func net/bluetooth/hci_event.c:7415 [inline] hci_event_packet+0x6f4/0xf08 net/bluetooth/hci_event.c:7467 hci_rx_work+0x324/0xaa0 net/bluetooth/hci_core.c:4083 process_one_work+0x7f4/0x13a8 kernel/workqueue.c:2292 worker_thread+0x8c8/0xfbc kernel/workqueue.c:2439 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 Bluetooth: hci1: Ignoring HCI_Sync_Conn_Complete event for existing connection Bluetooth: hci3: Ignoring HCI_Sync_Conn_Complete event for existing connection Bluetooth: hci1: Ignoring HCI_Sync_Conn_Complete event for existing connection Bluetooth: hci3: Ignoring HCI_Sync_Conn_Complete event for existing connection Bluetooth: hci4: Ignoring HCI_Sync_Conn_Complete event for existing connection Bluetooth: hci4: Ignoring HCI_Sync_Conn_Complete event for existing connection Bluetooth: hci5: Ignoring HCI_Sync_Conn_Complete event for existing connection