INFO: task syz-executor.4:790 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.4 state:D stack:28120 pid: 790 ppid: 8441 flags:0x20004004 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:0xf6eae549 RSP: 002b:00000000f44875fc 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 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 in:imklog/6227: #0: ffff8880721a9c70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 2 locks held by agetty/6244: #0: ffff888022c61098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 #1: ffffc900030132e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113 3 locks held by kworker/u4:2/14468: 6 locks held by kworker/u4:3/23970: #0: ffff8880b9c39a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 #1: ffff8880b9c279c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3a6/0x490 kernel/sched/psi.c:880 #2: ffff8880b9c28298 (&base->lock){-.-.}-{2:2}, at: __mod_timer+0x60c/0xe30 kernel/time/timer.c:1043 #3: ffffffff906f9e70 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x12e/0x3e0 lib/debugobjects.c:661 #4: ffffffff8ba4d6a8 (text_mutex){+.+.}-{3:3}, at: arch_jump_label_transform_apply+0xe/0x20 arch/x86/kernel/jump_label.c:145 #5: ffffffff8bba2f08 (tk_core.seq.seqcount){----}-{0:0}, at: clockevents_program_event+0x141/0x370 kernel/time/clockevents.c:326 1 lock held by syz-executor.4/790: #0: ffff88801a510b60 (&lo->lo_mutex){+.+.}-{3:3}, at: loop_set_status+0x2a/0x930 drivers/block/loop.c:1248 2 locks held by systemd-udevd/784: #0: ffff88801a515118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb50 block/bdev.c:819 #1: ffff88801a510b60 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_open+0x75/0x120 drivers/block/loop.c:1733 ============================================= 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: 2970 Comm: systemd-journal Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:number+0x72f/0xae0 lib/vsprintf.c:556 Code: 84 c0 0f 85 e5 02 00 00 4c 89 e0 4c 89 e1 41 0f b6 55 00 48 bf 00 00 00 00 00 fc ff df 48 c1 e8 03 83 e1 07 0f b6 04 38 38 c8 <7f> 08 84 c0 0f 85 3f 03 00 00 41 88 14 24 e8 4e 9c 77 fd 83 ed 01 RSP: 0018:ffffc9000204f9a0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 00000000fffffff2 RCX: 0000000000000000 RDX: 0000000000000035 RSI: 0000000000000001 RDI: dffffc0000000000 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff83fffbd6 R11: 0000000000000000 R12: ffff88807a340108 R13: ffffc9000204fa39 R14: ffff88807a3420f8 R15: ffff88807a340100 FS: 00007f9ff729b8c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9ff4064000 CR3: 000000007a4d4000 CR4: 00000000003506f0 DR0: 000000004310b3c9 DR1: 0000000000002800 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vsnprintf+0xf09/0x14f0 lib/vsprintf.c:2871 vscnprintf lib/vsprintf.c:2908 [inline] scnprintf+0xbb/0x140 lib/vsprintf.c:2962 info_print_ext_header.constprop.0+0x1eb/0x280 kernel/printk/printk.c:567 devkmsg_read+0x3c9/0x730 kernel/printk/printk.c:749 vfs_read+0x1b5/0x600 fs/read_write.c:479 ksys_read+0x12d/0x250 fs/read_write.c:619 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:0x7f9ff682a210 Code: 73 01 c3 48 8b 0d 98 7d 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d b9 c1 20 00 00 75 10 b8 00 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 4e fc ff ff 48 89 04 24 RSP: 002b:00007ffe12834088 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007ffe12836b00 RCX: 00007f9ff682a210 RDX: 0000000000002000 RSI: 00007ffe12834900 RDI: 0000000000000009 RBP: 0000000000000000 R08: 0000000000000008 R09: 00007ffe12868080 R10: 00007ffe128680f0 R11: 0000000000000246 R12: 00007ffe12834900 R13: 00007ffe12836a58 R14: 000055b46bb38958 R15: 0005d126946ab0ad ---------------- Code disassembly (best guess): 0: 84 c0 test %al,%al 2: 0f 85 e5 02 00 00 jne 0x2ed 8: 4c 89 e0 mov %r12,%rax b: 4c 89 e1 mov %r12,%rcx e: 41 0f b6 55 00 movzbl 0x0(%r13),%edx 13: 48 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%rdi 1a: fc ff df 1d: 48 c1 e8 03 shr $0x3,%rax 21: 83 e1 07 and $0x7,%ecx 24: 0f b6 04 38 movzbl (%rax,%rdi,1),%eax 28: 38 c8 cmp %cl,%al * 2a: 7f 08 jg 0x34 <-- trapping instruction 2c: 84 c0 test %al,%al 2e: 0f 85 3f 03 00 00 jne 0x373 34: 41 88 14 24 mov %dl,(%r12) 38: e8 4e 9c 77 fd callq 0xfd779c8b 3d: 83 ed 01 sub $0x1,%ebp