INFO: task syz-executor.5:719 can't die for more than 143 seconds. task:syz-executor.5 state:D stack:27888 pid: 719 ppid: 32431 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4987 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6268 schedule+0xd2/0x260 kernel/sched/core.c:6341 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:0x7f93e64168a7 RSP: 002b:00007f93e398bfa8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000020001300 RCX: 00007f93e64168a7 RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000004 RBP: 00007f93e398c6bc R08: 00007f93e398c040 R09: 0000000020000080 R10: 0000000000000680 R11: 0000000000000246 R12: ffffffffffffffff R13: 0000000000000016 R14: 00007f93e398c000 R15: 0000000020001b40 INFO: task syz-executor.5:719 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-next-20211118-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:27888 pid: 719 ppid: 32431 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4987 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6268 schedule+0xd2/0x260 kernel/sched/core.c:6341 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:0x7f93e64168a7 RSP: 002b:00007f93e398bfa8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000020001300 RCX: 00007f93e64168a7 RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000004 RBP: 00007f93e398c6bc R08: 00007f93e398c040 R09: 0000000020000080 R10: 0000000000000680 R11: 0000000000000246 R12: ffffffffffffffff R13: 0000000000000016 R14: 00007f93e398c000 R15: 0000000020001b40 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8bb83ba0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 2 locks held by systemd-udevd/2971: #0: ffff888019eac118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb50 block/bdev.c:819 #1: ffff8881479c0360 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_open+0x75/0x120 drivers/block/loop.c:1733 1 lock held by in:imklog/6222: 5 locks held by kworker/u4:0/32429: 1 lock held by syz-executor.5/719: #0: ffff8881479c0360 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0x7a/0x1070 drivers/block/loop.c:1106 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 26 Comm: khungtaskd Not tainted 5.16.0-rc1-next-20211118-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:254 [inline] watchdog+0xcb7/0xed0 kernel/hung_task.c:339 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: 2958 Comm: systemd-journal Not tainted 5.16.0-rc1-next-20211118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:arch_irqs_disabled_flags arch/x86/include/asm/irqflags.h:127 [inline] RIP: 0010:check_preemption_disabled+0x4d/0x170 lib/smp_processor_id.c:19 Code: e3 ff ff ff 7f 31 ff 89 de 0f 1f 44 00 00 85 db 74 11 0f 1f 44 00 00 44 89 e0 5b 5d 41 5c 41 5d 41 5e c3 0f 1f 44 00 00 9c 5b <81> e3 00 02 00 00 31 ff 48 89 de 0f 1f 44 00 00 48 85 db 74 d3 0f RSP: 0018:ffffc9000204fee0 EFLAGS: 00000046 RAX: 0000000000000000 RBX: 0000000000000046 RCX: 0000000000000000 RDX: ffff88807c2f57c0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffffff8a04b660 R08: 0000000000000000 R09: 0000000000000001 R10: ffffffff817de4fd R11: 0000000000000000 R12: 0000000000000001 R13: ffffffff8a04b620 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f46068ce8c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4602913018 CR3: 000000007bfef000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tick_nohz_user_enter_prepare include/linux/tick.h:310 [inline] exit_to_user_mode_prepare+0x31/0x290 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f4605b899c7 Code: 83 c4 08 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d c8 d4 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 15 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 d4 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffdedac4a08 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: 0000000000000000 RBX: 00007ffdedac7920 RCX: 00007f4605b899c7 RDX: 00007f46065faa00 RSI: 0000000000000000 RDI: 0000556da88539a3 RBP: 00007ffdedac4a40 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffdedac7920 R15: 00007ffdedac4f30 ---------------- Code disassembly (best guess), 4 bytes skipped: 0: 7f 31 jg 0x33 2: ff 89 de 0f 1f 44 decl 0x441f0fde(%rcx) 8: 00 00 add %al,(%rax) a: 85 db test %ebx,%ebx c: 74 11 je 0x1f e: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 13: 44 89 e0 mov %r12d,%eax 16: 5b pop %rbx 17: 5d pop %rbp 18: 41 5c pop %r12 1a: 41 5d pop %r13 1c: 41 5e pop %r14 1e: c3 retq 1f: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 24: 9c pushfq 25: 5b pop %rbx * 26: 81 e3 00 02 00 00 and $0x200,%ebx <-- trapping instruction 2c: 31 ff xor %edi,%edi 2e: 48 89 de mov %rbx,%rsi 31: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 36: 48 85 db test %rbx,%rbx 39: 74 d3 je 0xe 3b: 0f .byte 0xf