INFO: task kworker/u4:2:10949 blocked for more than 143 seconds. Not tainted 5.15.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:2 state:D stack:24576 pid:10949 ppid: 2 flags:0x00004000 Workqueue: events_unbound io_ring_exit_work Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xb44/0x5960 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425 __mutex_lock_common kernel/locking/mutex.c:669 [inline] __mutex_lock+0xa34/0x12f0 kernel/locking/mutex.c:729 io_uring_try_cancel_iowq fs/io_uring.c:9567 [inline] io_uring_try_cancel_requests+0x7d1/0xc30 fs/io_uring.c:9597 io_ring_exit_work+0x137/0x19a0 fs/io_uring.c:9397 process_one_work+0x9bf/0x16b0 kernel/workqueue.c:2297 worker_thread+0x658/0x11f0 kernel/workqueue.c:2444 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 INFO: task syz-executor.4:32495 blocked for more than 143 seconds. Not tainted 5.15.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:28808 pid:32495 ppid: 5818 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xb44/0x5960 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425 __mutex_lock_common kernel/locking/mutex.c:669 [inline] __mutex_lock+0xa34/0x12f0 kernel/locking/mutex.c:729 io_uring_del_tctx_node+0x105/0x350 fs/io_uring.c:9700 io_uring_clean_tctx fs/io_uring.c:9716 [inline] io_uring_cancel_generic+0x5cb/0x760 fs/io_uring.c:9804 io_uring_files_cancel include/linux/io_uring.h:16 [inline] do_exit+0x265/0x2a30 kernel/exit.c:780 do_group_exit+0x125/0x310 kernel/exit.c:922 get_signal+0x47f/0x21d0 kernel/signal.c:2855 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:865 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x17d/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:0x7fe6e5f97ae9 RSP: 002b:00007fe6e34ec218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fe6e60ab028 RCX: 00007fe6e5f97ae9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fe6e60ab028 RBP: 00007fe6e60ab020 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe6e60ab02c R13: 00007fe6e65deb2f R14: 00007fe6e34ec300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8b981b20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 1 lock held by in:imklog/6184: #0: ffff888021bb4370 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 2 locks held by agetty/6410: #0: ffff888015d0c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 #1: ffffc9000122c2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113 2 locks held by agetty/6412: #0: ffff888015f63098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 #1: ffffc9000124c2e8 (&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/10949: #0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline] #0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline] #0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x8a3/0x16b0 kernel/workqueue.c:2268 #1: ffffc9000b6afdb0 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x8d7/0x16b0 kernel/workqueue.c:2272 #2: ffff88807a6320a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_try_cancel_iowq fs/io_uring.c:9567 [inline] #2: ffff88807a6320a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_try_cancel_requests+0x7d1/0xc30 fs/io_uring.c:9597 1 lock held by syz-executor.4/32476: 1 lock held by syz-executor.4/32495: #0: ffff88807d7240a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_del_tctx_node+0x105/0x350 fs/io_uring.c:9700 1 lock held by syz-executor.4/32496: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.0-rc7-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+0x3e5/0x4d0 kernel/kthread.c:319 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: 2924 Comm: systemd-journal Not tainted 5.15.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rdtsc_ordered arch/x86/include/asm/msr.h:234 [inline] RIP: 0010:pvclock_clocksource_read+0xc2/0x530 arch/x86/kernel/pvclock.c:76 Code: 03 48 89 14 24 49 01 ed 4c 8d 43 18 48 01 e8 4c 8d 7b 10 48 89 44 24 20 4c 8d 53 17 4c 8d 73 1d 83 e1 fe 89 4c 24 08 0f 01 f9 <66> 90 48 c1 e2 20 48 8b 74 24 10 4c 89 c9 48 09 d0 41 0f b6 55 00 RSP: 0018:ffffc90002b7fdf0 EFLAGS: 00000002 RAX: 00000000240ac930 RBX: ffffffff8eefa000 RCX: 0000000000000000 RDX: 00000000000006d5 RSI: ffff88807bcfdc60 RDI: ffffffff8eefa01c RBP: dffffc0000000000 R08: ffffffff8eefa018 R09: ffffffff8eefa00f R10: ffffffff8eefa017 R11: 0000000000000000 R12: ffffffff8eefa003 R13: fffffbfff1ddf401 R14: ffffffff8eefa01d R15: ffffffff8eefa010 FS: 00007f02eb1cd8c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f02e8286000 CR3: 0000000021b16000 CR4: 00000000003526f0 Call Trace: kvm_clock_read arch/x86/kernel/kvmclock.c:79 [inline] kvm_sched_clock_read+0x14/0x40 arch/x86/kernel/kvmclock.c:91 vtime_delta kernel/sched/cputime.c:637 [inline] get_vtime_delta+0x1a/0x420 kernel/sched/cputime.c:646 vtime_account_system+0x1a/0xb0 kernel/sched/cputime.c:666 vtime_user_enter+0xaa/0x170 kernel/sched/cputime.c:710 __context_tracking_enter+0xef/0x100 kernel/context_tracking.c:82 user_enter_irqoff include/linux/context_tracking.h:41 [inline] __exit_to_user_mode kernel/entry/common.c:130 [inline] syscall_exit_to_user_mode+0x48/0x60 kernel/entry/common.c:302 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f02ea4889c7 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:00007ffd4a989ee8 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: 0000000000000000 RBX: 00007ffd4a98ce00 RCX: 00007f02ea4889c7 RDX: 00007f02eaef9a00 RSI: 0000000000000000 RDI: 0000561a2b1049a3 RBP: 00007ffd4a989f20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffd4a98ce00 R15: 00007ffd4a98a410 ---------------- Code disassembly (best guess): 0: 03 48 89 add -0x77(%rax),%ecx 3: 14 24 adc $0x24,%al 5: 49 01 ed add %rbp,%r13 8: 4c 8d 43 18 lea 0x18(%rbx),%r8 c: 48 01 e8 add %rbp,%rax f: 4c 8d 7b 10 lea 0x10(%rbx),%r15 13: 48 89 44 24 20 mov %rax,0x20(%rsp) 18: 4c 8d 53 17 lea 0x17(%rbx),%r10 1c: 4c 8d 73 1d lea 0x1d(%rbx),%r14 20: 83 e1 fe and $0xfffffffe,%ecx 23: 89 4c 24 08 mov %ecx,0x8(%rsp) 27: 0f 01 f9 rdtscp * 2a: 66 90 xchg %ax,%ax <-- trapping instruction 2c: 48 c1 e2 20 shl $0x20,%rdx 30: 48 8b 74 24 10 mov 0x10(%rsp),%rsi 35: 4c 89 c9 mov %r9,%rcx 38: 48 09 d0 or %rdx,%rax 3b: 41 0f b6 55 00 movzbl 0x0(%r13),%edx