INFO: task syz-executor.5:13977 blocked for more than 143 seconds. Not tainted 5.16.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:24856 pid:13977 ppid: 8423 flags:0x00024004 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_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+0x174/0x270 kernel/sched/completion.c:138 io_wq_exit_workers fs/io-wq.c:1217 [inline] io_wq_put_and_exit+0x33a/0xb70 fs/io-wq.c:1252 io_uring_clean_tctx fs/io_uring.c:9801 [inline] io_uring_cancel_generic+0x61d/0x690 fs/io_uring.c:9882 io_uring_files_cancel include/linux/io_uring.h:16 [inline] do_exit+0x60c/0x2b40 kernel/exit.c:787 do_group_exit+0x125/0x310 kernel/exit.c:929 get_signal+0x47d/0x2220 kernel/signal.c:2852 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:868 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:0x7fd2173f1b19 RSP: 002b:00007fd216367188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 0000000000000200 RBX: 00007fd217504f60 RCX: 00007fd2173f1b19 RDX: 0000000000000060 RSI: 00000000000045f5 RDI: 0000000000000004 RBP: 00007fd21744bf9f R08: 0000000000000000 R09: 0000000000001800 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc1935401f R14: 00007fd216367300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb80fe0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 5 locks held by kworker/u4:2/44: 1 lock held by in:imklog/6435: #0: ffff8880197c13b0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc3-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: 3960 Comm: kworker/0:1 Not tainted 5.16.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events nsim_dev_trap_report_work RIP: 0010:check_wait_context kernel/locking/lockdep.c:4725 [inline] RIP: 0010:__lock_acquire+0x665/0x54a0 kernel/locking/lockdep.c:4977 Code: 8d 04 5b 48 c1 e0 06 48 05 20 5e f7 8f 48 8d b8 b8 00 00 00 48 89 fa 48 c1 ea 03 42 0f b6 14 3a 84 d2 74 06 0f 8e 5f 2b 00 00 <0f> b6 80 b8 00 00 00 84 c0 74 06 40 38 c5 0f 47 e8 48 8b 04 24 41 RSP: 0018:ffffc900075a78d0 EFLAGS: 00000046 RAX: ffffffff8ffcd2a0 RBX: 0000000000000746 RCX: ffffffff815b994d RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8ffcd358 RBP: 0000000000000004 R08: 0000000000000000 R09: ffffffff8ff75aef R10: fffffbfff1feeb5d R11: 00000000919c9266 R12: 0000000000000002 R13: ffff888032f50180 R14: ffff888032f50be0 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8bd8b68000 CR3: 000000006c301000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 00000000000004fa DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5637 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5602 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:162 _crng_backtrack_protect+0x71/0x1a0 drivers/char/random.c:1035 crng_backtrack_protect drivers/char/random.c:1053 [inline] _get_random_bytes+0x295/0x670 drivers/char/random.c:1540 nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:772 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:802 [inline] nsim_dev_trap_report_work+0x72e/0xbc0 drivers/net/netdevsim/dev.c:843 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 8d 04 5b lea (%rbx,%rbx,2),%eax 3: 48 c1 e0 06 shl $0x6,%rax 7: 48 05 20 5e f7 8f add $0xffffffff8ff75e20,%rax d: 48 8d b8 b8 00 00 00 lea 0xb8(%rax),%rdi 14: 48 89 fa mov %rdi,%rdx 17: 48 c1 ea 03 shr $0x3,%rdx 1b: 42 0f b6 14 3a movzbl (%rdx,%r15,1),%edx 20: 84 d2 test %dl,%dl 22: 74 06 je 0x2a 24: 0f 8e 5f 2b 00 00 jle 0x2b89 * 2a: 0f b6 80 b8 00 00 00 movzbl 0xb8(%rax),%eax <-- trapping instruction 31: 84 c0 test %al,%al 33: 74 06 je 0x3b 35: 40 38 c5 cmp %al,%bpl 38: 0f 47 e8 cmova %eax,%ebp 3b: 48 8b 04 24 mov (%rsp),%rax 3f: 41 rex.B