INFO: task syz-executor.3:16801 blocked for more than 143 seconds.
Not tainted 5.17.0-rc2-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:28328 pid:16801 ppid: 16781 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4986 [inline]
__schedule+0xab2/0x4db0 kernel/sched/core.c:6295
schedule+0xd2/0x260 kernel/sched/core.c:6368
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6427
__mutex_lock_common kernel/locking/mutex.c:673 [inline]
__mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733
tty_open_by_driver drivers/tty/tty_io.c:2050 [inline]
tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133
chrdev_open+0x266/0x770 fs/char_dev.c:414
do_dentry_open+0x4b9/0x1240 fs/open.c:824
do_open fs/namei.c:3476 [inline]
path_openat+0x1c9e/0x2940 fs/namei.c:3609
do_filp_open+0x1aa/0x400 fs/namei.c:3636
do_sys_openat2+0x16d/0x4d0 fs/open.c:1214
do_sys_open fs/open.c:1230 [inline]
__do_sys_openat fs/open.c:1246 [inline]
__se_sys_openat fs/open.c:1241 [inline]
__x64_sys_openat+0x13f/0x1f0 fs/open.c:1241
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:0x7fb6e0df4f74
RSP: 002b:00007fb6df7b6ca0 EFLAGS: 00000293 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fb6e0f54f60 RCX: 00007fb6e0df4f74
RDX: 0000000000000002 RSI: 00007fb6df7b6d40 RDI: 00000000ffffff9c
RBP: 00007fb6df7b6d40 R08: 0000000000000000 R09: 000000000000000e
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000002
R13: 00007ffc56f5884f R14: 00007fb6df7b7300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8bb83c20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460
2 locks held by getty/3270:
#0: ffff88802385f098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc90002b632e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2077
2 locks held by kworker/u4:3/11424:
3 locks held by syz-executor.2/16763:
1 lock held by syz-executor.3/16801:
#0: ffffffff8c5aeae8 (tty_mutex){+.+.}-{3:3}, at: tty_open_by_driver drivers/tty/tty_io.c:2050 [inline]
#0: ffffffff8c5aeae8 (tty_mutex){+.+.}-{3:3}, at: tty_open+0x55e/0x1000 drivers/tty/tty_io.c:2133
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.17.0-rc2-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:212 [inline]
watchdog+0xc1d/0xf50 kernel/hung_task.c:369
kthread+0x2e9/0x3a0 kernel/kthread.c:377
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: 15078 Comm: kworker/1:0 Not tainted 5.17.0-rc2-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:chacha_permute+0x48c/0x6f0 lib/crypto/chacha.c:35
Code: 01 c8 41 01 ed 45 01 df 44 31 ef 44 31 c6 45 31 fc c1 c6 10 89 f9 8b 7c 24 18 41 c1 c4 08 01 f0 c1 c1 0c 41 31 c1 89 44 24 0c <41> 01 ca 44 89 c8 44 8b 4c 24 08 44 31 d5 c1 c0 0c 01 df c1 c5 08
RSP: 0018:ffffc900054df9e8 EFLAGS: 00000086
RAX: 0000000045a5b569 RBX: 00000000d990b219 RCX: 00000000b9c53366
RDX: 00000000467b262c RSI: 000000002a2db535 RDI: 000000008d3073ae
RBP: 0000000097ae2966 R08: 00000000474944fe R09: 00000000af6740cc
R10: 00000000a52f6918 R11: 00000000d98767fc R12: 000000006c789f55
R13: 00000000c26d19c9 R14: 00000000dc6fde46 R15: 0000000029486733
FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff9168aa568 CR3: 000000007e3ed000 CR4: 0000000000350ee0
Call Trace:
chacha_block_generic+0x98/0x250 lib/crypto/chacha.c:83
chacha20_block include/crypto/chacha.h:36 [inline]
_extract_crng+0xe0/0x1b0 drivers/char/random.c:997
extract_crng drivers/char/random.c:1005 [inline]
_get_random_bytes+0x219/0x690 drivers/char/random.c:1462
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+0x9ac/0x1650 kernel/workqueue.c:2307
worker_thread+0x657/0x1110 kernel/workqueue.c:2454
kthread+0x2e9/0x3a0 kernel/kthread.c:377
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
----------------
Code disassembly (best guess):
0: 01 c8 add %ecx,%eax
2: 41 01 ed add %ebp,%r13d
5: 45 01 df add %r11d,%r15d
8: 44 31 ef xor %r13d,%edi
b: 44 31 c6 xor %r8d,%esi
e: 45 31 fc xor %r15d,%r12d
11: c1 c6 10 rol $0x10,%esi
14: 89 f9 mov %edi,%ecx
16: 8b 7c 24 18 mov 0x18(%rsp),%edi
1a: 41 c1 c4 08 rol $0x8,%r12d
1e: 01 f0 add %esi,%eax
20: c1 c1 0c rol $0xc,%ecx
23: 41 31 c1 xor %eax,%r9d
26: 89 44 24 0c mov %eax,0xc(%rsp)
* 2a: 41 01 ca add %ecx,%r10d <-- trapping instruction
2d: 44 89 c8 mov %r9d,%eax
30: 44 8b 4c 24 08 mov 0x8(%rsp),%r9d
35: 44 31 d5 xor %r10d,%ebp
38: c1 c0 0c rol $0xc,%eax
3b: 01 df add %ebx,%edi
3d: c1 c5 08 rol $0x8,%ebp