------------[ cut here ]------------
refcount_t: addition on 0; use-after-free.
WARNING: CPU: 1 PID: 26 at lib/refcount.c:25 refcount_warn_saturate+0xff/0x1a0 lib/refcount.c:25
Modules linked in:
CPU: 1 PID: 26 Comm: kworker/1:1 Not tainted 6.1.141-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: events pwq_unbound_release_workfn
RIP: 0010:refcount_warn_saturate+0xff/0x1a0 lib/refcount.c:25
Code: 09 01 48 c7 c7 a0 d2 be 8a e8 ad 30 45 fd 0f 0b eb e0 e8 f4 1d 79 fd c6 05 fa 72 e2 09 01 48 c7 c7 e0 d1 be 8a e8 91 30 45 fd <0f> 0b eb c4 e8 d8 1d 79 fd c6 05 df 72 e2 09 01 48 c7 c7 40 d2 be
RSP: 0018:ffffc900001e0828 EFLAGS: 00010246
RAX: c490a9887bd7da00 RBX: 0000000000000002 RCX: ffff8880176cbb80
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002
RBP: ffffc900001e0990 R08: dffffc0000000000 R09: fffff5200003c095
R10: fffff5200003c095 R11: 1ffff9200003c094 R12: ffff88807782b880
R13: dffffc0000000000 R14: 0000000000000002 R15: ffff8880562b1048
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd287bef28 CR3: 000000005e0fe000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__refcount_add include/linux/refcount.h:-1 [inline]
__refcount_inc include/linux/refcount.h:250 [inline]
refcount_inc include/linux/refcount.h:267 [inline]
get_net include/net/net_namespace.h:257 [inline]
tipc_aead_encrypt net/tipc/crypto.c:821 [inline]
tipc_crypto_xmit+0x17a9/0x2300 net/tipc/crypto.c:1761
tipc_bearer_xmit_skb+0x242/0x3f0 net/tipc/bearer.c:574
tipc_disc_timeout+0x568/0x6b0 net/tipc/discover.c:338
call_timer_fn+0x1a0/0x670 kernel/time/timer.c:1504
expire_timers kernel/time/timer.c:1549 [inline]
__run_timers+0x525/0x7c0 kernel/time/timer.c:1820
run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1833
handle_softirqs+0x2a1/0x920 kernel/softirq.c:596
__do_softirq kernel/softirq.c:630 [inline]
invoke_softirq kernel/softirq.c:470 [inline]
__irq_exit_rcu+0x12f/0x220 kernel/softirq.c:679
irq_exit_rcu+0x5/0x20 kernel/softirq.c:691
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:lockdep_unregister_key+0x4c3/0x530 kernel/locking/lockdep.c:6370
Code: 81 86 90 48 c7 c6 b0 91 63 81 e8 88 93 07 00 e8 d3 a6 07 00 e9 86 fc ff ff e8 e9 ff ab 08 41 f7 c4 00 02 00 00 74 d1 fb 84 db <75> d0 eb e1 0f 0b eb a1 0f 0b e9 11 ff ff ff 0f 0b e9 5e ff ff ff
RSP: 0018:ffffc90000a2fb20 EFLAGS: 00000246
RAX: c490a9887bd7da00 RBX: 0000000000000000 RCX: c490a9887bd7da00
RDX: 0000000000000001 RSI: ffffffff8a6c0cc0 RDI: ffffffff8abf1360
RBP: ffffc90000a2fbf0 R08: dffffc0000000000 R09: fffffbfff211113b
R10: fffffbfff211113b R11: 1ffffffff211113a R12: 0000000000000a03
R13: ffff88807d901129 R14: ffffffff908881a8 R15: 1ffff92000145f68
wq_unregister_lockdep kernel/workqueue.c:3500 [inline]
pwq_unbound_release_workfn+0x262/0x2b0 kernel/workqueue.c:3738
process_one_work+0x898/0x1160 kernel/workqueue.c:2292
worker_thread+0xaa2/0x1250 kernel/workqueue.c:2439
kthread+0x29d/0x330 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
----------------
Code disassembly (best guess):
0: 81 86 90 48 c7 c6 b0 addl $0x816391b0,-0x3938b770(%rsi)
7: 91 63 81
a: e8 88 93 07 00 call 0x79397
f: e8 d3 a6 07 00 call 0x7a6e7
14: e9 86 fc ff ff jmp 0xfffffc9f
19: e8 e9 ff ab 08 call 0x8ac0007
1e: 41 f7 c4 00 02 00 00 test $0x200,%r12d
25: 74 d1 je 0xfffffff8
27: fb sti
28: 84 db test %bl,%bl
* 2a: 75 d0 jne 0xfffffffc <-- trapping instruction
2c: eb e1 jmp 0xf
2e: 0f 0b ud2
30: eb a1 jmp 0xffffffd3
32: 0f 0b ud2
34: e9 11 ff ff ff jmp 0xffffff4a
39: 0f 0b ud2
3b: e9 5e ff ff ff jmp 0xffffff9e