INFO: task syz-executor.0:27472 blocked for more than 143 seconds.
Not tainted 5.15.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:28448 pid:27472 ppid: 6500 flags:0x00024004
Call Trace:
context_switch kernel/sched/core.c:4969 [inline]
__schedule+0xa9a/0x4940 kernel/sched/core.c:6250
schedule+0xd2/0x260 kernel/sched/core.c:6323
io_uring_cancel_generic+0x53d/0x690 fs/io_uring.c:9850
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/0x21d0 kernel/signal.c:2820
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:0x7fa3f28bdae9
RSP: 002b:00007fa3efe12188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa
RAX: 00000000000002ff RBX: 00007fa3f29d1020 RCX: 00007fa3f28bdae9
RDX: 0000000000000000 RSI: 00000000000002ff RDI: 0000000000000003
RBP: 00007fa3f2917f45 R08: 0000000000000000 R09: 0000800800000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc3d2a115f R14: 00007fa3efe12300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8b980ea0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6461
2 locks held by kworker/u4:3/56:
#0: ffff8880b9c39b18 (&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+0x173/0x490 kernel/sched/psi.c:871
1 lock held by systemd-journal/2931:
1 lock held by in:imklog/6173:
#0: ffff888018bc18b0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990
2 locks held by agetty/6412:
#0: ffff88806f71f098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252
#1: ffffc90002b142e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113
3 locks held by kworker/u4:8/18989:
#0: ffff8880b9c39b18 (&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+0x173/0x490 kernel/sched/psi.c:871
#2: ffff8880b9c28298 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5a/0x1f0 kernel/time/timer.c:946
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.0-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: 19430 Comm: kworker/0:0 Not tainted 5.15.0-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:hlock_class kernel/locking/lockdep.c:199 [inline]
RIP: 0010:mark_lock+0xf7/0x17b0 kernel/locking/lockdep.c:4586
Code: 66 81 e2 ff 1f 44 0f b7 f2 be 08 00 00 00 4c 89 f0 48 c1 f8 06 48 8d 3c c5 00 aa d4 8f e8 21 8d 61 00 4c 0f a3 35 09 19 79 0e <0f> 83 03 01 00 00 4b 8d 04 76 48 c1 e0 06 48 05 20 ae d4 8f 48 8d
RSP: 0018:ffffc90017287988 EFLAGS: 00000047
RAX: 0000000000000001 RBX: 1ffff92002e50f38 RCX: ffffffff815b90ef
RDX: fffffbfff1fa955e RSI: 0000000000000008 RDI: ffffffff8fd4aae8
RBP: 0000000000000004 R08: 0000000000000000 R09: ffffffff8fd4aaef
R10: fffffbfff1fa955d R11: 00000000773537a5 R12: 0000000000000002
R13: ffff88803376ad18 R14: 0000000000000746 R15: ffff88803376ad38
FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc03b28b008 CR3: 000000007e2fa000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
mark_held_locks+0x9f/0xe0 kernel/locking/lockdep.c:4209
__trace_hardirqs_on_caller kernel/locking/lockdep.c:4227 [inline]
lockdep_hardirqs_on_prepare kernel/locking/lockdep.c:4295 [inline]
lockdep_hardirqs_on_prepare+0x135/0x400 kernel/locking/lockdep.c:4247
trace_hardirqs_on+0x5b/0x1c0 kernel/trace/trace_preemptirq.c:49
__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline]
_raw_spin_unlock_irqrestore+0x50/0x70 kernel/locking/spinlock.c:194
extract_crng drivers/char/random.c:1016 [inline]
_get_random_bytes+0x229/0x670 drivers/char/random.c:1538
nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:773 [inline]
nsim_dev_trap_report drivers/net/netdevsim/dev.c:802 [inline]
nsim_dev_trap_report_work+0x73c/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: 66 81 e2 ff 1f and $0x1fff,%dx
5: 44 0f b7 f2 movzwl %dx,%r14d
9: be 08 00 00 00 mov $0x8,%esi
e: 4c 89 f0 mov %r14,%rax
11: 48 c1 f8 06 sar $0x6,%rax
15: 48 8d 3c c5 00 aa d4 lea -0x702b5600(,%rax,8),%rdi
1c: 8f
1d: e8 21 8d 61 00 callq 0x618d43
22: 4c 0f a3 35 09 19 79 bt %r14,0xe791909(%rip) # 0xe791933
29: 0e
* 2a: 0f 83 03 01 00 00 jae 0x133 <-- trapping instruction
30: 4b 8d 04 76 lea (%r14,%r14,2),%rax
34: 48 c1 e0 06 shl $0x6,%rax
38: 48 05 20 ae d4 8f add $0xffffffff8fd4ae20,%rax
3e: 48 rex.W
3f: 8d .byte 0x8d