------------[ cut here ]------------
refcount_t: addition on 0; use-after-free.
WARNING: CPU: 0 PID: 0 at lib/refcount.c:25 refcount_warn_saturate+0xff/0x1a0 lib/refcount.c:25
Modules linked in:
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.1.141-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
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:ffffc90000007828 EFLAGS: 00010246
RAX: c190a99dce909100 RBX: 0000000000000002 RCX: ffffffff8c6bc680
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002
RBP: ffffc90000007990 R08: dffffc0000000000 R09: fffff52000000e95
R10: fffff52000000e95 R11: 1ffff92000000e94 R12: ffff888078c2d4c0
R13: dffffc0000000000 R14: 0000000000000002 R15: ffff888056c7a848
FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffba5571d60 CR3: 0000000068541000 CR4: 00000000003526f0
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:default_idle+0xb/0x10 arch/x86/kernel/process.c:736
Code: 48 89 df e8 47 d4 b8 f7 e9 4c ff ff ff e8 bd 15 f6 ff 00 00 cc cc 00 00 cc cc 00 00 cc cc 00 66 90 0f 00 2d 17 24 4d 00 fb f4 0f 1f 40 00 41 57 41 56 53 49 be 00 00 00 00 00 fc ff df 65 48
RSP: 0018:ffffffff8c607d88 EFLAGS: 000002c6
RAX: c190a99dce909100 RBX: ffffffff8a197f77 RCX: c190a99dce909100
RDX: 0000000000000001 RSI: ffffffff8a6bffe0 RDI: ffffffff8abf1360
RBP: ffffffff8c607ec0 R08: dffffc0000000000 R09: ffffed10171c6af6
R10: ffffed10171c6af6 R11: 1ffff110171c6af5 R12: 0000000000000000
R13: dffffc0000000000 R14: ffffffff8c6bc680 R15: 1ffffffff1bfd0f6
default_idle_call+0x84/0xc0 kernel/sched/idle.c:109
cpuidle_idle_call kernel/sched/idle.c:191 [inline]
do_idle+0x1fc/0x570 kernel/sched/idle.c:303
cpu_startup_entry+0x3f/0x60 kernel/sched/idle.c:401
rest_init+0x2dc/0x300 init/main.c:733
arch_call_rest_init+0xa/0xa init/main.c:893
start_kernel+0x490/0x539 init/main.c:1140
secondary_startup_64_no_verify+0xcf/0xdb
----------------
Code disassembly (best guess):
0: 48 89 df mov %rbx,%rdi
3: e8 47 d4 b8 f7 call 0xf7b8d44f
8: e9 4c ff ff ff jmp 0xffffff59
d: e8 bd 15 f6 ff call 0xfff615cf
12: 00 00 add %al,(%rax)
14: cc int3
15: cc int3
16: 00 00 add %al,(%rax)
18: cc int3
19: cc int3
1a: 00 00 add %al,(%rax)
1c: cc int3
1d: cc int3
1e: 00 66 90 add %ah,-0x70(%rsi)
21: 0f 00 2d 17 24 4d 00 verw 0x4d2417(%rip) # 0x4d243f
28: fb sti
29: f4 hlt
* 2a: c3 ret <-- trapping instruction
2b: 0f 1f 40 00 nopl 0x0(%rax)
2f: 41 57 push %r15
31: 41 56 push %r14
33: 53 push %rbx
34: 49 be 00 00 00 00 00 movabs $0xdffffc0000000000,%r14
3b: fc ff df
3e: 65 gs
3f: 48 rex.W