------------[ cut here ]------------ do not call blocking ops when !TASK_RUNNING; state=1 set at [] prepare_to_wait_exclusive+0x7a/0x2b0 kernel/sched/wait.c:286 WARNING: CPU: 0 PID: 7894 at kernel/sched/core.c:9656 __might_sleep+0x105/0x150 kernel/sched/core.c:9656 Modules linked in: CPU: 0 PID: 7894 Comm: syz-executor.4 Tainted: G W 5.17.0-syzkaller-11138-gf022814633e1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__might_sleep+0x105/0x150 kernel/sched/core.c:9656 Code: 70 02 00 48 8d bb f0 16 00 00 48 89 fa 48 c1 ea 03 80 3c 02 00 75 34 48 8b 93 f0 16 00 00 48 c7 c7 00 f1 cb 89 e8 9f 30 c9 07 <0f> 0b e9 75 ff ff ff e8 6f 49 73 00 e9 26 ff ff ff 89 34 24 e8 72 RSP: 0018:ffffc90000007d68 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff888022f18000 RCX: 0000000000000000 RDX: ffff888022f18000 RSI: ffffffff816015a8 RDI: fffff52000000f9f RBP: ffffffff8a248c40 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff815fbf7e R11: 0000000000000000 R12: 00000000000002fe R13: 0000000000000000 R14: ffffffff8a249040 R15: 0000000000000000 FS: 00007ff9ebc23700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020004cc0 CR3: 0000000074fbd000 CR4: 0000000000350ef0 Call Trace: blk_release_queue+0x1f/0x320 block/blk-sysfs.c:766 kobject_cleanup lib/kobject.c:705 [inline] kobject_release lib/kobject.c:736 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x1c8/0x540 lib/kobject.c:753 blkg_free.part.0+0x112/0x1f0 block/blk-cgroup.c:86 blkg_free block/blk-cgroup.c:78 [inline] __blkg_release+0x105/0x160 block/blk-cgroup.c:102 rcu_do_batch kernel/rcu/tree.c:2535 [inline] rcu_core+0x7b1/0x1880 kernel/rcu/tree.c:2786 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:ip_route_output_key_hash_rcu+0x2/0x2c80 net/ipv4/route.c:2647 Code: 41 5d 41 5e 41 5f c3 e8 2c fa bb f9 44 89 e1 49 89 d8 44 89 f2 89 ee 4c 89 ef e8 d9 9d ff ff 41 89 c4 eb cc 0f 1f 40 00 41 57 <41> 56 41 55 49 89 d5 41 54 49 89 cc 55 48 89 fd 53 48 89 f3 48 83 RSP: 0018:ffffc900125cf268 EFLAGS: 00000246 RAX: 0000000000040000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: ffffc900125cf2a8 RSI: ffffc900125cf458 RDI: ffff88807f059b80 RBP: ffffc900125cf458 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff87bd3304 R11: 0000000000000000 R12: 1ffff920024b9e4f R13: ffff88807f059b80 R14: ffffc900125cf2a8 R15: 0000000000000000 ip_route_output_key_hash+0x183/0x2f0 net/ipv4/route.c:2637 __ip_route_output_key include/net/route.h:127 [inline] ip_route_output_flow+0x23/0x150 net/ipv4/route.c:2867 ip_route_output_key include/net/route.h:143 [inline] sctp_v4_get_dst+0x3b6/0x11c0 net/sctp/protocol.c:448 sctp_transport_route+0x125/0x350 net/sctp/transport.c:454 sctp_assoc_add_peer+0x6e6/0x14a0 net/sctp/associola.c:665 sctp_process_param net/sctp/sm_make_chunk.c:2576 [inline] sctp_process_init+0x23f1/0x2a30 net/sctp/sm_make_chunk.c:2396 sctp_cmd_process_init net/sctp/sm_sideeffect.c:702 [inline] sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1383 [inline] sctp_side_effects net/sctp/sm_sideeffect.c:1195 [inline] sctp_do_sm+0x2b9d/0x4f00 net/sctp/sm_sideeffect.c:1166 sctp_assoc_bh_rcv+0x386/0x6c0 net/sctp/associola.c:1054 sctp_inq_push+0x1d2/0x270 net/sctp/inqueue.c:80 sctp_backlog_rcv+0x196/0x5a0 net/sctp/input.c:344 sk_backlog_rcv include/net/sock.h:1051 [inline] __release_sock+0x134/0x3b0 net/core/sock.c:2794 release_sock+0x54/0x1b0 net/core/sock.c:3327 sctp_wait_for_connect+0x1cb/0x5d0 net/sctp/socket.c:9316 __sctp_connect+0x9a6/0xc30 net/sctp/socket.c:1244 sctp_connect net/sctp/socket.c:4808 [inline] sctp_inet_connect+0x15e/0x200 net/sctp/socket.c:4823 __sys_connect_file+0x14f/0x190 net/socket.c:1900 __sys_connect+0x161/0x190 net/socket.c:1917 __do_sys_connect net/socket.c:1927 [inline] __se_sys_connect net/socket.c:1924 [inline] __x64_sys_connect+0x6f/0xb0 net/socket.c:1924 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7ff9eaa89049 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff9ebc23168 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00007ff9eab9c100 RCX: 00007ff9eaa89049 RDX: 000000000000001c RSI: 0000000020000000 RDI: 0000000000000003 RBP: 00007ff9eaae308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffec43422df R14: 00007ff9ebc23300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 41 5d pop %r13 2: 41 5e pop %r14 4: 41 5f pop %r15 6: c3 retq 7: e8 2c fa bb f9 callq 0xf9bbfa38 c: 44 89 e1 mov %r12d,%ecx f: 49 89 d8 mov %rbx,%r8 12: 44 89 f2 mov %r14d,%edx 15: 89 ee mov %ebp,%esi 17: 4c 89 ef mov %r13,%rdi 1a: e8 d9 9d ff ff callq 0xffff9df8 1f: 41 89 c4 mov %eax,%r12d 22: eb cc jmp 0xfffffff0 24: 0f 1f 40 00 nopl 0x0(%rax) 28: 41 57 push %r15 * 2a: 41 56 push %r14 <-- trapping instruction 2c: 41 55 push %r13 2e: 49 89 d5 mov %rdx,%r13 31: 41 54 push %r12 33: 49 89 cc mov %rcx,%r12 36: 55 push %rbp 37: 48 89 fd mov %rdi,%rbp 3a: 53 push %rbx 3b: 48 89 f3 mov %rsi,%rbx 3e: 48 rex.W 3f: 83 .byte 0x83