INFO: task syz.2.66:4423 blocked for more than 143 seconds. Not tainted 5.15.182-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.66 state:D stack:22464 pid: 4423 ppid: 4184 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 perf_pending_task_sync+0x13c/0x1c0 kernel/events/core.c:5127 _free_event+0x34/0xe60 kernel/events/core.c:5133 put_event kernel/events/core.c:5258 [inline] perf_event_release_kernel+0x832/0x8c0 kernel/events/core.c:5383 perf_release+0x37/0x40 kernel/events/core.c:5393 __fput+0x234/0x930 fs/file_table.c:311 task_work_run+0x125/0x1a0 kernel/task_work.c:188 get_signal+0x1222/0x12c0 kernel/signal.c:2672 arch_do_signal_or_restart+0xc1/0x1300 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:178 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fa583662969 RSP: 002b:00007fa5814c9fe8 EFLAGS: 00000206 ORIG_RAX: 0000000000000038 RAX: fffffffffffffff4 RBX: 00007fa583889fa0 RCX: 00007fa583662969 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000630c1000 RBP: 00007fa5836e4ab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fa583889fa0 R15: 00007fff88fc7eb8 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c11bea0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 4 locks held by udevd/3547: #0: ffff88807d4708b8 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xad/0xd50 fs/seq_file.c:182 #1: ffff888060031088 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x51/0x3c0 fs/kernfs/file.c:112 #2: ffff88806698dcb8 (kn->active#32){++++}-{0:0}, at: kernfs_seq_start+0x71/0x3c0 fs/kernfs/file.c:113 #3: ffff888053035178 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #3: ffff888053035178 (&dev->mutex){....}-{3:3}, at: uevent_show+0x17a/0x330 drivers/base/core.c:2408 1 lock held by dhcpcd/3839: #0: ffffffff8d22a288 (rtnl_mutex){+.+.}-{3:3}, at: __netlink_dump_start+0x11f/0x700 net/netlink/af_netlink.c:2334 2 locks held by getty/3945: #0: ffff88802b4dd098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc900025c62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158 3 locks held by kworker/0:4/4215: #0: ffff888016870938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc900031afd00 (deferred_process_work){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8d22a288 (rtnl_mutex){+.+.}-{3:3}, at: switchdev_deferred_process_work+0xa/0x20 net/switchdev/switchdev.c:74 3 locks held by kworker/u4:6/4229: #0: ffff888016879138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc900031ffd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8d22a288 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:251 6 locks held by kworker/u4:7/4254: #0: ffff8880169cd938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc90002f4fd00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8d21e610 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x132/0xb80 net/core/net_namespace.c:589 #3: ffffffff8d22a288 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock_unregistering net/core/dev.c:11620 [inline] #3: ffffffff8d22a288 (rtnl_mutex){+.+.}-{3:3}, at: default_device_exit_batch+0x149/0x390 net/core/dev.c:11658 #4: ffff888147fa6628 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: wiphy_lock include/net/cfg80211.h:5314 [inline] #4: ffff888147fa6628 (&rdev->wiphy.mtx){+.+.}-{3:3}, at: cfg80211_netdev_notifier_call+0x7d0/0x1160 net/wireless/core.c:1407 #5: ffffffff8c120928 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #5: ffffffff8c120928 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x347/0x6b0 kernel/rcu/tree_exp.h:845 2 locks held by kworker/0:15/5563: #0: ffff888016872138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc9000314fd00 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 3 locks held by syz.3.310/5986: 3 locks held by syz-executor/5990: #0: ffffffff8d286d10 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:802 #1: ffffffff8d286b68 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline] #1: ffffffff8d286b68 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x137/0xf40 net/netlink/genetlink.c:790 #2: ffffffff8d22a288 (rtnl_mutex){+.+.}-{3:3}, at: wg_set_device+0xf2/0x1e70 drivers/net/wireguard/netlink.c:504 2 locks held by syz-executor/6022: #0: ffffffff8d286d10 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:802 #1: ffffffff8d286b68 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline] #1: ffffffff8d286b68 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x137/0xf40 net/netlink/genetlink.c:790 6 locks held by syz-executor/6024: #0: ffff88807f27a460 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x28a/0xd00 fs/read_write.c:590 #1: ffff88805db5b088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1e5/0x4c0 fs/kernfs/file.c:287 #2: ffff888147f70008 (kn->active#297){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x208/0x4c0 fs/kernfs/file.c:288 #3: ffffffff8cb71d48 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: new_device_store+0x13c/0x740 drivers/net/netdevsim/bus.c:295 #4: ffff888053035178 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #4: ffff888053035178 (&dev->mutex){....}-{3:3}, at: __device_attach+0x85/0x460 drivers/base/dd.c:954 #5: ffffffff8d22a288 (rtnl_mutex){+.+.}-{3:3}, at: fib_seq_sum+0x31/0x250 net/core/fib_notifier.c:46 4 locks held by syz-executor/6030: #0: ffff88807f27a460 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x28a/0xd00 fs/read_write.c:590 #1: ffff88805be55488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1e5/0x4c0 fs/kernfs/file.c:287 #2: ffff888147f70008 (kn->active#297){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x208/0x4c0 fs/kernfs/file.c:288 #3: ffffffff8cb71d48 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: new_device_store+0x13c/0x740 drivers/net/netdevsim/bus.c:295 4 locks held by syz-executor/6063: #0: ffff88807f27a460 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x28a/0xd00 fs/read_write.c:590 #1: ffff88807d3b0488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x1e5/0x4c0 fs/kernfs/file.c:287 #2: ffff888147f700f0 (kn->active#296){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x208/0x4c0 fs/kernfs/file.c:288 #3: ffffffff8cb71d48 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xce/0x380 drivers/net/netdevsim/bus.c:344 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.182-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xe0f/0xe50 kernel/hung_task.c:369 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 5986 Comm: syz.3.310 Not tainted 5.15.182-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 RIP: 0010:rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:331 [inline] RIP: 0010:rcu_is_watching+0x36/0xa0 kernel/rcu/tree.c:1123 Code: e8 5f a4 3d 08 89 c3 83 f8 08 73 5c 49 bf 00 00 00 00 00 fc ff df 4c 8d 34 dd 10 e8 ba 8b 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 <74> 08 4c 89 f7 e8 60 98 59 00 48 c7 c3 c8 b2 03 00 49 03 1e 48 89 RSP: 0018:ffffc90000007cc0 EFLAGS: 00000046 RAX: 1ffffffff1775d02 RBX: 0000000000000000 RCX: 1ae4d28307688700 RDX: 0000000000000000 RSI: ffffffff8a59a2a0 RDI: ffffffff8a59a260 RBP: ffffc90000007df0 R08: dffffc0000000000 R09: fffffbfff1ad1576 R10: fffffbfff1ad1576 R11: 1ffffffff1ad1575 R12: dffffc0000000000 R13: dffffc0000000000 R14: ffffffff8bbae810 R15: dffffc0000000000 FS: 00007fdfac3ff6c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555d8e4eafb0 CR3: 0000000057695000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0xba/0x870 kernel/locking/lockdep.c:5634 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:158 [inline] _raw_spin_unlock_irqrestore+0x6d/0x100 kernel/locking/spinlock.c:194 hrtimer_interrupt+0x4d4/0x8d0 kernel/time/hrtimer.c:1826 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline] __sysvec_apic_timer_interrupt+0x137/0x4a0 arch/x86/kernel/apic/apic.c:1114 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0x9b/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:331 [inline] RIP: 0010:rcu_is_watching+0x36/0xa0 kernel/rcu/tree.c:1123 Code: e8 5f a4 3d 08 89 c3 83 f8 08 73 5c 49 bf 00 00 00 00 00 fc ff df 4c 8d 34 dd 10 e8 ba 8b 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 <74> 08 4c 89 f7 e8 60 98 59 00 48 c7 c3 c8 b2 03 00 49 03 1e 48 89 RSP: 0018:ffffc900033ff620 EFLAGS: 00000246 RAX: 1ffffffff1775d02 RBX: 0000000000000000 RCX: 1ae4d28307688700 RDX: 0000000000000000 RSI: ffffffff8a59a2a0 RDI: ffffffff8a59a260 RBP: ffffc900033ff750 R08: dffffc0000000000 R09: fffffbfff1ad1576 R10: fffffbfff1ad1576 R11: 1ffffffff1ad1575 R12: 000000000005e7d2 R13: dffffc0000000000 R14: ffffffff8bbae810 R15: dffffc0000000000 trace_lock_release include/trace/events/lock.h:58 [inline] lock_release+0xba/0x870 kernel/locking/lockdep.c:5634 rcu_read_unlock include/linux/rcupdate.h:772 [inline] inet_twsk_purge+0x77d/0x810 net/ipv4/inet_timewait_sock.c:309 ops_exit_list net/core/net_namespace.c:177 [inline] setup_net+0x822/0x9f0 net/core/net_namespace.c:365 copy_net_ns+0x348/0x5b0 net/core/net_namespace.c:503 create_new_namespaces+0x3d3/0x6f0 kernel/nsproxy.c:110 copy_namespaces+0x37d/0x3e0 kernel/nsproxy.c:178 copy_process+0x181e/0x3e60 kernel/fork.c:2208 kernel_clone+0x219/0x930 kernel/fork.c:2603 __do_sys_clone kernel/fork.c:2720 [inline] __se_sys_clone kernel/fork.c:2704 [inline] __x64_sys_clone+0x170/0x1c0 kernel/fork.c:2704 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fdfae5b8969 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fdfac3fefe8 EFLAGS: 00000202 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007fdfae7e0080 RCX: 00007fdfae5b8969 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000042a00080 RBP: 00007fdfae63aab1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fdfae7e0080 R15: 00007ffeb18531e8