------------[ cut here ]------------ refcount_t: addition on 0; use-after-free. WARNING: CPU: 0 PID: 4251 at lib/refcount.c:25 refcount_warn_saturate+0xff/0x1a0 lib/refcount.c:25 Modules linked in: CPU: 0 PID: 4251 Comm: syz-executor 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: 019837ff88757900 RBX: 0000000000000002 RCX: ffff88807b5bd940 RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002 RBP: ffffc90000007990 R08: dffffc0000000000 R09: fffff52000000e95 R10: fffff52000000e95 R11: 1ffff92000000e94 R12: ffff888078039c40 R13: dffffc0000000000 R14: 0000000000000002 R15: ffff888023ddf848 FS: 000055557bd0b500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055557bd0b808 CR3: 000000005b68b000 CR4: 00000000003506f0 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:common_nsleep+0x0/0xa0 kernel/time/posix-timers.c:1270 Code: fd ff 31 c0 5b 41 5e c3 89 d9 80 e1 07 80 c1 03 38 c1 7c e5 49 89 fe 48 89 df e8 4b 46 5f 00 4c 89 f7 eb d5 66 0f 1f 44 00 00 <55> 41 57 41 56 41 54 53 49 89 d6 89 f5 89 fb 49 bc 00 00 00 00 00 RSP: 0018:ffffc90003e27e58 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffff88807b5bded8 RCX: dffffc0000000000 RDX: ffffc90003e27ea0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90003e27f10 R08: 0000000000989680 R09: fffff520007c4fbe R10: fffff520007c4fbe R11: 1ffff920007c4fbc R12: ffffffff8a6e2710 R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000 __do_sys_clock_nanosleep kernel/time/posix-timers.c:1314 [inline] __se_sys_clock_nanosleep+0x2e6/0x370 kernel/time/posix-timers.c:1291 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f67c43c11e5 Code: 24 0c 89 3c 24 48 89 4c 24 18 e8 f6 54 ff ff 4c 8b 54 24 18 48 8b 54 24 10 41 89 c0 8b 74 24 0c 8b 3c 24 b8 e6 00 00 00 0f 05 <44> 89 c7 48 89 04 24 e8 4f 55 ff ff 48 8b 04 24 48 83 c4 28 f7 d8 RSP: 002b:00007fffbd74f770 EFLAGS: 00000293 ORIG_RAX: 00000000000000e6 RAX: ffffffffffffffda RBX: 0000000000000382 RCX: 00007f67c43c11e5 RDX: 00007fffbd74f7b0 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007fffbd74f81c R08: 0000000000000000 R09: 000a05a9ae0293a4 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000141 R13: 00000000000927c0 R14: 000000000006ea3b R15: 00007fffbd74f870 ---------------- Code disassembly (best guess): 0: fd std 1: ff 31 push (%rcx) 3: c0 5b 41 5e rcrb $0x5e,0x41(%rbx) 7: c3 ret 8: 89 d9 mov %ebx,%ecx a: 80 e1 07 and $0x7,%cl d: 80 c1 03 add $0x3,%cl 10: 38 c1 cmp %al,%cl 12: 7c e5 jl 0xfffffff9 14: 49 89 fe mov %rdi,%r14 17: 48 89 df mov %rbx,%rdi 1a: e8 4b 46 5f 00 call 0x5f466a 1f: 4c 89 f7 mov %r14,%rdi 22: eb d5 jmp 0xfffffff9 24: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) * 2a: 55 push %rbp <-- trapping instruction 2b: 41 57 push %r15 2d: 41 56 push %r14 2f: 41 54 push %r12 31: 53 push %rbx 32: 49 89 d6 mov %rdx,%r14 35: 89 f5 mov %esi,%ebp 37: 89 fb mov %edi,%ebx 39: 49 rex.WB 3a: bc 00 00 00 00 mov $0x0,%esp