------------[ cut here ]------------ do not call blocking ops when !TASK_RUNNING; state=1 set at [<0000000040f449ab>] prepare_to_wait_exclusive+0x35/0xc0 kernel/sched/wait.c:261 WARNING: CPU: 0 PID: 3563 at kernel/sched/core.c:7256 __might_sleep+0x63/0x70 kernel/sched/core.c:7251 Modules linked in: CPU: 0 PID: 3563 Comm: syz-executor796 Not tainted 5.10.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__might_sleep+0x63/0x70 kernel/sched/core.c:7251 Code: 5b 5d 41 5c e9 7e fe ff ff 48 8b 90 60 14 00 00 48 c7 c7 b0 83 ea 83 c6 05 70 c1 4d 03 01 48 8b 70 10 48 89 d1 e8 eb f4 db 01 <0f> 0b eb ca 66 0f 1f 84 00 00 00 00 00 89 f6 e9 e9 65 0e 00 66 0f RSP: 0018:ffffc900006ab870 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffffffff83ea0dfa RCX: 0000000000000001 RDX: 0000000080000001 RSI: ffffffff84072be9 RDI: 00000000ffffffff RBP: 0000000000000532 R08: 0000000000000001 R09: 0000000000000001 R10: ffffc900006ab6a0 R11: ffffc900006ab698 R12: 0000000000000000 R13: 0000000000000214 R14: ffff88820349f340 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff888237d00000(0063) knlGS:0000000009fa7840 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00007f701759a000 CR3: 0000000116d3f002 CR4: 00000000001706e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_user_addr_fault arch/x86/mm/fault.c:1330 [inline] handle_page_fault arch/x86/mm/fault.c:1429 [inline] exc_page_fault+0x171/0x700 arch/x86/mm/fault.c:1485 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:583 RIP: 0010:sctp_ulpevent_notify_peer_addr_change+0x2b/0x260 net/sctp/ulpevent.c:346 Code: 57 41 56 41 55 41 54 55 53 48 81 ec 88 00 00 00 48 8b af b0 00 00 00 65 48 8b 04 25 28 00 00 00 48 89 84 24 80 00 00 00 31 c0 <83> bd 60 02 00 00 02 77 29 48 8b 84 24 80 00 00 00 65 48 33 04 25 RSP: 0018:ffffc900006ab990 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88810fc0b158 RCX: ffffc900006aba34 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88810fc0b158 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000001 R11: ffff888119aa2200 R12: 0000000005c0b001 R13: ffff8881151f8158 R14: ffff88810fc0b000 R15: ffff8881151f8158 sctp_assoc_set_primary+0x37/0xd0 net/sctp/associola.c:435 sctp_assoc_rm_peer+0x231/0x290 net/sctp/associola.c:508 sctp_assoc_update+0x156/0x350 net/sctp/associola.c:1116 sctp_cmd_assoc_update net/sctp/sm_sideeffect.c:836 [inline] sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1305 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1185 [inline] sctp_do_sm+0x40e/0x17a0 net/sctp/sm_sideeffect.c:1156 sctp_assoc_bh_rcv+0xfc/0x1d0 net/sctp/associola.c:1044 sctp_backlog_rcv+0x59/0x3c0 net/sctp/input.c:344 sk_backlog_rcv include/net/sock.h:1010 [inline] __release_sock+0x68/0x100 net/core/sock.c:2523 release_sock+0x26/0xa0 net/core/sock.c:3053 sctp_wait_for_connect+0xc4/0x180 net/sctp/socket.c:9061 __sctp_connect+0x279/0x2d0 net/sctp/socket.c:1230 sctp_setsockopt_connectx net/sctp/socket.c:1346 [inline] sctp_setsockopt+0x279/0x2070 net/sctp/socket.c:4487 __sys_setsockopt+0xdc/0x1e0 net/socket.c:2132 __do_sys_setsockopt net/socket.c:2143 [inline] __se_sys_setsockopt net/socket.c:2140 [inline] __ia32_sys_setsockopt+0x1a/0x20 net/socket.c:2140 do_syscall_32_irqs_on arch/x86/entry/common.c:78 [inline] __do_fast_syscall_32+0x56/0x80 arch/x86/entry/common.c:137 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:160 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f84549 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 002b:00000000ffe643ec EFLAGS: 00000286 ORIG_RAX: 000000000000016e RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000000084 RDX: 000000000000006e RSI: 0000000020000000 RDI: 0000000000000020 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000