------------[ cut here ]------------
refcount_t: addition on 0; use-after-free.
WARNING: CPU: 0 PID: 977 at lib/refcount.c:25 refcount_warn_saturate+0xfa/0x1d0 lib/refcount.c:25
Modules linked in:
CPU: 0 UID: 0 PID: 977 Comm: kworker/0:2 Not tainted 6.15.0-syzkaller-11802-g1af80d00e1e0 #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: events drain_vmap_area_work
RIP: 0010:refcount_warn_saturate+0xfa/0x1d0 lib/refcount.c:25
Code: 00 00 e8 a9 76 00 fd 5b 41 5e e9 d1 a3 a7 06 cc e8 9b 76 00 fd c6 05 9a 09 cb 0a 01 90 48 c7 c7 c0 27 e2 8b e8 37 24 c4 fc 90 <0f> 0b 90 90 eb d7 e8 7b 76 00 fd c6 05 7b 09 cb 0a 01 90 48 c7 c7
RSP: 0018:ffffc90000007828 EFLAGS: 00010246
RAX: d598c6137ec2fc00 RBX: 0000000000000002 RCX: ffff888025c55a00
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002
RBP: ffffc900000079b0 R08: ffffc90000007547 R09: 1ffff92000000ea8
R10: dffffc0000000000 R11: fffff52000000ea9 R12: ffff8880286bc100
R13: dffffc0000000000 R14: ffff8880286bc26c R15: ffff8880468bf000
FS: 0000000000000000(0000) GS:ffff888125c5c000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f79dab9ed58 CR3: 000000007e560000 CR4: 00000000003526f0
DR0: 00000000000000f8 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
__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+0x17e/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+0x283/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
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:csd_lock_wait kernel/smp.c:340 [inline]
RIP: 0010:smp_call_function_many_cond+0xf69/0x12d0 kernel/smp.c:885
Code: 00 45 8b 2f 44 89 ee 83 e6 01 31 ff e8 60 78 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 07 e8 0b 74 0b 00 eb 37 f3 90 <43> 0f b6 04 2c 84 c0 75 10 41 f7 07 01 00 00 00 74 1e e8 f0 73 0b
RSP: 0018:ffffc900038ff820 EFLAGS: 00000293
RAX: ffffffff81b4e880 RBX: ffff8880b863cb40 RCX: ffff888025c55a00
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc900038ff978 R08: ffffffff8fa0f5f7 R09: 1ffffffff1f41ebe
R10: dffffc0000000000 R11: fffffbfff1f41ebf R12: 1ffff110170e828d
R13: dffffc0000000000 R14: 0000000000000001 R15: ffff8880b8741468
on_each_cpu_cond_mask+0x3f/0x80 kernel/smp.c:1052
flush_tlb_kernel_range+0x45f/0x470 arch/x86/mm/tlb.c:-1
__purge_vmap_area_lazy+0x4e3/0xb40 mm/vmalloc.c:2328
drain_vmap_area_work+0x27/0x40 mm/vmalloc.c:2382
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0xade/0x17b0 kernel/workqueue.c:3321
worker_thread+0x8a0/0xda0 kernel/workqueue.c:3402
kthread+0x711/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
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 45 8b 2f mov (%r15),%r13d
3: 44 89 ee mov %r13d,%esi
6: 83 e6 01 and $0x1,%esi
9: 31 ff xor %edi,%edi
b: e8 60 78 0b 00 call 0xb7870
10: 41 83 e5 01 and $0x1,%r13d
14: 49 bd 00 00 00 00 00 movabs $0xdffffc0000000000,%r13
1b: fc ff df
1e: 75 07 jne 0x27
20: e8 0b 74 0b 00 call 0xb7430
25: eb 37 jmp 0x5e
27: f3 90 pause
* 29: 43 0f b6 04 2c movzbl (%r12,%r13,1),%eax <-- trapping instruction
2e: 84 c0 test %al,%al
30: 75 10 jne 0x42
32: 41 f7 07 01 00 00 00 testl $0x1,(%r15)
39: 74 1e je 0x59
3b: e8 .byte 0xe8
3c: f0 73 0b lock jae 0x4a