INFO: task syz-executor.2:16988 blocked for more than 143 seconds. Not tainted 5.15.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27152 pid:16988 ppid: 6566 flags:0x00024004 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0x940/0x26f0 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x176/0x280 kernel/sched/completion.c:138 io_wq_exit_workers fs/io-wq.c:1176 [inline] io_wq_put_and_exit+0x4b2/0xd20 fs/io-wq.c:1211 io_uring_clean_tctx fs/io_uring.c:9675 [inline] io_uring_cancel_generic+0x5fe/0x740 fs/io_uring.c:9755 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/0x2160 kernel/signal.c:2868 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:209 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x19/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:0x7ff2104f6739 RSP: 002b:00007ff20da2b188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 0000000000000156 RBX: 00007ff2105fb0f0 RCX: 00007ff2104f6739 RDX: 0000000000000000 RSI: 0000000000006b46 RDI: 0000000000000006 RBP: 00007ff210550cc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff2105fb0f0 R13: 00007fff7db95c6f R14: 00007ff20da2b300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8b97d3e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 1 lock held by in:imklog/6447: #0: ffff888022416130 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 2 locks held by syz-executor.3/10443: #0: ffff888020608130 (&clk->rwsem){.+.+}-{3:3}, at: get_posix_clock kernel/time/posix-clock.c:24 [inline] #0: ffff888020608130 (&clk->rwsem){.+.+}-{3:3}, at: posix_clock_read+0x54/0x190 kernel/time/posix-clock.c:42 #1: ffff888020609760 (&ptp->tsevq_mux){+.+.}-{3:3}, at: ptp_read+0xd3/0x7e0 drivers/ptp/ptp_chardev.c:461 2 locks held by syz-executor.3/10482: #0: ffff888020608130 (&clk->rwsem){.+.+}-{3:3}, at: get_posix_clock kernel/time/posix-clock.c:24 [inline] #0: ffff888020608130 (&clk->rwsem){.+.+}-{3:3}, at: posix_clock_read+0x54/0x190 kernel/time/posix-clock.c:42 #1: ffff888020609760 (&ptp->tsevq_mux){+.+.}-{3:3}, at: ptp_read+0xd3/0x7e0 drivers/ptp/ptp_chardev.c:461 2 locks held by syz-executor.0/10497: #0: ffff888020608130 (&clk->rwsem){.+.+}-{3:3}, at: get_posix_clock kernel/time/posix-clock.c:24 [inline] #0: ffff888020608130 (&clk->rwsem){.+.+}-{3:3}, at: posix_clock_read+0x54/0x190 kernel/time/posix-clock.c:42 #1: ffff888020609760 (&ptp->tsevq_mux){+.+.}-{3:3}, at: ptp_read+0xd3/0x7e0 drivers/ptp/ptp_chardev.c:461 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.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+0x3e5/0x4d0 kernel/kthread.c:319 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: 2960 Comm: systemd-journal Not tainted 5.15.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:lockdep_hardirqs_on_prepare+0x24/0x400 kernel/locking/lockdep.c:4234 Code: a7 0f 1f 44 00 00 48 c7 c0 6c 47 6e 8d 55 48 ba 00 00 00 00 00 fc ff df 48 89 c1 53 83 e0 07 48 c1 e9 03 83 c0 03 0f b6 14 11 <38> d0 7c 08 84 d2 0f 85 7e 02 00 00 44 8b 0d c5 1a 14 0c 45 85 c9 RSP: 0018:ffffc900020b7f18 EFLAGS: 00000002 RAX: 0000000000000007 RBX: 0000000000000000 RCX: 1ffffffff1adc8ed RDX: 0000000000000000 RSI: ffffffff8934f49e RDI: ffffffff8934b082 RBP: ffffc900020b7f58 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff817b6645 R11: 0000000000000000 R12: ffffc900020b7f58 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f563e5408c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f563ba9f000 CR3: 0000000077114000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: __exit_to_user_mode kernel/entry/common.c:127 [inline] syscall_exit_to_user_mode+0x28/0x60 kernel/entry/common.c:304 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f563d7fb9c7 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:00007ffc7346d0b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: 0000000000000000 RBX: 00007ffc7346ffd0 RCX: 00007f563d7fb9c7 RDX: 00007f563e26ca00 RSI: 0000000000000000 RDI: 0000556ff05139a3 RBP: 00007ffc7346d0f0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffc7346ffd0 R15: 00007ffc7346d5e0 ---------------- Code disassembly (best guess): 0: a7 cmpsl %es:(%rdi),%ds:(%rsi) 1: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 6: 48 c7 c0 6c 47 6e 8d mov $0xffffffff8d6e476c,%rax d: 55 push %rbp e: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx 15: fc ff df 18: 48 89 c1 mov %rax,%rcx 1b: 53 push %rbx 1c: 83 e0 07 and $0x7,%eax 1f: 48 c1 e9 03 shr $0x3,%rcx 23: 83 c0 03 add $0x3,%eax 26: 0f b6 14 11 movzbl (%rcx,%rdx,1),%edx * 2a: 38 d0 cmp %dl,%al <-- trapping instruction 2c: 7c 08 jl 0x36 2e: 84 d2 test %dl,%dl 30: 0f 85 7e 02 00 00 jne 0x2b4 36: 44 8b 0d c5 1a 14 0c mov 0xc141ac5(%rip),%r9d # 0xc141b02 3d: 45 85 c9 test %r9d,%r9d