INFO: task syz-executor.0:30030 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.0 state:D stack:27552 pid:30030 ppid: 6567 flags:0x00000004 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_clr_fd+0x1ae/0x1070 drivers/block/loop.c:1122 loop_clr_fd drivers/block/loop.c:1237 [inline] lo_ioctl+0x398/0x17c0 drivers/block/loop.c:1562 blkdev_ioctl+0x37a/0x800 block/ioctl.c:609 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl fs/ioctl.c:860 [inline] __x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860 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:0x7f6527ba48a7 RSP: 002b:00007f6525119fa8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000020001240 RCX: 00007f6527ba48a7 RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000007 RBP: 00007f652511a6bc R08: 00007f652511a040 R09: 0000000020000000 R10: 0000000000000010 R11: 0000000000000246 R12: ffffffffffffffff R13: 0000000000000005 R14: 00007f652511a000 R15: 0000000020001300 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb80fe0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by systemd-udevd/2970: 1 lock held by in:imklog/6448: #0: ffff888015fe71b0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 2 locks held by systemd-udevd/9643: #0: ffff88801b1d2918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb50 block/bdev.c:819 #1: ffff888147425360 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_open+0x75/0x120 drivers/block/loop.c:1733 1 lock held by systemd-udevd/9658: #0: ffff8880b9c39b18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 1 lock held by syz-executor.0/30030: #0: ffff888147425360 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0x7a/0x1070 drivers/block/loop.c:1106 ============================================= NMI backtrace for cpu 1 CPU: 1 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 7 Comm: kworker/0:1 Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: rcu_gp process_srcu RIP: 0010:perf_trace_lock+0xce/0x4d0 include/trace/events/lock.h:39 Code: 89 48 85 ff 48 0f 44 f8 e8 6f 75 a4 02 49 8d 7d 78 49 89 c4 48 89 fa 8d 40 01 48 c1 ea 03 c1 e0 10 83 c8 18 89 85 40 ff ff ff <48> b8 00 00 00 00 00 fc ff df 80 3c 02 00 0f 85 d5 02 00 00 49 8b RSP: 0018:ffffc90000007b68 EFLAGS: 00000006 RAX: 0000000000120018 RBX: ffff88803dd69e10 RCX: 0000000000000001 RDX: 1ffffffff174fc6b RSI: ffffffff906a5380 RDI: ffffffff8ba7e358 RBP: ffffc90000007c40 R08: 0000000000000000 R09: ffffffff8d90e817 R10: fffffbfff1b21d02 R11: 0000000000000000 R12: 0000000000000011 R13: ffffffff8ba7e2e0 R14: ffffffff906a5380 R15: ffffc90000007c18 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd1bbd73000 CR3: 000000001d151000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0x4a8/0x720 kernel/locking/lockdep.c:5648 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline] _raw_spin_unlock_irqrestore+0x16/0x70 kernel/locking/spinlock.c:194 debug_object_deactivate lib/debugobjects.c:757 [inline] debug_object_deactivate+0x264/0x300 lib/debugobjects.c:723 debug_timer_deactivate kernel/time/timer.c:734 [inline] debug_deactivate kernel/time/timer.c:778 [inline] detach_timer kernel/time/timer.c:825 [inline] expire_timers kernel/time/timer.c:1455 [inline] __run_timers.part.0+0x513/0xa20 kernel/time/timer.c:1734 __run_timers kernel/time/timer.c:1715 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1747 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:636 irq_exit_rcu+0x5/0x20 kernel/softirq.c:648 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:preempt_count arch/x86/include/asm/preempt.h:27 [inline] RIP: 0010:check_kcov_mode kernel/kcov.c:166 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:200 Code: 48 89 ef 5d e9 11 bc 45 00 5d be 03 00 00 00 e9 f6 b9 63 02 66 0f 1f 44 00 00 48 8b be b0 01 00 00 e8 b4 ff ff ff 31 c0 c3 90 <65> 8b 05 19 9d 8b 7e 89 c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b RSP: 0018:ffffc90000edfcd8 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000200 RCX: 0000000000000000 RDX: ffff888011c741c0 RSI: ffffffff814b9b85 RDI: 0000000000000003 RBP: ffffffff90535900 R08: 0000000000000000 R09: ffffffff8ff74a1f R10: ffffffff814b9b7b R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000001 R14: ffff888010c76400 R15: 0000000000000000 queue_delayed_work_on+0xbb/0x120 kernel/workqueue.c:1708 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 89 48 85 mov %ecx,-0x7b(%rax) 3: ff 48 0f decl 0xf(%rax) 6: 44 f8 rex.R clc 8: e8 6f 75 a4 02 callq 0x2a4757c d: 49 8d 7d 78 lea 0x78(%r13),%rdi 11: 49 89 c4 mov %rax,%r12 14: 48 89 fa mov %rdi,%rdx 17: 8d 40 01 lea 0x1(%rax),%eax 1a: 48 c1 ea 03 shr $0x3,%rdx 1e: c1 e0 10 shl $0x10,%eax 21: 83 c8 18 or $0x18,%eax 24: 89 85 40 ff ff ff mov %eax,-0xc0(%rbp) * 2a: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax <-- trapping instruction 31: fc ff df 34: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 38: 0f 85 d5 02 00 00 jne 0x313 3e: 49 rex.WB 3f: 8b .byte 0x8b