------------[ cut here ]------------ do not call blocking ops when !TASK_RUNNING; state=1 set at [] prepare_to_wait_exclusive+0x84/0x230 kernel/sched/wait.c:255 WARNING: CPU: 1 PID: 5403 at kernel/sched/core.c:8556 __might_sleep+0xb9/0xe0 kernel/sched/core.c:8552 Modules linked in: CPU: 1 UID: 0 PID: 5403 Comm: syz.1.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:ffffc9000482fa50 EFLAGS: 00010246 RAX: 05c0675a76c15600 RBX: 1ffff110043772ec RCX: 0000000000040000 RDX: ffffc90008dba000 RSI: 0000000000014375 RDI: 0000000000014376 RBP: ffff888021bb9760 R08: ffffffff8155acc2 R09: fffffbfff1cfa354 R10: dffffc0000000000 R11: fffffbfff1cfa354 R12: dffffc0000000000 R13: 0000000000000001 R14: 0000000000000dd9 R15: ffffffff8d0c6680 FS: 00007fd503f516c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3f90779d58 CR3: 0000000020634000 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] sctp_wait_for_connect+0x3e7/0x6e0 net/sctp/socket.c:9352 __sctp_connect+0xb71/0xe30 net/sctp/socket.c:1247 sctp_connect net/sctp/socket.c:4819 [inline] sctp_inet_connect+0x149/0x1f0 net/sctp/socket.c:4834 __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:0x7fd503179e79 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:00007fd503f51038 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00007fd503315f80 RCX: 00007fd503179e79 RDX: 000000000000001c RSI: 0000000020000000 RDI: 0000000000000005 RBP: 00007fd5031e7916 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fd503315f80 R15: 00007ffcd1ecbf18