INFO: task systemd-udevd:19393 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:systemd-udevd state:D stack:27296 pid:19393 ppid: 2970 flags:0x00000000 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 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 lo_release+0x4d/0x1f0 drivers/block/loop.c:1748 blkdev_put_whole block/bdev.c:694 [inline] blkdev_put+0x2fb/0x9e0 block/bdev.c:956 blkdev_close+0x6a/0x80 block/fops.c:515 __fput+0x286/0x9f0 fs/file_table.c:280 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x27e/0x290 kernel/entry/common.c:207 __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:0x7fca1b550270 RSP: 002b:00007fff1523c418 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007fca1b550270 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007 RBP: 00007fca1c40a710 R08: 00005621e40f70b0 R09: 00005621e40f6e00 R10: 00007fca1c40a8c0 R11: 0000000000000246 R12: 0000000000000000 R13: 00005621e40e47c0 R14: 0000000000000003 R15: 000000000000000e INFO: task syz-executor.2:19577 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:28480 pid:19577 ppid: 6709 flags:0x00004004 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+0x17d/0x930 drivers/block/loop.c:1264 loop_set_status_old+0x148/0x1b0 drivers/block/loop.c:1396 lo_ioctl+0x3e9/0x17c0 drivers/block/loop.c:1566 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:0x7fdb115f8ae9 RSP: 002b:00007fdb0eb4d188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fdb1170c020 RCX: 00007fdb115f8ae9 RDX: 0000000020000940 RSI: 0000000000004c02 RDI: 0000000000000004 RBP: 00007fdb11652f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fdb11c3fb2f R14: 00007fdb0eb4d300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8bb83a60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by in:imklog/6434: #0: ffff88801a4705f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 2 locks held by kworker/u4:6/6491: 3 locks held by syz-fuzzer/6527: #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: ffffffff8bb83a60 (rcu_read_lock){....}-{1:2}, at: trace_sched_stat_runtime include/trace/events/sched.h:517 [inline] #2: ffffffff8bb83a60 (rcu_read_lock){....}-{1:2}, at: update_curr+0x370/0x900 kernel/sched/fair.c:876 2 locks held by systemd-udevd/19393: #0: ffff88801aa73118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x97/0x9e0 block/bdev.c:914 #1: ffff88801aba9b60 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_release+0x4d/0x1f0 drivers/block/loop.c:1748 1 lock held by syz-executor.2/19577: #0: ffff88801aba9b60 (&lo->lo_mutex){+.+.}-{3:3}, at: loop_set_status+0x2a/0x930 drivers/block/loop.c:1248 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 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:105 nmi_trigger_cpumask_backtrace+0x1ae/0x220 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: 2960 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:lockdep_hardirqs_off+0x2b/0xd0 kernel/locking/lockdep.c:4387 Code: 0d 66 7d 3f 04 85 c9 0f 84 b5 00 00 00 65 8b 05 4b 46 b0 76 a9 00 00 f0 00 55 53 48 89 fb 74 49 8b 15 f9 1f fa 06 85 d2 74 0e <65> 8b 05 8a 4d b0 76 85 c0 75 4e 5b 5d c3 9c 58 f6 c4 02 74 eb e8 RSP: 0018:ffffc900027eff10 EFLAGS: 00000046 RAX: 0000000000000046 RBX: ffffffff8951ef26 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900027eff58 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000027 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f59a73d18c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f59a49f7000 CR3: 000000001b34a000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __enter_from_user_mode kernel/entry/common.c:19 [inline] syscall_enter_from_user_mode+0x13/0x70 kernel/entry/common.c:104 do_syscall_64+0x16/0xb0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f59a6669f17 Code: ff ff ff 48 8b 4d a0 0f b7 51 fe 48 8b 4d a8 66 89 54 08 fe e9 1a ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 b8 27 00 00 00 0f 05 0f 1f 84 00 00 00 00 00 b8 6e 00 00 00 0f 05 c3 0f 1f 84 00 00 RSP: 002b:00007ffedb794878 EFLAGS: 00000202 ORIG_RAX: 0000000000000027 RAX: ffffffffffffffda RBX: 000055fbbef991e0 RCX: 00007f59a6669f17 RDX: 00000000ffffffff RSI: 00007ffedb794900 RDI: 000055fbbef991e0 RBP: 0000000000000b90 R08: 000000006194564b R09: 00007ffedb7a8080 R10: 00007ffedb7a8080 R11: 0000000000000202 R12: 00007ffedb794900 R13: 00007ffedb7948f8 R14: 000055fbbea2a958 R15: 0005d0f1b1bb4f72 ---------------- Code disassembly (best guess): 0: 0d 66 7d 3f 04 or $0x43f7d66,%eax 5: 85 c9 test %ecx,%ecx 7: 0f 84 b5 00 00 00 je 0xc2 d: 65 8b 05 4b 46 b0 76 mov %gs:0x76b0464b(%rip),%eax # 0x76b0465f 14: a9 00 00 f0 00 test $0xf00000,%eax 19: 55 push %rbp 1a: 53 push %rbx 1b: 48 89 fb mov %rdi,%rbx 1e: 74 49 je 0x69 20: 8b 15 f9 1f fa 06 mov 0x6fa1ff9(%rip),%edx # 0x6fa201f 26: 85 d2 test %edx,%edx 28: 74 0e je 0x38 * 2a: 65 8b 05 8a 4d b0 76 mov %gs:0x76b04d8a(%rip),%eax # 0x76b04dbb <-- trapping instruction 31: 85 c0 test %eax,%eax 33: 75 4e jne 0x83 35: 5b pop %rbx 36: 5d pop %rbp 37: c3 retq 38: 9c pushfq 39: 58 pop %rax 3a: f6 c4 02 test $0x2,%ah 3d: 74 eb je 0x2a 3f: e8 .byte 0xe8