------------[ 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: 6579 at kernel/sched/core.c:9656 __might_sleep+0x105/0x150 kernel/sched/core.c:9656 Modules linked in: CPU: 0 PID: 6579 Comm: syz-executor.2 Tainted: G W 5.17.0-syzkaller-13673-ge8b767f5e040 #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 df cb 89 e8 92 a8 c8 07 <0f> 0b e9 75 ff ff ff e8 3f 2f 73 00 e9 26 ff ff ff 89 34 24 e8 42 RSP: 0018:ffffc90000007d68 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff88801cbd9d00 RCX: 0000000000000000 RDX: ffff88801cbd9d00 RSI: ffffffff815fcd18 RDI: fffff52000000f9f RBP: ffffffff8a248fc0 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff815f76ee R11: 0000000000000000 R12: 00000000000002fe R13: 0000000000000000 R14: ffffffff8a2493c0 R15: 0000000000000000 FS: 00007fd6095fe700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000201c1000 CR3: 0000000076226000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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:645 RIP: 0010:__orc_find+0x4/0xf0 arch/x86/kernel/unwind_orc.c:35 Code: d8 da 02 e9 60 fb ff ff e8 a9 a4 8f 00 e9 cf fb ff ff cc cc cc cc 48 8b 07 c3 66 66 2e 0f 1f 84 00 00 00 00 00 90 41 57 89 d0 <41> 56 41 55 41 54 4c 8d 64 87 fc 55 53 48 83 ec 10 85 d2 0f 84 95 RSP: 0018:ffffc9000c546e10 EFLAGS: 00000206 RAX: 0000000000000014 RBX: 1ffff920018a8dcc RCX: ffffffff8166ad7b RDX: 0000000000000014 RSI: ffffffff8e36a4fc RDI: ffffffff8dc65580 RBP: 0000000000000001 R08: ffffffff8e36a4fc R09: 0000000000000001 R10: fffff520018a8dea R11: 000000000008a079 R12: ffffc9000c546f40 R13: ffffc9000c546f2d R14: ffffc9000c546ef8 R15: ffffffff8166ad7b orc_find arch/x86/kernel/unwind_orc.c:173 [inline] unwind_next_frame+0x32a/0x1ce0 arch/x86/kernel/unwind_orc.c:443 arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:122 kasan_save_stack+0x1e/0x40 mm/kasan/common.c:38 kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:436 [inline] __kasan_slab_alloc+0x90/0xc0 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+0x204/0x3b0 mm/slub.c:3242 kmem_cache_zalloc include/linux/slab.h:704 [inline] fill_pool+0x264/0x5c0 lib/debugobjects.c:171 __debug_object_init+0x7a/0xd10 lib/debugobjects.c:565 debug_timer_init kernel/time/timer.c:724 [inline] debug_init kernel/time/timer.c:772 [inline] init_timer_key+0x2d/0x340 kernel/time/timer.c:816 sctp_transport_init net/sctp/transport.c:75 [inline] sctp_transport_new+0x4c7/0x720 net/sctp/transport.c:101 sctp_assoc_add_peer+0x28f/0x14a0 net/sctp/associola.c:619 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/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fd60a689049 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:00007fd6095fe168 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: ffffffffffffffda RBX: 00007fd60a79c030 RCX: 00007fd60a689049 RDX: 000000000000001c RSI: 0000000020000000 RDI: 0000000000000003 RBP: 00007fd60a6e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fd60accfb1f R14: 00007fd6095fe300 R15: 0000000000022000 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: da 02 fiaddl (%rdx) 2: e9 60 fb ff ff jmpq 0xfffffb67 7: e8 a9 a4 8f 00 callq 0x8fa4b5 c: e9 cf fb ff ff jmpq 0xfffffbe0 11: cc int3 12: cc int3 13: cc int3 14: cc int3 15: 48 8b 07 mov (%rdi),%rax 18: c3 retq 19: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1) 20: 00 00 00 00 24: 90 nop 25: 41 57 push %r15 27: 89 d0 mov %edx,%eax * 29: 41 56 push %r14 <-- trapping instruction 2b: 41 55 push %r13 2d: 41 54 push %r12 2f: 4c 8d 64 87 fc lea -0x4(%rdi,%rax,4),%r12 34: 55 push %rbp 35: 53 push %rbx 36: 48 83 ec 10 sub $0x10,%rsp 3a: 85 d2 test %edx,%edx 3c: 0f .byte 0xf 3d: 84 .byte 0x84 3e: 95 xchg %eax,%ebp