------------[ cut here ]------------ do not call blocking ops when !TASK_RUNNING; state=1 set at [] prepare_to_wait_exclusive+0x78/0x220 kernel/sched/wait.c:286 WARNING: CPU: 0 PID: 8208 at kernel/sched/core.c:9660 __might_sleep+0xb0/0xe0 kernel/sched/core.c:9656 Modules linked in: CPU: 0 PID: 8208 Comm: syz-executor.4 Tainted: G W 5.17.0-syzkaller-10753-gbddac7c1e02b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__might_sleep+0xb0/0xe0 kernel/sched/core.c:9656 Code: af 0c 01 42 80 3c 23 00 74 08 48 89 ef e8 38 e6 7a 00 48 8b 4d 00 48 c7 c7 80 c8 8e 8a 44 89 ee 48 89 ca 31 c0 e8 20 92 f2 ff <0f> 0b eb b7 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 72 ff ff ff 48 89 RSP: 0018:ffffc90000007b38 EFLAGS: 00010246 RAX: 6457cb91ca0bd300 RBX: 1ffff11003b5c67e RCX: ffff88801dae1d00 RDX: 0000000000000100 RSI: 0000000000000100 RDI: 0000000000000000 RBP: ffff88801dae33f0 R08: ffffffff816b8a02 R09: ffffed1017344f2c R10: ffffed1017344f2c R11: 0000000000000000 R12: dffffc0000000000 R13: 0000000000000001 R14: 00000000000002fe R15: ffffffff8c6b0e22 FS: 00007f5364310700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f536339c028 CR3: 00000000743d0000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: blk_release_queue+0x2e/0x2a0 block/blk-sysfs.c:766 kobject_cleanup+0x1c0/0x280 lib/kobject.c:705 blkg_free+0x2d0/0x320 block/blk-cgroup.c:86 rcu_do_batch kernel/rcu/tree.c:2535 [inline] rcu_core+0xa85/0x1700 kernel/rcu/tree.c:2786 __do_softirq+0x392/0x7a3 kernel/softirq.c:558 __irq_exit_rcu+0xec/0x170 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 RIP: 0010:unwind_next_frame+0x18ad/0x1fc0 arch/x86/kernel/unwind_orc.c:634 Code: 00 fc ff df 48 8b 4c 24 18 8a 04 01 84 c0 0f 85 f6 00 00 00 41 c7 45 00 00 00 00 00 31 c0 48 81 c4 88 00 00 00 5b 41 5c 41 5d <41> 5e 41 5f 5d c3 e8 90 bd c4 ff eb c3 80 3d 59 9f d1 0c 00 0f 85 RSP: 0018:ffffc900036eea20 EFLAGS: 00000282 RAX: 0000000000000001 RBX: ffffc900036eea40 RCX: 0000000080000000 RDX: ffffc900036ef580 RSI: 0000000000000001 RDI: 0000000000000001 RBP: ffffc900036f0000 R08: dffffc0000000000 R09: ffffc900036eea90 R10: fffff520006ddd54 R11: 0000000000000000 R12: ffff88801dae1d00 R13: ffffffff81738610 R14: ffffc900036e8000 R15: 1ffff920006ddd48 arch_stack_walk+0x112/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x11b/0x1e0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:436 [inline] __kasan_slab_alloc+0xb2/0xe0 mm/kasan/common.c:469 kasan_slab_alloc include/linux/kasan.h:224 [inline] slab_post_alloc_hook mm/slab.h:749 [inline] slab_alloc_node mm/slub.c:3217 [inline] slab_alloc mm/slub.c:3225 [inline] __kmem_cache_alloc_lru mm/slub.c:3232 [inline] kmem_cache_alloc+0x1c9/0x310 mm/slub.c:3242 dst_alloc+0x182/0x200 net/core/dst.c:92 rt_dst_alloc net/ipv4/route.c:1633 [inline] __mkroute_output net/ipv4/route.c:2585 [inline] ip_route_output_key_hash_rcu+0x1584/0x2410 net/ipv4/route.c:2808 ip_route_output_key_hash+0x1ac/0x2e0 net/ipv4/route.c:2637 __ip_route_output_key include/net/route.h:127 [inline] ip_route_output_flow+0x25/0x130 net/ipv4/route.c:2867 ip_route_output_key include/net/route.h:143 [inline] sctp_v4_get_dst+0x49b/0x1460 net/sctp/protocol.c:448 sctp_transport_route+0x10b/0x2b0 net/sctp/transport.c:454 sctp_assoc_add_peer+0x601/0x1580 net/sctp/associola.c:665 sctp_process_param+0x6be/0x1730 net/sctp/sm_make_chunk.c:2576 sctp_process_init+0x292/0x1390 net/sctp/sm_make_chunk.c:2396 sctp_sf_do_unexpected_init+0xb59/0x1700 net/sctp/sm_statefuns.c:1612 sctp_do_sm+0x206/0x540 net/sctp/sm_sideeffect.c:1163 sctp_assoc_bh_rcv+0x42a/0x680 net/sctp/associola.c:1054 sctp_backlog_rcv+0x16e/0x4c0 net/sctp/input.c:344 sk_backlog_rcv include/net/sock.h:1051 [inline] __release_sock+0x1d8/0x4c0 net/core/sock.c:2794 release_sock+0x5d/0x1c0 net/core/sock.c:3327 sctp_wait_for_connect+0x3c6/0x6b0 net/sctp/socket.c:9316 __sctp_connect+0x10c1/0x1370 net/sctp/socket.c:1244 sctp_connect+0xab/0x130 net/sctp/socket.c:4808 __sys_connect_file net/socket.c:1900 [inline] __sys_connect+0x29b/0x2d0 net/socket.c:1917 __do_sys_connect net/socket.c:1927 [inline] __se_sys_connect net/socket.c:1924 [inline] __x64_sys_connect+0x76/0x80 net/socket.c:1924 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f5363289049 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:00007f5364310168 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00007f536339bf60 RCX: 00007f5363289049 RDX: 000000000000001c RSI: 0000000020000000 RDI: 0000000000000003 RBP: 00007f53632e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe011dd1df R14: 00007f5364310300 R15: 0000000000022000 ---------------- Code disassembly (best guess), 3 bytes skipped: 0: df 48 8b fisttps -0x75(%rax) 3: 4c 24 18 rex.WR and $0x18,%al 6: 8a 04 01 mov (%rcx,%rax,1),%al 9: 84 c0 test %al,%al b: 0f 85 f6 00 00 00 jne 0x107 11: 41 c7 45 00 00 00 00 movl $0x0,0x0(%r13) 18: 00 19: 31 c0 xor %eax,%eax 1b: 48 81 c4 88 00 00 00 add $0x88,%rsp 22: 5b pop %rbx 23: 41 5c pop %r12 25: 41 5d pop %r13 * 27: 41 5e pop %r14 <-- trapping instruction 29: 41 5f pop %r15 2b: 5d pop %rbp 2c: c3 retq 2d: e8 90 bd c4 ff callq 0xffc4bdc2 32: eb c3 jmp 0xfffffff7 34: 80 3d 59 9f d1 0c 00 cmpb $0x0,0xcd19f59(%rip) # 0xcd19f94 3b: 0f .byte 0xf 3c: 85 .byte 0x85