------------[ cut here ]------------ do not call blocking ops when !TASK_RUNNING; state=1 set at [<000000004e3098e3>] prepare_to_wait_exclusive+0x35/0xc0 kernel/sched/wait.c:261 WARNING: CPU: 1 PID: 31367 at kernel/sched/core.c:7251 __might_sleep+0x63/0x70 kernel/sched/core.c:7246 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 31367 Comm: syz-executor933 Not tainted 5.9.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0xa3/0xcc lib/dump_stack.c:118 panic+0x135/0x31a kernel/panic.c:231 __warn.cold.13+0x20/0x25 kernel/panic.c:600 report_bug+0xc0/0xf0 lib/bug.c:198 handle_bug+0x35/0x90 arch/x86/kernel/traps.c:234 exc_invalid_op+0x13/0x60 arch/x86/kernel/traps.c:254 asm_exc_invalid_op+0x12/0x20 arch/x86/include/asm/idtentry.h:536 RIP: 0010:__might_sleep+0x63/0x70 kernel/sched/core.c:7246 Code: 5b 5d 41 5c e9 7e fe ff ff 48 8b 90 30 14 00 00 48 c7 c7 f0 40 e5 83 c6 05 f8 2f 3e 03 01 48 8b 70 10 48 89 d1 e8 38 77 fc ff <0f> 0b eb ca 66 0f 1f 84 00 00 00 00 00 89 f6 e9 89 a2 0e 00 66 0f RSP: 0018:ffffc90001e07870 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffffffff83e4cb7a RCX: 0000000000000001 RDX: 0000000080000001 RSI: ffffffff8401b591 RDI: 00000000ffffffff RBP: 0000000000000532 R08: 0000000000000001 R09: 0000000000000001 R10: ffff888100f42600 R11: 6fb3db7c82a3fd00 R12: 0000000000000000 R13: 0000000000000214 R14: ffff88808cdcb2c0 R15: 0000000000000000 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/0x720 arch/x86/mm/fault.c:1482 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:538 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:ffffc90001e07990 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88810d22e158 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88810d22e158 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000001 R11: 58b9456cbcea3dfe R12: 0000000000004001 R13: ffff88811f9bc158 R14: ffff88810d22e000 R15: ffff88811f9bc158 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:1011 [inline] __release_sock+0x68/0x100 net/core/sock.c:2542 release_sock+0x26/0xa0 net/core/sock.c:3065 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+0x60/0x90 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:0xf7f9a549 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:00000000ffb492bc 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 Kernel Offset: disabled Rebooting in 86400 seconds..