INFO: task syz.3.631:6248 blocked for more than 143 seconds. Not tainted 6.1.112-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.631 state:D stack:25832 pid:6248 ppid:4255 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 perf_pending_task_sync kernel/events/core.c:5029 [inline] _free_event+0x169/0x1090 kernel/events/core.c:5035 put_event kernel/events/core.c:5160 [inline] perf_event_release_kernel+0x873/0x900 kernel/events/core.c:5285 perf_release+0x37/0x40 kernel/events/core.c:5295 __fput+0x3f6/0x8d0 fs/file_table.c:320 task_work_run+0x246/0x300 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:303 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fa391b7dff9 RSP: 002b:00007fff8044f9d8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007fa391d37a80 RCX: 00007fa391b7dff9 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007fa391d37a80 R08: 0000000000000006 R09: 00007fff8044fccf R10: 00000000003ffbc0 R11: 0000000000000246 R12: 0000000000051ff3 R13: 00007fff8044fae0 R14: 0000000000000032 R15: ffffffffffffffff Showing all locks held in the system: 3 locks held by kworker/u4:1/11: #0: ffff888017c79138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc90000107d20 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffffffff8e4fa7e8 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:263 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d32b1d0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d32b9d0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517 2 locks held by kworker/0:1/14: #0: ffff888017c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc90000137d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 1 lock held by khungtaskd/28: #0: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8d32b000 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6494 1 lock held by dhcpcd/3305: #0: ffffffff8e4fa7e8 (rtnl_mutex){+.+.}-{3:3}, at: netlink_dump+0xd3/0xca0 net/netlink/af_netlink.c:2179 2 locks held by getty/3400: #0: ffff88802e0fa098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2198 3 locks held by kworker/1:3/3630: #0: ffff88814b7add38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc900039bfd20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffffffff8e4fa7e8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xcc/0x16b0 net/ipv6/addrconf.c:4115 3 locks held by kworker/0:8/4087: #0: ffff888017c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc9000389fd20 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffffffff8e4fa7e8 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:104 3 locks held by syz.1.838/7524: #0: ffffffff8e4e0cc8 (br_ioctl_mutex){+.+.}-{3:3}, at: br_ioctl_call net/socket.c:1176 [inline] #0: ffffffff8e4e0cc8 (br_ioctl_mutex){+.+.}-{3:3}, at: sock_ioctl+0x26f/0x770 net/socket.c:1275 #1: ffffffff8e4fa7e8 (rtnl_mutex){+.+.}-{3:3}, at: br_ioctl_stub+0x9f/0xaa0 net/bridge/br_ioctl.c:402 #2: ffffffff8d3305f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #2: ffffffff8d3305f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x4f0/0x930 kernel/rcu/tree_exp.h:962 1 lock held by syz.4.895/7545: #0: ffff88807c1535d8 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:87 [inline] #0: ffff88807c1535d8 (&mm->mmap_lock){++++}-{3:3}, at: vm_mmap_pgoff+0x175/0x2d0 mm/util.c:518 7 locks held by syz.4.895/7546: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.112-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1ae/0x3f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xf88/0xfd0 kernel/hung_task.c:377 kthread+0x28d/0x320 kernel/kthread.c:376 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: 3717 Comm: kworker/1:8 Not tainted 6.1.112-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events nsim_dev_trap_report_work RIP: 0010:chacha_permute+0x4c6/0x1050 lib/crypto/chacha.c:61 Code: d1 c1 c1 07 89 4c 24 4c 44 89 4c 24 08 44 01 c8 89 44 24 10 41 31 c7 41 c1 c7 07 44 89 74 24 48 44 89 e0 44 01 f0 89 44 24 54 <31> c3 c1 c3 07 89 f0 41 89 fc 01 f8 89 44 24 20 41 31 c3 41 c1 c3 RSP: 0018:ffffc9000452f5e8 EFLAGS: 00000087 RAX: 000000008609fd0f RBX: 000000000ada0b54 RCX: 0000000096cd37ca RDX: 00000000137abcfd RSI: 00000000c2ac352f RDI: 000000003f7c4493 RBP: 000000003be57054 R08: 00000000447ff53e R09: 00000000731d10d4 R10: 00000000025a17c3 R11: 00000000afbe6a02 R12: 00000000e792d8fb R13: 0000000051d29c9a R14: 000000009e772414 R15: 000000004a186583 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000005beb0000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: chacha_block_generic+0x9b/0x1340 lib/crypto/chacha.c:83 chacha20_block include/crypto/chacha.h:36 [inline] crng_fast_key_erasure drivers/char/random.c:259 [inline] crng_make_state+0x3f2/0xb50 drivers/char/random.c:352 _get_random_bytes+0xd3/0x2b0 drivers/char/random.c:366 nsim_dev_trap_skb_build drivers/net/netdevsim/dev.c:776 [inline] nsim_dev_trap_report drivers/net/netdevsim/dev.c:805 [inline] nsim_dev_trap_report_work+0x628/0xa90 drivers/net/netdevsim/dev.c:850 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295