INFO: task kworker/u8:0:12 blocked for more than 148 seconds.
      Not tainted 6.16.0-syzkaller-11113-gf3af62b6cee8 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u8:0    state:D stack:23536 pid:12    tgid:12    ppid:2      task_flags:0x4208060 flags:0x00004000
Workqueue: netns cleanup_net
Call Trace:
 <TASK>
 __schedule+0x1798/0x4cc0
 schedule+0x165/0x360
 schedule_preempt_disabled+0x13/0x30
 __mutex_lock+0x7e6/0x1360
 wg_netns_pre_exit+0x1c/0x1d0
 ops_undo_list+0x187/0x990
 cleanup_net+0x4c5/0x800
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>

Showing all locks held in the system:
2 locks held by kthreadd/2:
1 lock held by kworker/R-kvfre/6:
 #0: ffffffff8dfe1748 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x2e/0x3a0
3 locks held by kworker/0:0/9:
 #0: ffff88801a482148 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900000c7bc0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f5327c8 (rtnl_mutex){+.+.}-{4:4}, at: reg_check_chans_work+0x95/0xf30
4 locks held by kworker/u8:0/12:
 #0: ffff88801b2f7148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc900000f7bc0 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f525950 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xf7/0x800
 #3: ffffffff8f5327c8 (rtnl_mutex){+.+.}-{4:4}, at: wg_netns_pre_exit+0x1c/0x1d0
2 locks held by kworker/u8:1/13:
1 lock held by kworker/R-mm_pe/14:
4 locks held by kworker/1:0/24:
3 locks held by kworker/u10:0/27:
3 locks held by kworker/u9:1/29:
 #0: ffff88801a489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000062fbc0 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f5327c8 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0xe/0x60
1 lock held by khungtaskd/34:
 #0: ffffffff8e139e60 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180
2 locks held by kworker/u10:1/36:
3 locks held by kworker/u10:2/40:
2 locks held by kworker/1:1/47:
5 locks held by kworker/u11:0/54:
2 locks held by kswapd0/89:
1 lock held by kswapd1/90:
3 locks held by kworker/0:2/95:
2 locks held by kworker/u9:3/166:
4 locks held by kworker/u10:3/714:
4 locks held by kworker/1:2/793:
 #0: ffff888024ccdd48 ((wq_completion)wg-kex-wg0#26){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc9000469fbc0 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))); (typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff88803ce31308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x150/0x900
 #3: ffff888119eba0f0 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x4de/0x900
3 locks held by kworker/u9:8/1102:
4 locks held by kworker/u10:4/3548:
2 locks held by udevd/5292:
4 locks held by kworker/1:3/5311:
2 locks held by getty/5673:
 #0: ffff888021c1a0a0 (&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
3 locks held by kworker/u8:2/5713:
 #0: ffff88810607f948 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90002fffbc0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffffffff8f5327c8 (rtnl_mutex){+.+.}-{4:4}, at: addrconf_verify_work+0x19/0x30
1 lock held by syz-executor/5830:
4 locks held by kworker/1:4/5883:
 #0: ffff88801f660148 ((wq_completion)wg-kex-wg0#28){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0
 #1: ffffc90003abfbc0 ((work_completion)(&({ do { const void *__vpp_verify = (typeof((worker) + 0))((void *)0); (void)__vpp_verify; } while (0); ({ unsigned long __ptr; __ptr = (unsigned long) ((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker)))); (typeof((__typeof_unqual__(*((worker))) *)(( unsigned long)((worker))))) (__ptr + (((__per_cpu_offset[(cpu)])))); }); })->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0
 #2: ffff8881105c5308 (&wg->static_identity.lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x150/0x900
 #3: ffff888028cf0338 (&handshake->lock){++++}-{4:4}, at: wg_noise_handshake_consume_initiation+0x4de/0x900
2 locks held by kworker/1:5/5896:
3 locks held by kworker/0:3/5897:
2 locks held by kworker/0:4/5914:
4 locks held by kworker/1:6/5915:
4 locks held by kworker/0:5/7418:
3 locks held by kworker/u10:5/7533:
4 locks held by kworker/1:7/8030:
1 lock held by kworker/R-wg-cr/9340:
 #0: ffffffff8dfe1748 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x2e/0x3a0
2 locks held by kworker/1:8/9428:
2 locks held by kworker/1:9/9430:
1 lock held by kworker/R-wg-cr/9497:
 #0: ffffffff8dfe1748 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x2e/0x3a0
1 lock held by kworker/R-wg-cr/9498:
1 lock held by kworker/R-wg-cr/9500:
 #0: ffffffff8dfe1748 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x88b/0xdd0
1 lock held by kworker/R-wg-cr/10433:
 #0: ffffffff8dfe1748 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x2e/0x3a0
3 locks held by syz-executor/11000:
3 locks held by kworker/u10:6/11003:
1 lock held by kworker/R-wg-cr/11004:
 #0: ffffffff8dfe1748 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x2e/0x3a0
1 lock held by kworker/R-wg-cr/11006:
 #0: ffffffff8dfe1748 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x2e/0x3a0
1 lock held by kworker/R-wg-cr/11010:
 #0: ffffffff8dfe1748 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x2e/0x3a0
1 lock held by kworker/R-wg-cr/11015:
 #0: ffffffff8dfe1748 (wq_pool_attach_mutex){+.+.}-{4:4}, at: rescuer_thread+0x88b/0xdd0
1 lock held by kworker/R-wg-cr/11016:
 #0: ffffffff8dfe1748 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x2e/0x3a0
1 lock held by kworker/R-wg-cr/11017:
 #0: ffffffff8dfe1748 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x2e/0x3a0
3 locks held by kworker/u10:7/11658:
2 locks held by syz.8.1617/11751:
 #0: ffffffff8f5327c8 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x3e/0x1c0
 #1: ffffffff8e13f8f8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730
3 locks held by syz.8.1617/11752:
1 lock held by syz.6.1618/11753:
2 locks held by kworker/u10:8/11757:
3 locks held by kworker/u10:10/11760:

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

NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 34 Comm: khungtaskd Not tainted 6.16.0-syzkaller-11113-gf3af62b6cee8 #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:
  node 1: slabs: 77765, objs: 1244240, free: 137
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 11752 Comm: syz.8.1617 Not tainted 6.16.0-syzkaller-11113-gf3af62b6cee8 #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:seqcount_lockdep_reader_access+0x68/0x1c0
Code: fc ad 81 49 89 e6 49 c1 ee 03 48 b8 f1 f1 f1 f1 00 f2 f2 f2 49 bf 00 00 00 00 00 fc ff df 4b 89 04 3e 66 43 c7 44 3e 09 f3 f3 <43> c6 44 3e 0b f3 e8 cd a1 11 00 48 c7 44 24 40 00 00 00 00 9c 8f
RSP: 0018:ffffc90000006e20 EFLAGS: 00000802
RAX: f2f2f200f1f1f1f1 RBX: 1ffff11009604f7d RCX: ffff88810698b980
RDX: 0000000000010100 RSI: ffff88804b027be8 RDI: ffff88804b027ac8
RBP: ffffc90000006ec0 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52000000dc4 R12: ffff88804b027ad0
R13: 0000000000000000 R14: 1ffff92000000dc4 R15: dffffc0000000000
FS:  00007fec973216c0(0000) GS:ffff8880b862a000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe5a755e80 CR3: 0000000044458000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <IRQ>
 ktime_get_update_offsets_now+0x60/0x3d0
 hrtimer_interrupt+0x132/0xaa0
 __sysvec_apic_timer_interrupt+0x10b/0x410
 sysvec_apic_timer_interrupt+0x52/0xc0
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:vprintk_emit+0x58f/0x7a0
Code: 85 32 01 00 00 e8 71 7c 1f 00 41 89 df 4d 85 f6 48 8b 1c 24 75 07 e8 60 7c 1f 00 eb 06 e8 59 7c 1f 00 fb 48 c7 c7 00 e1 12 8e <31> f6 ba 01 00 00 00 31 c9 41 b8 01 00 00 00 45 31 c9 53 e8 b9 35
RSP: 0018:ffffc90000007160 EFLAGS: 00000246
RAX: ffffffff81a02297 RBX: ffffffff81a02154 RCX: ffff88810698b980
RDX: 0000000000000100 RSI: 0000000000000000 RDI: ffffffff8e12e100
RBP: ffffc90000007270 R08: ffffffff8fa32437 R09: 1ffffffff1f46486
R10: dffffc0000000000 R11: fffffbfff1f46487 R12: dffffc0000000000
R13: 1ffff92000000e30 R14: 0000000000000200 R15: 0000000000000030
 _printk+0xcf/0x120
 slab_out_of_memory+0x128/0x160
 ___slab_alloc+0x1323/0x1410
 kmem_cache_alloc_noprof+0x283/0x3c0
 skb_ext_add+0x148/0x8f0
 br_nf_pre_routing_ipv6+0x132/0x6b0
 br_handle_frame+0x982/0x14c0
 __netif_receive_skb_core+0x10b9/0x4020
 __netif_receive_skb+0x72/0x380
 process_backlog+0x60e/0x14f0
 __napi_poll+0xc7/0x360
 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:___cache_free+0x5f/0xf0
Code: 49 01 c4 66 90 41 0f b6 44 24 33 c1 e0 18 45 31 c0 3d 00 00 00 f5 4d 0f 44 c4 65 48 8b 05 91 3b 87 10 49 8b 0f 48 8b 54 08 08 <4c> 3b 44 08 10 75 27 48 8b 04 01 41 8b 4f 28 48 89 04 19 48 8d 4a
RSP: 0018:ffffc90006067a08 EFLAGS: 00000246
RAX: ffff8880b862a000 RBX: ffff88812343d680 RCX: ffffffff92a18180
RDX: 00000000008bcc70 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff88812343d800 R08: ffffea00048d0f00 R09: 1ffffffff1f46486
R10: dffffc0000000000 R11: fffffbfff1f46487 R12: ffffea00048d0f00
R13: 0000000000000000 R14: ffffffff822304bc R15: ffff88801d2a9a00
 qlist_free_all+0x97/0x140
 kasan_quarantine_reduce+0x148/0x160
 __kasan_slab_alloc+0x22/0x80
 kmem_cache_alloc_lru_noprof+0x1c6/0x3d0
 __d_alloc+0x36/0x7a0
 d_alloc_pseudo+0x21/0xc0
 alloc_file_pseudo+0xcc/0x210
 anon_inode_getfd+0xca/0x1b0
 map_create+0x10a2/0x14d0
 __sys_bpf+0x60f/0x870
 __x64_sys_bpf+0x7c/0x90
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fec9658ebe9
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:00007fec97321038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fec967b5fa0 RCX: 00007fec9658ebe9
RDX: 0000000000000048 RSI: 0000200000000740 RDI: 0000000000000000
RBP: 00007fec96611e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fec967b6038 R14: 00007fec967b5fa0 R15: 00007ffe5a755fa8
 </TASK>
