INFO: task kworker/u10:1:36 blocked for more than 144 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:kworker/u10:1   state:D stack:23864 pid:36    tgid:36    ppid:2      task_flags:0x4208160 flags:0x00004000
Workqueue: events_unbound linkwatch_event
Call Trace:
 <TASK>
 __schedule+0x16f5/0x4d00
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x724/0xe80
 linkwatch_event+0xe/0x60
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>
INFO: task syz.6.1983:12828 blocked for more than 144 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.6.1983      state:D stack:24272 pid:12828 tgid:12828 ppid:11885  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:0x7f9a0458e9a9
RSP: 002b:00007ffce3b1e4f8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f9a047b7ba0 RCX: 00007f9a0458e9a9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f9a047b7ba0 R08: 0000000000000210 R09: 0000001ee3b1e7ef
R10: 00007f9a047b7ac0 R11: 0000000000000246 R12: 000000000003e066
R13: 00007f9a047b6080 R14: ffffffffffffffff R15: 00007ffce3b1e610
 </TASK>
INFO: task syz.7.1997:12874 blocked for more than 144 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.7.1997      state:D stack:25096 pid:12874 tgid:12874 ppid:11889  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:0x7f7a6838e9a9
RSP: 002b:00007ffee1442018 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f7a685b7ba0 RCX: 00007f7a6838e9a9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f7a685b7ba0 R08: 0000000000000214 R09: 0000001ee144230f
R10: 00007f7a685b7ac0 R11: 0000000000000246 R12: 000000000003e22a
R13: 00007f7a685b6080 R14: ffffffffffffffff R15: 00007ffee1442130
 </TASK>
INFO: task syz.5.2001:12888 blocked for more than 144 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.2001      state:D stack:24384 pid:12888 tgid:12886 ppid:11883  task_flags:0x400140 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x16f5/0x4d00
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x724/0xe80
 inet6_rtm_newaddr+0x5b7/0xd20
 rtnetlink_rcv_msg+0x7cf/0xb70
 netlink_rcv_skb+0x208/0x470
 netlink_unicast+0x75c/0x8e0
 netlink_sendmsg+0x805/0xb30
 __sock_sendmsg+0x21c/0x270
 ____sys_sendmsg+0x505/0x830
 ___sys_sendmsg+0x21f/0x2a0
 __x64_sys_sendmsg+0x19b/0x260
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff90618e9a9
RSP: 002b:00007ff90701d038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007ff9063b6080 RCX: 00007ff90618e9a9
RDX: 0000000000000000 RSI: 0000200000000080 RDI: 000000000000000b
RBP: 00007ff906210d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ff9063b6080 R15: 00007fff227bcd58
 </TASK>

Showing all locks held in the system:
4 locks held by kworker/u8:1/13:
 #0: ffff88801b2f6948 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90000107bc0 (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
1 lock held by khungtaskd/34:
 #0: ffffffff8e13f0e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
3 locks held by kworker/u10:1/36:
 #0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900006afbc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f51cdc8 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60
3 locks held by kworker/1:2/790:
 #0: ffff88801a481d48 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000478fbc0 ((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
2 locks held by getty/5654:
 #0: ffff88811071d0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70
 #1: ffffc900029032f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400
3 locks held by kworker/u8:2/5841:
 #0: ffff88802080c948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000372fbc0 ((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
1 lock held by syz.6.1983/12828:
 #0: ffffffff8f51cdc8 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0
2 locks held by syz.6.1983/12829:
1 lock held by syz.7.1997/12874:
 #0: ffffffff8f51cdc8 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0
1 lock held by syz.5.2001/12888:
 #0: ffffffff8f51cdc8 (rtnl_mutex){+.+.}-{4:4}, at: inet6_rtm_newaddr+0x5b7/0xd20
1 lock held by syz-executor/12892:
 #0: ffffffff8f51cdc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/12897:
 #0: ffffffff8f51cdc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/12900:
 #0: ffffffff8f51cdc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/12904:
 #0: ffffffff8f51cdc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/12909:
 #0: ffffffff8f51cdc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/12912:
 #0: ffffffff8f51cdc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/12917:
 #0: ffffffff8f51cdc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/12921:
 #0: ffffffff8f51cdc8 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x3b0/0x18b0
1 lock held by syz-executor/12924:
 #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: 12829 Comm: syz.6.1983 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:native_apic_msr_write+0x39/0x50
Code: 74 2a 83 ff 30 74 25 eb 10 81 ff d0 00 00 00 74 1b 81 ff e0 00 00 00 74 13 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 c3 cc cc cc cc cc f3 0f 1e fa 89 f6 31 d2 e9 a2 dc 86 03 66
RSP: 0018:ffffc900001df148 EFLAGS: 00000046
RAX: 00000000000000b8 RBX: ffff888136623900 RCX: 0000000000000838
RDX: 0000000000000000 RSI: 00000000000000b8 RDI: 0000000000000838
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff81aec9fe
R10: 0000000000000003 R11: ffffffff81702490 R12: 000000001000416e
R13: dffffc0000000000 R14: 00000000000000b8 R15: 0000000000000020
FS:  00007f9a0534e6c0(0000) GS:ffff8881a3c1f000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005631a5167e08 CR3: 000000012a05a000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000200000000300 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 lapic_next_event+0x11/0x20
 clockevents_program_event+0x1cf/0x360
 hrtimer_interrupt+0x620/0xaa0
 __sysvec_apic_timer_interrupt+0x10b/0x410
 sysvec_apic_timer_interrupt+0x52/0xc0
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:bpf_prog_run_clear_cb+0x90/0x1c0
Code: 4f f7 0f 1f 44 00 00 e8 0e 89 7d f7 4c 8d 7b 48 48 83 c3 30 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 20 ad e0 f7 <4c> 8b 1b 4c 89 f7 4c 89 fe 2e e8 b1 c8 2e 01 89 c5 e8 8a 9e 4e f7
RSP: 0018:ffffc900001df3b8 EFLAGS: 00000246
RAX: 1ffff92000037c06 RBX: ffffc900001be030 RCX: ffff88810a0c5640
RDX: 0000000000000100 RSI: 00000000000002bf RDI: ffffffff8d9ea532
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8a427fa3
R10: dffffc0000000000 R11: ffffffff8a4149a0 R12: 0000000000000001
R13: dffffc0000000000 R14: ffff888123fca780 R15: ffffc900001be048
 run_filter+0x156/0x270
 packet_rcv+0x496/0x1590
 dev_queue_xmit_nit+0xc38/0xcc0
 dev_hard_start_xmit+0x1be/0x830
 sch_direct_xmit+0x241/0x4b0
 __dev_queue_xmit+0x17b6/0x3a70
 ip_finish_output2+0xd03/0x1160
 __ip_queue_xmit+0x1101/0x1b00
 __tcp_transmit_skb+0x2215/0x3680
 tcp_rcv_established+0x13a3/0x1de0
 tcp_v4_do_rcv+0xa23/0xce0
 tcp_v4_rcv+0x2676/0x2f00
 ip_protocol_deliver_rcu+0x221/0x440
 ip_local_deliver_finish+0x2fb/0x580
 NF_HOOK+0x30c/0x3a0
 ip_sublist_rcv_finish+0x21d/0x2a0
 ip_sublist_rcv+0x6e7/0x9b0
 ip_list_rcv+0x3e2/0x430
 __netif_receive_skb_list_core+0x7d2/0x800
 netif_receive_skb_list_internal+0x975/0xcc0
 napi_complete_done+0x2f2/0x7c0
 e1000_clean+0xd0b/0x2b00
 __napi_poll+0xc7/0x480
 net_rx_action+0x707/0xe30
 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:preempt_schedule_irq+0xb0/0x150
Code: 24 20 f6 44 24 21 02 74 0c 90 0f 0b 48 f7 03 08 00 00 00 74 64 bf 01 00 00 00 e8 8b 1d 21 f6 e8 c6 f0 57 f6 fb bf 01 00 00 00 <e8> 1b ab ff ff 48 c7 44 24 40 00 00 00 00 9c 8f 44 24 40 8b 44 24
RSP: 0018:ffffc90003caf180 EFLAGS: 00000282
RAX: 6f32103141c37c00 RBX: 0000000000000000 RCX: 6f32103141c37c00
RDX: 0000000000000007 RSI: ffffffff8d99883e RDI: 0000000000000001
RBP: ffffc90003caf220 R08: ffffffff8fa1e8f7 R09: 1ffffffff1f43d1e
R10: dffffc0000000000 R11: fffffbfff1f43d1f R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff92000795e30
 irqentry_exit+0x6f/0x90
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:debug_check_no_obj_freed+0x130/0x470
Code: 41 5d 41 5e 41 5f 5d e9 be ce a9 06 cc 48 c1 e8 0c 45 31 f6 4c 89 6c 24 40 eb 18 41 01 de 49 81 c4 00 10 00 00 48 8b 44 24 38 <48> ff c8 0f 84 40 ff ff ff 48 89 44 24 38 4c 89 e0 48 c1 e8 0c 48
RSP: 0018:ffffc90003caf2e0 EFLAGS: 00000286
RAX: 0000000000000008 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000007 RSI: ffffffff8d99883e RDI: 00000000ffffffff
RBP: 0000000000000003 R08: ffffffff8fa1e8f7 R09: 1ffffffff1f43d1e
R10: dffffc0000000000 R11: fffffbfff1f43d1f R12: ffff88803f269000
R13: ffff88803f270000 R14: 0000000000000000 R15: 0000000000000000
 __free_frozen_pages+0x509/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
 __kernfs_new_node+0xd7/0x7e0
 kernfs_new_node+0x102/0x210
 __kernfs_create_file+0x4b/0x2e0
 sysfs_add_file_mode_ns+0x238/0x300
 internal_create_group+0x66d/0x1110
 sysfs_create_groups+0x59/0x120
 device_add_attrs+0x1c4/0x5a0
 device_add+0x496/0xb50
 netdev_register_kobject+0x156/0x2f0
 register_netdevice+0x126c/0x1ae0
 tun_set_iff+0x844/0xef0
 __tun_chr_ioctl+0x788/0x1df0
 __se_sys_ioctl+0xfc/0x170
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9a0458e9a9
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:00007f9a0534e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f9a047b5fa0 RCX: 00007f9a0458e9a9
RDX: 0000200000000040 RSI: 00000000400454ca RDI: 0000000000000004
RBP: 00007f9a04610d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f9a047b5fa0 R15: 00007ffce3b1e398
 </TASK>
