INFO: task syz.1.2783:13670 blocked for more than 143 seconds. Not tainted 6.12.0-rc6-syzkaller-00077-g2e1b3cc9d7f7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.1.2783 state:D stack:27856 pid:13670 tgid:13670 ppid:5827 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5328 [inline] __schedule+0xe55/0x5740 kernel/sched/core.c:6690 __schedule_loop kernel/sched/core.c:6767 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6782 schedule_timeout+0x258/0x2a0 kernel/time/timer.c:2591 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common+0x3e1/0x600 kernel/sched/completion.c:116 __vhost_worker_flush+0x1aa/0x1e0 drivers/vhost/vhost.c:288 vhost_worker_flush drivers/vhost/vhost.c:295 [inline] vhost_dev_flush+0xad/0x120 drivers/vhost/vhost.c:305 vhost_net_flush+0x1d/0x1b0 drivers/vhost/net.c:1359 vhost_net_release+0xa3/0x260 drivers/vhost/net.c:1380 __fput+0x3f6/0xb60 fs/file_table.c:431 task_work_run+0x14e/0x250 kernel/task_work.c:239 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x27b/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f999317e719 RSP: 002b:00007ffddd9a7288 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007f9993337a80 RCX: 00007f999317e719 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f9993337a80 R08: 0000000000000006 R09: 00007ffddd9a757f R10: 00000000003ffcc4 R11: 0000000000000246 R12: 00000000000752d6 R13: 00007ffddd9a7390 R14: 0000000000000032 R15: ffffffffffffffff Showing all locks held in the system: 1 lock held by ksoftirqd/1/24: #0: ffff8880b873ee98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:598 1 lock held by khungtaskd/30: #0: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6720 7 locks held by kworker/u8:3/36: #0: ffff88801bee3148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204 #1: ffffc90000ac7d80 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffffffff8fecd9d0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xbb/0xb40 net/core/net_namespace.c:580 #3: ffff888033eba0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline] #3: ffff888033eba0e8 (&dev->mutex){....}-{3:3}, at: devl_dev_lock net/devlink/devl_internal.h:108 [inline] #3: ffff888033eba0e8 (&dev->mutex){....}-{3:3}, at: devlink_pernet_pre_exit+0x12d/0x2b0 net/devlink/core.c:506 #4: ffff8880362dd250 (&devlink->lock_key#19){+.+.}-{3:3}, at: devl_lock net/devlink/core.c:276 [inline] #4: ffff8880362dd250 (&devlink->lock_key#19){+.+.}-{3:3}, at: devl_dev_lock net/devlink/devl_internal.h:109 [inline] #4: ffff8880362dd250 (&devlink->lock_key#19){+.+.}-{3:3}, at: devlink_pernet_pre_exit+0x137/0x2b0 net/devlink/core.c:506 #5: ffffffff8fee33e8 (rtnl_mutex){+.+.}-{3:3}, at: nsim_destroy+0x6f/0x6b0 drivers/net/netdevsim/netdev.c:773 #6: ffffffff8e1c3c38 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock+0x282/0x3b0 kernel/rcu/tree_exp.h:297 5 locks held by kworker/u8:7/2973: #0: ffff8880b873ee98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:598 #1: ffff8880b8728a48 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2c1/0x8e0 kernel/sched/psi.c:987 #2: ffff8880b872a858 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5d/0x220 kernel/time/timer.c:1051 #3: ffffffff9aa11870 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x199/0x540 lib/debugobjects.c:708 #4: ffffffff9a9d4ef8 (&obj_hash[i].lock){-.-.}-{2:2}, at: __debug_check_no_obj_freed lib/debugobjects.c:978 [inline] ffffffff9a9d4ef8 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_check_no_obj_freed+0x1d0/0x600 lib/debugobjects.c:1019 1 lock held by klogd/5189: #0: ffff8880b863ee98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:598 1 lock held by dhcpcd/5494: #0: ffffffff8fee33e8 (rtnl_mutex){+.+.}-{3:3}, at: devinet_ioctl+0x26e/0x1e20 net/ipv4/devinet.c:1112 2 locks held by getty/5583: #0: ffff8880367800a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900032232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211 3 locks held by kworker/u8:12/8227: #0: ffff88814d81c948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204 #1: ffffc9000b5c7d80 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffffffff8fee33e8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xcf/0x14d0 net/ipv6/addrconf.c:4196 1 lock held by syz-executor/17021: #0: ffffffff8e1c3b00 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x700 kernel/rcu/tree.c:4562 1 lock held by syz-executor/17023: #0: ffffffff8fee33e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fee33e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xea0 net/core/rtnetlink.c:6672 1 lock held by syz-executor/17067: #0: ffffffff8fee33e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fee33e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xea0 net/core/rtnetlink.c:6672 3 locks held by kworker/1:6/17256: #0: ffff88801b078948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x129b/0x1ba0 kernel/workqueue.c:3204 #1: ffffc9000468fd80 ((fqdir_free_work).work){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffffffff8e1c3b00 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x700 kernel/rcu/tree.c:4562 1 lock held by syz-executor/17276: #0: ffffffff8fee33e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fee33e8 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x372/0xea0 net/core/rtnetlink.c:6672 ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc6-syzkaller-00077-g2e1b3cc9d7f7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xf0c/0x1240 kernel/hung_task.c:379 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 2973 Comm: kworker/u8:7 Not tainted 6.12.0-rc6-syzkaller-00077-g2e1b3cc9d7f7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events_unbound nsim_dev_trap_report_work RIP: 0010:chacha_permute+0x538/0x750 lib/crypto/chacha.c:57 Code: 01 d0 c1 c6 08 44 89 44 24 10 45 31 c5 44 8d 04 07 45 31 f9 8b 7c 24 1c 41 c1 c5 08 41 c1 c1 0c 45 31 c4 89 74 24 2c 44 01 d6 <45> 01 cb 41 c1 c4 08 31 f1 89 74 24 18 44 31 dd 45 01 e6 c1 c1 07 RSP: 0018:ffffc9000b7ff840 EFLAGS: 00000013 RAX: 00000000523e08fb RBX: 00000000ae30c1fe RCX: 00000000bc74dd22 RDX: 00000000561dce6a RSI: 000000001c02f3c8 RDI: 000000001f90e416 RBP: 000000001894299e R08: 000000001b1d8a09 R09: 000000008486b0d7 R10: 00000000ee9a0a9a R11: 00000000b32364f4 R12: 000000006f4cf833 R13: 000000001f2706ff R14: 00000000f6062cc4 R15: 0000000038e8141b FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fff7d5fc0d8 CR3: 000000000df7c000 CR4: 00000000003526f0 DR0: 0000000000000008 DR1: 0000000000000000 DR2: 0000000000000002 DR3: 8000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: chacha_block_generic+0xad/0x270 lib/crypto/chacha.c:83 chacha20_block include/crypto/chacha.h:36 [inline] crng_fast_key_erasure+0x19e/0x250 drivers/char/random.c:326 crng_make_state+0x1cc/0x6d0 drivers/char/random.c:392 _get_random_bytes+0x122/0x1e0 drivers/char/random.c:406 eth_random_addr include/linux/etherdevice.h:238 [inline] nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:756 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:805 [inline] nsim_dev_trap_report_work+0x384/0xc90 drivers/net/netdevsim/dev.c:851 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244