INFO: task syz-executor.2:16785 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28000 pid:16785 ppid: 6665 flags:0x20000004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 blk_mq_freeze_queue_wait+0x112/0x160 block/blk-mq.c:178 loop_set_status+0x440/0x930 drivers/block/loop.c:1264 loop_set_status_compat+0xac/0x100 drivers/block/loop.c:1674 lo_compat_ioctl+0xeb/0x110 drivers/block/loop.c:1700 compat_blkdev_ioctl+0x3b8/0x810 block/ioctl.c:674 __do_compat_sys_ioctl+0x1c7/0x290 fs/ioctl.c:972 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf6ef3549 RSP: 002b:00000000f44ab5fc EFLAGS: 00000296 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000004c02 RDX: 00000000200000c0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by kworker/u4:0/8: 1 lock held by khungtaskd/27: #0: ffffffff8bb83b60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by systemd-journal/2969: #0: ffff8880b9d39a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 2 locks held by systemd-udevd/2976: #0: ffff88801a5f1118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb50 block/bdev.c:819 #1: ffff88801a4c4b60 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_open+0x75/0x120 drivers/block/loop.c:1733 1 lock held by in:imklog/6231: #0: ffff88801e32d270 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 2 locks held by agetty/6236: #0: ffff8880121e7098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 #1: ffffc900020782e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113 1 lock held by syz-executor.2/16785: #0: ffff88801a4c4b60 (&lo->lo_mutex){+.+.}-{3:3}, at: loop_set_status+0x2a/0x930 drivers/block/loop.c:1248 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 12732 Comm: kworker/u4:7 Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: phy14 ieee80211_iface_work RIP: 0010:error_entry+0xc/0xc0 arch/x86/entry/entry_64.S:972 Code: f3 48 0f ae db e9 cd fe ff ff 85 db 0f 85 c5 fe ff ff 0f 01 f8 e9 bd fe ff ff 0f 1f 40 00 fc 56 48 8b 74 24 08 48 89 7c 24 08 <52> 51 50 41 50 41 51 41 52 41 53 53 55 41 54 41 55 41 56 41 57 56 RSP: 0018:ffffc90018b377a0 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000a20 RCX: 0000000000000000 RDX: 1ffffffff1799ee0 RSI: ffffffff89600a39 RDI: ffff888029154f44 RBP: ffff888010c41640 R08: 0000000095672c66 R09: 0000000051c7f5eb R10: fffff52003166ea9 R11: 000000000008808a R12: 0000000000000a20 R13: 0000000000000000 R14: 0000000000000028 R15: ffffffff889ed8fd FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe8cd905000 CR3: 00000000195fe000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ---------------- Code disassembly (best guess): 0: f3 48 0f ae db wrgsbase %rbx 5: e9 cd fe ff ff jmpq 0xfffffed7 a: 85 db test %ebx,%ebx c: 0f 85 c5 fe ff ff jne 0xfffffed7 12: 0f 01 f8 swapgs 15: e9 bd fe ff ff jmpq 0xfffffed7 1a: 0f 1f 40 00 nopl 0x0(%rax) 1e: fc cld 1f: 56 push %rsi 20: 48 8b 74 24 08 mov 0x8(%rsp),%rsi 25: 48 89 7c 24 08 mov %rdi,0x8(%rsp) * 2a: 52 push %rdx <-- trapping instruction 2b: 51 push %rcx 2c: 50 push %rax 2d: 41 50 push %r8 2f: 41 51 push %r9 31: 41 52 push %r10 33: 41 53 push %r11 35: 53 push %rbx 36: 55 push %rbp 37: 41 54 push %r12 39: 41 55 push %r13 3b: 41 56 push %r14 3d: 41 57 push %r15 3f: 56 push %rsi