------------[ cut here ]------------ do not call blocking ops when !TASK_RUNNING; state=1 set at [<00000000de530864>] prepare_to_wait_exclusive+0x35/0xc0 kernel/sched/wait.c:276 WARNING: CPU: 1 PID: 22095 at kernel/sched/core.c:7853 __might_sleep+0x63/0x70 kernel/sched/core.c:7848 Modules linked in: CPU: 0 PID: 22095 Comm: syz-executor538 Not tainted 5.11.0-rc2-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:7848 Code: 5b 5d 41 5c e9 7e fe ff ff 48 8b 90 d0 14 00 00 48 c7 c7 a0 82 eb 83 c6 05 1a 81 6d 03 01 48 8b 70 18 48 89 d1 e8 ef 65 e0 01 <0f> 0b eb ca 66 0f 1f 84 00 00 00 00 00 89 f6 e9 49 8c 0e 00 66 0f RSP: 0018:ffffc90000ccb870 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffffffff83eb0c9a RCX: 0000000000000001 RDX: 0000000080000001 RSI: ffffffff84085831 RDI: 00000000ffffffff RBP: 0000000000000547 R08: 0000000000000001 R09: 0000000000000001 R10: ffffc90000ccb6a0 R11: ffffc90000ccb698 R12: 0000000000000000 R13: 0000000000000214 R14: ffff88811d1154c0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff888237d00000(0063) knlGS:00000000087b4840 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00007f486bf04000 CR3: 00000001198ee003 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:1351 [inline] handle_page_fault arch/x86/mm/fault.c:1450 [inline] exc_page_fault+0x17b/0x790 arch/x86/mm/fault.c:1506 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:580 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:ffffc90000ccb990 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888118fbe158 RCX: ffffc90000ccba34 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff888118fbe158 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000018726001 R13: ffff8881342cb158 R14: ffff888118fbe000 R15: ffff8881342cb158 sctp_assoc_set_primary+0x37/0xd0 net/sctp/associola.c:437 sctp_assoc_rm_peer+0x231/0x290 net/sctp/associola.c:510 sctp_assoc_update+0x156/0x350 net/sctp/associola.c:1120 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:1048 sctp_backlog_rcv+0x59/0x3c0 net/sctp/input.c:344 sk_backlog_rcv include/net/sock.h:1016 [inline] __release_sock+0x68/0x100 net/core/sock.c:2542 release_sock+0x26/0xa0 net/core/sock.c:3066 sctp_wait_for_connect+0xdc/0x180 net/sctp/socket.c:9177 __sctp_connect+0x279/0x2d0 net/sctp/socket.c:1230 sctp_setsockopt_connectx net/sctp/socket.c:1346 [inline] sctp_setsockopt+0x3ad/0x2130 net/sctp/socket.c:4536 __sys_setsockopt+0xdc/0x1e0 net/socket.c:2115 __do_sys_setsockopt net/socket.c:2126 [inline] __se_sys_setsockopt net/socket.c:2123 [inline] __ia32_sys_setsockopt+0x1a/0x20 net/socket.c:2123 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:0xf7f7f549 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:00000000ffb30d2c EFLAGS: 00000282 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