INFO: task syz.2.177:6518 blocked for more than 142 seconds.
      Not tainted 6.17.0-rc1-syzkaller-00022-g07866544e410-dirty #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.177       state:D stack:28936 pid:6518  tgid:6514  ppid:5851   task_flags:0x400040 flags:0x00004004
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 __lock_sock+0x14e/0x2b0
 lock_sock_nested+0x9f/0x100
 sock_fasync+0x6e/0xf0
 do_vfs_ioctl+0x1064/0x1430
 __se_sys_ioctl+0x82/0x170
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3db418ebe9
RSP: 002b:00007f3db501e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f3db43b6090 RCX: 00007f3db418ebe9
RDX: 0000200000000000 RSI: 0000000000005452 RDI: 0000000000000005
RBP: 00007f3db4211e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f3db43b6128 R14: 00007f3db43b6090 R15: 00007ffc051c4728
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/34:
 #0: ffffffff8e139ee0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
3 locks held by kworker/u10:3/315:
 #0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90002fafbc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f537d08 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60
2 locks held by getty/5677:
 #0: ffff8880202db0a0 (&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
8 locks held by kworker/u8:3/5889:
 #0: ffff88801b2f7148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90003c1fbc0 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f52aeb0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf7/0x800
 #3: ffff888038ea00e8 (&dev->mutex){....}-{4:4}, at: devlink_pernet_pre_exit+0x10a/0x3d0
 #4: ffff888038ea1250 (&devlink->lock_key#3){+.+.}-{4:4}, at: devlink_pernet_pre_exit+0x11c/0x3d0
 #5: ffffffff8f537d08 (rtnl_mutex){+.+.}-{4:4}, at: nsim_destroy+0xe5/0x670
 #6: ffff888119290d28 (&dev_instance_lock_key#20){+.+.}-{4:4}, at: unregister_netdevice_many_notify+0x52f/0x1ff0
 #7: ffffffff8e13f978 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730
6 locks held by syz.2.177/6516:
1 lock held by syz.2.177/6518:
 #0: ffff888111472058 (sk_lock-AF_KCM){+.+.}-{0:0}, at: sock_fasync+0x6e/0xf0
1 lock held by syz-executor/6535:
 #0: ffffffff8e13f840 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x570
1 lock held by syz-executor/6541:
 #0: ffffffff8e13f840 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x570
1 lock held by syz-executor/6561:
 #0: ffffffff8f537d08 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0
2 locks held by syz-executor/6562:
 #0: ffffffff8f52aeb0 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0
 #1: ffffffff8f537d08 (rtnl_mutex){+.+.}-{4:4}, at: caif_exit_net+0x6a/0x4a0
2 locks held by syz-executor/6563:
 #0: ffffffff8f52aeb0 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0
 #1: ffffffff8f537d08 (rtnl_mutex){+.+.}-{4:4}, at: ip_tunnel_init_net+0x2ab/0x800
2 locks held by syz-executor/6578:
 #0: ffffffff8f52aeb0 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0
 #1: ffffffff8f537d08 (rtnl_mutex){+.+.}-{4:4}, at: wg_netns_pre_exit+0x1c/0x1d0
2 locks held by syz-executor/6584:
 #0: ffffffff8f52aeb0 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0
 #1: ffffffff8f537d08 (rtnl_mutex){+.+.}-{4:4}, at: register_nexthop_notifier+0x80/0x210
2 locks held by syz-executor/6588:
 #0: ffffffff8f52aeb0 (pernet_ops_rwsem){++++}-{4:4}, at: copy_net_ns+0x304/0x4d0
 #1: ffffffff8f537d08 (rtnl_mutex){+.+.}-{4:4}, at: ip_tunnel_init_net+0x2ab/0x800

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

NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 34 Comm: khungtaskd Not tainted 6.17.0-rc1-syzkaller-00022-g07866544e410-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+0xf93/0xfe0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 6516 Comm: syz.2.177 Not tainted 6.17.0-rc1-syzkaller-00022-g07866544e410-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 52 61 8e 03 66
RSP: 0018:ffffc90000006bc8 EFLAGS: 00000046
RAX: 00000000000000f6 RBX: 0000000000000200 RCX: 000000000000083f
RDX: 0000000000000000 RSI: 00000000000000f6 RDI: 000000000000083f
RBP: ffffc90000006ca0 R08: ffffc90000006c27 R09: 1ffff92000000d84
R10: dffffc0000000000 R11: fffff52000000d85 R12: ffff888118cea901
R13: 0000000000000000 R14: 0000000000000000 R15: ffff88804b0314b0
FS:  00007f3db503f6c0(0000) GS:ffff8880b861c000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000589000 CR3: 00000000399b4000 CR4: 00000000000006f0
Call Trace:
 <IRQ>
 arch_irq_work_raise+0x6d/0x80
 __irq_work_queue_local+0x1d7/0x550
 irq_work_queue+0x99/0x140
 __perf_event_overflow+0x87f/0xe10
 perf_swevent_hrtimer+0x3c5/0x550
 __hrtimer_run_queues+0x4e0/0xc60
 hrtimer_interrupt+0x45b/0xaa0
 __sysvec_apic_timer_interrupt+0x10b/0x410
 sysvec_apic_timer_interrupt+0x52/0xc0
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:unwind_next_frame+0xc3c/0x2390
Code: 3c 01 0f 85 f9 0c 00 00 48 8d 43 08 4c 39 f8 0f 97 c1 4c 39 e0 0f 96 c0 20 c8 3c 01 0f 85 df 0c 00 00 48 89 df e8 84 23 00 00 <48> 89 c3 48 bd 00 00 00 00 00 fc ff df 48 8b 44 24 30 80 3c 28 00
RSP: 0018:ffffc900000073d8 EFLAGS: 00000202
RAX: ffffffff8b7bcb2e RBX: ffffc9000688f2a8 RCX: 1ffff92000000e01
RDX: ffffffff90363c48 RSI: 0000000000000002 RDI: ffffc9000688f2a8
RBP: 1ffff92000000e96 R08: 0000000000000009 R09: ffffffff8172c195
R10: ffffc900000074f8 R11: ffffffff81ac3890 R12: ffffc90006890000
R13: 1ffff92000000e97 R14: ffffc900000074a8 R15: ffffc90006888000
 arch_stack_walk+0x11c/0x150
 stack_trace_save+0x9c/0xe0
 kasan_save_track+0x3e/0x80
 __kasan_slab_alloc+0x6c/0x80
 kmem_cache_alloc_node_noprof+0x1bb/0x3c0
 __alloc_skb+0x112/0x2d0
 skb_copy+0x188/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:__kasan_check_byte+0x2d/0x40
Code: 00 41 56 53 48 89 f3 49 89 fe e8 5e 14 00 00 84 c0 75 16 be 01 00 00 00 4c 89 f7 31 d2 48 89 d9 89 c3 e8 c6 03 00 00 89 d8 5b <41> 5e c3 cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc 90 90 90
RSP: 0018:ffffc9000688f208 EFLAGS: 00000202
RAX: 0000000000000001 RBX: 0000000000000000 RCX: 2a086af65cd48400
RDX: 0000000000000000 RSI: ffffffff8b7bcb2e RDI: 1ffff11020c2718f
RBP: ffffffff820ffb9e R08: 0000000000000001 R09: 0000000000000000
R10: ffffc9000688f44c R11: fffff52000d11e92 R12: 0000000000000000
R13: ffff888106138c78 R14: ffff888106138c78 R15: 0000000000000001
 lock_acquire+0x8d/0x360
 _raw_spin_lock+0x2e/0x40
 __pte_offset_map_lock+0x13e/0x210
 __handle_mm_fault+0x2327/0x5440
 handle_mm_fault+0x40a/0x8e0
 do_user_addr_fault+0x764/0x1390
 exc_page_fault+0x76/0xf0
 asm_exc_page_fault+0x26/0x30
RIP: 0010:rep_movs_alternative+0x75/0x90
Code: 05 c3 cc cc cc cc 48 8b 06 48 89 07 48 8d 47 08 48 83 e0 f8 48 29 f8 48 01 c7 48 01 c6 48 29 c1 48 89 c8 48 c1 e9 03 83 e0 07 <f3> 48 a5 89 c1 85 c9 75 91 c3 cc cc cc cc 48 8d 0c c8 eb 86 cc cc
RSP: 0018:ffffc9000688f758 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff88803a8f0000 RCX: 0000000000000e28
RDX: 0000000000000001 RSI: 0000200000589000 RDI: ffff88803a8f0ec0
RBP: ffffc9000688f8b0 R08: ffff88803a8f7fff R09: 1ffff1100751efff
R10: dffffc0000000000 R11: ffffed100751f000 R12: 1ffff92000d11f77
R13: 0000200000588140 R14: ffffc9000688fbc8 R15: 0000000000008000
 _copy_from_iter+0x24c/0x16f0
 kcm_sendmsg+0xf00/0x2ad0
 __sock_sendmsg+0x21c/0x270
 sock_write_iter+0x258/0x330
 vfs_write+0x5c9/0xb30
 ksys_write+0x145/0x250
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3db418ebe9
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:00007f3db503f038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f3db43b5fa0 RCX: 00007f3db418ebe9
RDX: 00000000fffffdef RSI: 0000200000000140 RDI: 0000000000000005
RBP: 00007f3db4211e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f3db43b6038 R14: 00007f3db43b5fa0 R15: 00007ffc051c4728
 </TASK>
