------------[ cut here ]------------
refcount_t: addition on 0; use-after-free.
WARNING: CPU: 0 PID: 22809 at lib/refcount.c:25 refcount_warn_saturate+0xfa/0x1d0 lib/refcount.c:25
Modules linked in:
CPU: 0 UID: 0 PID: 22809 Comm: kworker/u8:10 Not tainted 6.15.0-syzkaller-12058-g64980441d269 #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: netns cleanup_net
RIP: 0010:refcount_warn_saturate+0xfa/0x1d0 lib/refcount.c:25
Code: 00 00 e8 09 2d ff fc 5b 41 5e e9 d1 4a a7 06 cc e8 fb 2c ff fc c6 05 63 ca c9 0a 01 90 48 c7 c7 c0 38 e2 8b e8 17 db c2 fc 90 <0f> 0b 90 90 eb d7 e8 db 2c ff fc c6 05 44 ca c9 0a 01 90 48 c7 c7
RSP: 0018:ffffc90000007828 EFLAGS: 00010246
RAX: a187d8676c314800 RBX: 0000000000000002 RCX: ffff88802e213c00
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002
RBP: ffffc900000079b0 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffffbfff1bfaa44 R12: ffff8880317d0000
R13: dffffc0000000000 R14: ffff8880317d016c R15: ffff888055c4d400
FS:  0000000000000000(0000) GS:ffff888125c55000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000222030 CR3: 0000000043f3a000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 000000000000000c DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 __refcount_add include/linux/refcount.h:-1 [inline]
 __refcount_inc include/linux/refcount.h:366 [inline]
 refcount_inc include/linux/refcount.h:383 [inline]
 get_net include/net/net_namespace.h:268 [inline]
 tipc_aead_encrypt net/tipc/crypto.c:821 [inline]
 tipc_crypto_xmit+0x1820/0x22c0 net/tipc/crypto.c:1761
 tipc_bearer_xmit_skb+0x245/0x400 net/tipc/bearer.c:572
 tipc_disc_timeout+0x580/0x6d0 net/tipc/discover.c:338
 call_timer_fn+0x17b/0x5f0 kernel/time/timer.c:1747
 expire_timers kernel/time/timer.c:1798 [inline]
 __run_timers kernel/time/timer.c:2372 [inline]
 __run_timer_base+0x61a/0x860 kernel/time/timer.c:2384
 run_timer_base kernel/time/timer.c:2393 [inline]
 run_timer_softirq+0xb7/0x180 kernel/time/timer.c:2403
 handle_softirqs+0x286/0x870 kernel/softirq.c:579
 __do_softirq kernel/softirq.c:613 [inline]
 invoke_softirq kernel/softirq.c:453 [inline]
 __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline]
 sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1050
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:preempt_schedule_irq+0xb0/0x150 kernel/sched/core.c:7108
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 4b 0b 2a f6 e8 a6 1d 61 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:ffffc9000ca473c0 EFLAGS: 00000282
RAX: a187d8676c314800 RBX: 0000000000000000 RCX: a187d8676c314800
RDX: 0000000000000006 RSI: ffffffff8d97cb27 RDI: 0000000000000001
RBP: ffffc9000ca47460 R08: ffffffff8fa100f7 R09: 1ffffffff1f4201e
R10: dffffc0000000000 R11: fffffbfff1f4201f R12: 0000000000000000
R13: 0000000000000000 R14: dffffc0000000000 R15: 1ffff92001948e78
 irqentry_exit+0x6f/0x90 kernel/entry/common.c:307
 asm_sysvec_reschedule_ipi+0x1a/0x20 arch/x86/include/asm/idtentry.h:707
RIP: 0010:__cancel_work+0x25e/0x2e0 kernel/workqueue.c:4347
Code: 27 35 00 90 0f 0b 90 e9 1d ff ff ff e8 0b 27 35 00 e8 46 74 da 09 48 85 db 74 ce e8 fc 26 35 00 fb 48 c7 44 24 20 0e 36 e0 45 <48> 8b 44 24 10 4a c7 04 20 00 00 00 00 65 48 8b 05 2d 7b 11 11 48
RSP: 0018:ffffc9000ca47520 EFLAGS: 00000293

RAX: ffffffff818b34d4 RBX: 0000000000000200 RCX: ffff88802e213c00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc9000ca475d0 R08: ffffffff8fa100f7 R09: 1ffffffff1f4201e
R10: dffffc0000000000 R11: fffffbfff1f4201f R12: dffffc0000000000
R13: 1ffff1100c694c9e R14: 0000000000000000 R15: 001fffffffc00040
 __cancel_work_sync+0x1f/0x110 kernel/workqueue.c:4354
 devlink_port_type_warn_cancel net/devlink/port.c:1006 [inline]
 devl_port_unregister+0x128/0x290 net/devlink/port.c:1134
 __nsim_dev_port_del+0x17b/0x1b0 drivers/net/netdevsim/dev.c:1430
 nsim_dev_port_del_all drivers/net/netdevsim/dev.c:1440 [inline]
 nsim_dev_reload_destroy+0x288/0x490 drivers/net/netdevsim/dev.c:1661
 nsim_dev_reload_down+0x8a/0xc0 drivers/net/netdevsim/dev.c:968
 devlink_reload+0x1b3/0x8d0 net/devlink/dev.c:461
 devlink_pernet_pre_exit+0x1d9/0x3d0 net/devlink/core.c:509
 ops_pre_exit_list net/core/net_namespace.c:162 [inline]
 ops_undo_list+0x184/0x990 net/core/net_namespace.c:235
 cleanup_net+0x4c5/0x800 net/core/net_namespace.c:686
 process_one_work kernel/workqueue.c:3238 [inline]
 process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3321
 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3402
 kthread+0x70e/0x8a0 kernel/kthread.c:464
 ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
----------------
Code disassembly (best guess):
   0:	24 20                	and    $0x20,%al
   2:	f6 44 24 21 02       	testb  $0x2,0x21(%rsp)
   7:	74 0c                	je     0x15
   9:	90                   	nop
   a:	0f 0b                	ud2
   c:	48 f7 03 08 00 00 00 	testq  $0x8,(%rbx)
  13:	74 64                	je     0x79
  15:	bf 01 00 00 00       	mov    $0x1,%edi
  1a:	e8 4b 0b 2a f6       	call   0xf62a0b6a
  1f:	e8 a6 1d 61 f6       	call   0xf6611dca
  24:	fb                   	sti
  25:	bf 01 00 00 00       	mov    $0x1,%edi
* 2a:	e8 1b ab ff ff       	call   0xffffab4a <-- trapping instruction
  2f:	48 c7 44 24 40 00 00 	movq   $0x0,0x40(%rsp)
  36:	00 00
  38:	9c                   	pushf
  39:	8f 44 24 40          	pop    0x40(%rsp)
  3d:	8b                   	.byte 0x8b
  3e:	44                   	rex.R
  3f:	24                   	.byte 0x24