------------[ cut here ]------------ do not call blocking ops when !TASK_RUNNING; state=1 set at [] ep_poll+0x147a/0x1e80 fs/eventpoll.c:1834 WARNING: CPU: 1 PID: 3599 at kernel/sched/core.c:9660 __might_sleep+0xb0/0xe0 kernel/sched/core.c:9656 Modules linked in: CPU: 1 PID: 3599 Comm: syz-fuzzer Tainted: G W 5.17.0-syzkaller-13034-gd888c83fcec7 #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: b0 0c 01 42 80 3c 23 00 74 08 48 89 ef e8 88 d3 7a 00 48 8b 4d 00 48 c7 c7 80 b6 8e 8a 44 89 ee 48 89 ca 31 c0 e8 50 b2 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:ffffc900001e0b38 EFLAGS: 00010246 RAX: 39ba9f5afb8a6100 RBX: 1ffff11004abc2de RCX: ffff8880255e0000 RDX: 0000000000000101 RSI: 0000000000000101 RDI: 0000000000000000 RBP: ffff8880255e16f0 R08: ffffffff816b4962 R09: fffff5200003c0b9 R10: fffff5200003c0b9 R11: 0000000000000000 R12: dffffc0000000000 R13: 0000000000000001 R14: 00000000000002fe R15: ffffffff8c6b68b2 FS: 000000c000499490(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa3fd79d090 CR3: 0000000024226000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000004 DR2: 0000000000000000 DR3: 00000000fec00026 DR6: 00000000ffff0ff0 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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194 Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 22 e7 ac f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 97 6a 30 f7 65 8b 05 38 74 d7 75 85 c0 74 3f 48 c7 04 24 0e 36 RSP: 0018:ffffc90003a2f9a0 EFLAGS: 00000206 RAX: 39ba9f5afb8a6100 RBX: 1ffff92000745f38 RCX: ffff8880255e0000 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: 0000000000000001 RBP: ffffc90003a2fa30 R08: ffffffff818caeb0 R09: ffffed10173654a1 R10: ffffed10173654a1 R11: 0000000000000000 R12: dffffc0000000000 R13: 1ffff92000745f34 R14: ffffc90003a2f9c0 R15: 0000000000000246 hrtimer_start_expires include/linux/hrtimer.h:432 [inline] hrtimer_sleeper_start_expires kernel/time/hrtimer.c:1965 [inline] schedule_hrtimeout_range_clock+0x243/0x470 kernel/time/hrtimer.c:2302 ep_poll+0x1bff/0x1e80 fs/eventpoll.c:1856 do_epoll_wait+0x196/0x210 fs/eventpoll.c:2234 do_epoll_pwait fs/eventpoll.c:2268 [inline] __do_sys_epoll_pwait fs/eventpoll.c:2281 [inline] __se_sys_epoll_pwait+0x2c5/0x4a0 fs/eventpoll.c:2275 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x50 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x466ae0 Code: 0f 05 89 44 24 20 c3 cc cc cc 8b 7c 24 08 48 8b 74 24 10 8b 54 24 18 44 8b 54 24 1c 49 c7 c0 00 00 00 00 b8 19 01 00 00 0f 05 <89> 44 24 20 c3 cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc RSP: 002b:000000c000ff77e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000119 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000466ae0 RDX: 0000000000000080 RSI: 000000c000ff7840 RDI: 0000000000000003 RBP: 000000c000ff7e40 R08: 0000000000000000 R09: 00000088bce7c686 R10: 00000000000000ab R11: 0000000000000246 R12: 000000c000ff7870 R13: 0000000000000004 R14: 000000c00025eea0 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 9c pushfq 1: 8f 44 24 20 popq 0x20(%rsp) 5: 42 80 3c 23 00 cmpb $0x0,(%rbx,%r12,1) a: 74 08 je 0x14 c: 4c 89 f7 mov %r14,%rdi f: e8 22 e7 ac f7 callq 0xf7ace736 14: f6 44 24 21 02 testb $0x2,0x21(%rsp) 19: 75 4e jne 0x69 1b: 41 f7 c7 00 02 00 00 test $0x200,%r15d 22: 74 01 je 0x25 24: fb sti 25: bf 01 00 00 00 mov $0x1,%edi * 2a: e8 97 6a 30 f7 callq 0xf7306ac6 <-- trapping instruction 2f: 65 8b 05 38 74 d7 75 mov %gs:0x75d77438(%rip),%eax # 0x75d7746e 36: 85 c0 test %eax,%eax 38: 74 3f je 0x79 3a: 48 rex.W 3b: c7 .byte 0xc7 3c: 04 24 add $0x24,%al 3e: 0e (bad) 3f: 36 ss