INFO: task syz-executor.0:27027 blocked for more than 143 seconds.
Not tainted 5.16.0-rc1-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:27744 pid:27027 ppid: 11663 flags:0x00000004
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
blk_mq_freeze_queue_wait+0x112/0x160 block/blk-mq.c:178
nbd_add_socket+0x166/0x810 drivers/block/nbd.c:1109
__nbd_ioctl drivers/block/nbd.c:1454 [inline]
nbd_ioctl+0x38c/0xb10 drivers/block/nbd.c:1511
blkdev_ioctl+0x37a/0x800 block/ioctl.c:609
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:874 [inline]
__se_sys_ioctl fs/ioctl.c:860 [inline]
__x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860
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:0x7fc8ca214ae9
RSP: 002b:00007fc8c778a188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fc8ca327f60 RCX: 00007fc8ca214ae9
RDX: 0000000000000006 RSI: 000000000000ab00 RDI: 0000000000000005
RBP: 00007fc8ca26ef6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd728bcacf R14: 00007fc8c778a300 R15: 0000000000022000
INFO: task syz-executor.0:27043 blocked for more than 143 seconds.
Not tainted 5.16.0-rc1-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:28392 pid:27043 ppid: 11663 flags:0x00000004
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_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385
__mutex_lock_common kernel/locking/mutex.c:680 [inline]
__mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740
nbd_ioctl+0x151/0xb10 drivers/block/nbd.c:1504
blkdev_ioctl+0x37a/0x800 block/ioctl.c:609
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:874 [inline]
__se_sys_ioctl fs/ioctl.c:860 [inline]
__x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860
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:0x7fc8ca214ae9
RSP: 002b:00007fc8c7748188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fc8ca3280e0 RCX: 00007fc8ca214ae9
RDX: 0000000000000006 RSI: 000000000000ab00 RDI: 0000000000000005
RBP: 00007fc8ca26ef6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd728bcacf R14: 00007fc8c7748300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8bb83ae0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458
1 lock held by in:imklog/6215:
#0: ffff88801a0959f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990
2 locks held by agetty/6443:
#0: ffff8880160c0098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252
#1: ffffc90002b962e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113
2 locks held by kworker/u4:10/23396:
#0: ffff8880b9c39a98 (&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+0x3a6/0x490 kernel/sched/psi.c:880
3 locks held by kworker/u4:14/23491:
1 lock held by syz-executor.0/27027:
#0: ffff88801aa81998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x151/0xb10 drivers/block/nbd.c:1504
1 lock held by syz-executor.0/27043:
#0: ffff88801aa81998 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x151/0xb10 drivers/block/nbd.c:1504
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.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+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: 22299 Comm: kworker/0:15 Not tainted 5.16.0-rc1-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+0x45b/0x6e0 lib/crypto/chacha.c:34
Code: 24 08 31 fd 8b 7c 24 24 45 01 ee 44 31 f0 44 8b 54 24 18 c1 c5 10 41 89 c1 8b 44 24 1c 41 01 c8 41 c1 c1 0c 41 01 fb 45 31 c4 <44> 01 cb 44 31 de 41 c1 c4 10 41 01 ea c1 c6 10 45 01 e7 44 31 d2
RSP: 0018:ffffc9000489f9c0 EFLAGS: 00000082
RAX: 0000000020832246 RBX: 00000000756dabe9 RCX: 00000000622440f9
RDX: 0000000067e85040 RSI: 00000000effb3dcb RDI: 00000000ca0d1bf8
RBP: 00000000e48f3841 R08: 00000000517fe4c5 R09: 00000000842fa880
R10: 000000007289092b R11: 00000000b85fa04b R12: 00000000e229865b
R13: 00000000eaa0defb R14: 000000007acefd55 R15: 00000000a3740609
FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcf8f987000 CR3: 0000000079d14000 CR4: 0000000000350ef0
Call Trace:
chacha_block_generic+0x98/0x250 lib/crypto/chacha.c:83
chacha20_block include/crypto/chacha.h:36 [inline]
_extract_crng+0x12f/0x250 drivers/char/random.c:1000
extract_crng drivers/char/random.c:1016 [inline]
_get_random_bytes+0x229/0x670 drivers/char/random.c:1538
eth_random_addr include/linux/etherdevice.h:232 [inline]
nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:752 [inline]
nsim_dev_trap_report drivers/net/netdevsim/dev.c:802 [inline]
nsim_dev_trap_report_work+0x33a/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: 24 08 and $0x8,%al
2: 31 fd xor %edi,%ebp
4: 8b 7c 24 24 mov 0x24(%rsp),%edi
8: 45 01 ee add %r13d,%r14d
b: 44 31 f0 xor %r14d,%eax
e: 44 8b 54 24 18 mov 0x18(%rsp),%r10d
13: c1 c5 10 rol $0x10,%ebp
16: 41 89 c1 mov %eax,%r9d
19: 8b 44 24 1c mov 0x1c(%rsp),%eax
1d: 41 01 c8 add %ecx,%r8d
20: 41 c1 c1 0c rol $0xc,%r9d
24: 41 01 fb add %edi,%r11d
27: 45 31 c4 xor %r8d,%r12d
* 2a: 44 01 cb add %r9d,%ebx <-- trapping instruction
2d: 44 31 de xor %r11d,%esi
30: 41 c1 c4 10 rol $0x10,%r12d
34: 41 01 ea add %ebp,%r10d
37: c1 c6 10 rol $0x10,%esi
3a: 45 01 e7 add %r12d,%r15d
3d: 44 31 d2 xor %r10d,%edx