------------[ cut here ]------------ do not call blocking ops when !TASK_RUNNING; state=1 set at [] bt_sock_wait_state+0x188/0x570 net/bluetooth/af_bluetooth.c:594 WARNING: CPU: 1 PID: 5377 at kernel/sched/core.c:8556 __might_sleep+0xb9/0xe0 kernel/sched/core.c:8552 Modules linked in: CPU: 1 UID: 0 PID: 5377 Comm: syz.3.15 Not tainted 6.11.0-rc4-next-20240820-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:__might_sleep+0xb9/0xe0 kernel/sched/core.c:8552 Code: 9d 0e 01 90 42 80 3c 23 00 74 08 48 89 ef e8 3e 9d 97 00 48 8b 4d 00 48 c7 c7 c0 60 0a 8c 44 89 ee 48 89 ca e8 b8 01 f1 ff 90 <0f> 0b 90 90 eb b5 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 70 ff ff ff RSP: 0018:ffffc9000495fad0 EFLAGS: 00010246 RAX: 8f0af74e2edea600 RBX: 1ffff1100fb1f6ac RCX: 0000000000040000 RDX: ffffc9000a9d0000 RSI: 000000000000a35d RDI: 000000000000a35e RBP: ffff88807d8fb560 R08: ffffffff8155acc2 R09: fffffbfff1cfa354 R10: dffffc0000000000 R11: fffffbfff1cfa354 R12: dffffc0000000000 R13: 0000000000000001 R14: 0000000000000dd9 R15: ffffffff8d0c6680 FS: 00007fe575d0b6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c45341b CR3: 0000000021656000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_sock_nested+0x5d/0x100 net/core/sock.c:3545 lock_sock include/net/sock.h:1607 [inline] bt_sock_wait_state+0x2fb/0x570 net/bluetooth/af_bluetooth.c:608 l2cap_sock_connect+0x638/0x800 net/bluetooth/l2cap_sock.c:264 __sys_connect_file net/socket.c:2061 [inline] __sys_connect+0x2df/0x310 net/socket.c:2078 __do_sys_connect net/socket.c:2088 [inline] __se_sys_connect net/socket.c:2085 [inline] __x64_sys_connect+0x7a/0x90 net/socket.c:2085 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe574f79e79 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe575d0b038 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00007fe575116058 RCX: 00007fe574f79e79 RDX: 000000000000000e RSI: 0000000020000100 RDI: 0000000000000008 RBP: 00007fe574fe7916 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fe575116058 R15: 00007ffe552a3548