INFO: task syz.5.1858:12523 blocked for more than 143 seconds.
      Not tainted 6.16.0-rc6-syzkaller-00411-g95993dc3039e-dirty #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.5.1858      state:D stack:26864 pid:12523 tgid:12523 ppid:9627   task_flags:0x400040 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x16f5/0x4d00
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x724/0xe80
 tun_chr_close+0x3e/0x1c0
 __fput+0x44c/0xa70
 task_work_run+0x1d4/0x260
 exit_to_user_mode_loop+0xec/0x110
 do_syscall_64+0x2bd/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f35fbb8e9a9
RSP: 002b:00007ffdfe1aa7d8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 0000000000079f8f RCX: 00007f35fbb8e9a9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f35fbdb7ba0 R08: 0000000000000001 R09: 0000001efe1aaacf
R10: 00007f35fba00000 R11: 0000000000000246 R12: 00007f35fbdb5fac
R13: 00007f35fbdb5fa0 R14: ffffffffffffffff R15: 00007ffdfe1aa8f0
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/34:
 #0: ffffffff8e13f0e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
1 lock held by dhcpcd/5577:
 #0: ffffffff8f51cdc8 (rtnl_mutex){+.+.}-{4:4}, at: inet6_rtm_newaddr+0x5b7/0xd20
2 locks held by getty/5658:
 #0: ffff88810f8560a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900029062f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400
4 locks held by kworker/u8:3/5867:
 #0: ffff88801b2f6948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000430fbc0 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f5101d0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf7/0x800
 #3: ffffffff8f51cdc8 (rtnl_mutex){+.+.}-{4:4}, at: wg_netns_pre_exit+0x1c/0x1d0
3 locks held by kworker/u8:4/5868:
 #0: ffff888028f03948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000431fbc0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f51cdc8 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_verify_work+0x19/0x30
3 locks held by kworker/0:5/9693:
 #0: ffff88801a481d48 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90002b4fbc0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f51cdc8 (rtnl_mutex){+.+.}-{4:4}, at: reg_check_chans_work+0x95/0xf00
4 locks held by syz.6.1856/12513:
2 locks held by syz.3.1857/12521:
 #0: ffffffff8f51cdc8 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0
 #1: ffffffff8e144bf8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730
1 lock held by syz.5.1858/12523:
 #0: ffffffff8f51cdc8 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0
1 lock held by syz-executor/12532:
 #0: ffffffff8f51cdc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/12538:
 #0: ffffffff8f51cdc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/12539:
 #0: ffffffff8f51cdc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/12549:
 #0: ffffffff8f51cdc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/12555:
 #0: ffffffff8f51cdc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/12557:
 #0: ffffffff8f51cdc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/12574:
 #0: ffffffff8f51cdc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/12580:
 #0: ffffffff8f51cdc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/12582:
 #0: ffffffff8f51cdc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0

=============================================

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 34 Comm: khungtaskd Not tainted 6.16.0-rc6-syzkaller-00411-g95993dc3039e-dirty #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Call Trace:
 <TASK>
 dump_stack_lvl+0x189/0x250
 nmi_cpu_backtrace+0x39e/0x3d0
 nmi_trigger_cpumask_backtrace+0x17a/0x300
 watchdog+0xfee/0x1030
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 12513 Comm: syz.6.1856 Not tainted 6.16.0-rc6-syzkaller-00411-g95993dc3039e-dirty #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:asm_sysvec_apic_timer_interrupt+0x0/0x20
Code: 56 6d 6e 0a e9 61 06 00 00 90 f3 0f 1e fa 0f 1f 00 fc 6a ff e8 11 05 00 00 48 89 c4 48 89 e7 e8 66 6c 6e 0a e9 41 06 00 00 90 <f3> 0f 1e fa 0f 1f 00 fc 6a ff e8 f1 04 00 00 48 89 c4 48 89 e7 e8
RSP: 0018:ffffc900001e08b8 EFLAGS: 00000002
RAX: ffff888127cb5880 RBX: 0000000000000000 RCX: ffffffff894f1d73
RDX: 0000000000000008 RSI: ffff888127cb5700 RDI: ffff888127cb5880
RBP: 0000000000000180 R08: 0000000000000000 R09: 1ffff11024f96b18
R10: dffffc0000000000 R11: ffffed1024f96b19 R12: ffff888127cb5680
R13: ffff888127cb58cc R14: 000000000000009c R15: 1ffff11024f96b19
FS:  00007fb2dd3e26c0(0000) GS:ffff8881a3c1f000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000563a4d14ae08 CR3: 000000010e28a000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
RIP: 0010:memcpy_orig+0x19/0x130
Code: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 48 89 f8 48 83 fa 20 72 7e 40 38 fe 7c 35 48 83 ea 20 48 83 ea 20 4c 8b 06 <4c> 8b 4e 08 4c 8b 56 10 4c 8b 5e 18 48 8d 76 20 4c 89 07 4c 89 4f
RSP: 0018:ffffc900001e08e0 EFLAGS: 00000202
 skb_copy+0x363/0x800
 mac80211_hwsim_tx_frame_no_nl+0xcd3/0x11c0
 mac80211_hwsim_tx_frame+0x1b5/0x200
 mac80211_hwsim_beacon_tx+0x3f0/0x860
 __iterate_interfaces+0x2ab/0x590
 ieee80211_iterate_active_interfaces_atomic+0xdb/0x180
 mac80211_hwsim_beacon+0xbb/0x1c0
 __hrtimer_run_queues+0x52c/0xc60
 hrtimer_run_softirq+0x187/0x2b0
 handle_softirqs+0x286/0x870
 __irq_exit_rcu+0xca/0x1f0
 irq_exit_rcu+0x9/0x30
 sysvec_apic_timer_interrupt+0xa6/0xc0
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:__schedule+0x0/0x4d00
Code: b3 f6 45 89 f8 89 d9 48 8b 5c 24 08 e9 ee fe ff ff cc cc cc cc cc cc cc cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <f3> 0f 1e fa 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 e4 e0 48
RSP: 0018:ffffc9000aacf178 EFLAGS: 00000282
RAX: 8bf8fc9059e8f800 RBX: ffff888021578000 RCX: 8bf8fc9059e8f800
RDX: 0000000000000007 RSI: ffffffff8d99883e RDI: 0000000000000001
RBP: ffffc9000aacf220 R08: ffffffff8fa1e8f7 R09: 1ffffffff1f43d1e
R10: dffffc0000000000 R11: fffffbfff1f43d1f R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff92001559e30
 preempt_schedule_irq+0xb5/0x150
 irqentry_exit+0x6f/0x90
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:preempt_schedule+0x0/0xc0
Code: 00 00 e8 23 31 21 f6 c3 cc cc cc cc cc 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <f3> 0f 1e fa 55 48 89 e5 41 56 53 48 83 e4 e0 48 83 ec 60 65 48 8b
RSP: 0018:ffffc9000aacf2e0 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000246 RCX: 0000000000000000
RDX: 0000000000000007 RSI: ffffffff8d99883e RDI: 00000000ffffffff
RBP: ffffc9000aacf330 R08: ffffffff8fa1e8f7 R09: 1ffffffff1f43d1e
R10: dffffc0000000000 R11: fffffbfff1f43d1f R12: dffffc0000000000
R13: ffffffff8e144480 R14: ffffffff8e144480 R15: 1ffff92001559e68
 preempt_schedule_thunk+0x16/0x30
 _raw_spin_unlock_irqrestore+0xfd/0x110
 rcu_report_qs_rsp+0xad/0x1b0
 rcu_preempt_deferred_qs_irqrestore+0x9d2/0xc40
 rcu_read_unlock_special+0x3fe/0x4c0
 __rcu_read_unlock+0x84/0xe0
 unwind_next_frame+0x19ae/0x2390
 arch_stack_walk+0x11c/0x150
 stack_trace_save+0x9c/0xe0
 save_stack+0xf5/0x1f0
 __reset_page_owner+0x71/0x1f0
 __free_frozen_pages+0xc71/0xe70
 __put_partials+0x161/0x1c0
 put_cpu_partial+0x17c/0x250
 __slab_free+0x2f7/0x400
 qlist_free_all+0x97/0x140
 kasan_quarantine_reduce+0x148/0x160
 __kasan_slab_alloc+0x22/0x80
 kmem_cache_alloc_noprof+0x1c1/0x3c0
 security_file_alloc+0x34/0x330
 init_file+0x93/0x2f0
 alloc_empty_file+0x6e/0x1d0
 alloc_file_pseudo+0x13d/0x210
 sock_alloc_file+0xb8/0x2e0
 __sys_socketpair+0x387/0x560
 __x64_sys_socketpair+0x9b/0xb0
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb2dc58e9a9
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:00007fb2dd3e2038 EFLAGS: 00000246 ORIG_RAX: 0000000000000035
RAX: ffffffffffffffda RBX: 00007fb2dc7b5fa0 RCX: 00007fb2dc58e9a9
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: 00007fb2dc610d69 R08: 0000000000000000 R09: 0000000000000000
R10: 00002000000004c0 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fb2dc7b5fa0 R15: 00007ffeaee3ac28
 </TASK>
