------------[ cut here ]------------
refcount_t: addition on 0; use-after-free.
WARNING: CPU: 1 PID: 14714 at lib/refcount.c:25 refcount_warn_saturate+0xff/0x1a0 lib/refcount.c:25
Modules linked in:
CPU: 1 PID: 14714 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:ffffc900001e0828 EFLAGS: 00010246
RAX: 6ace7b3fd5779500 RBX: 0000000000000002 RCX: ffff88802ef21dc0
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002
RBP: ffffc900001e0990 R08: dffffc0000000000 R09: ffffed10171e4f34
R10: ffffed10171e4f34 R11: 1ffff110171e4f33 R12: ffff88805a4c1c40
R13: dffffc0000000000 R14: 0000000000000002 R15: ffff888056c4c048
FS: 000055555a148500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00002000000bd038 CR3: 0000000068cdc000 CR4: 00000000003526e0
DR0: 0000000000000000 DR1: 0000000000000400 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 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:console_emit_next_record+0xab0/0xc90 kernel/printk/printk.c:2786
Code: 86 6c 1a 00 4d 85 ff 75 16 e8 7c 6c 1a 00 eb 15 e8 75 6c 1a 00 e8 20 27 a9 08 4d 85 ff 74 ea e8 66 6c 1a 00 fb 48 8b 5c 24 48 <48> c7 84 24 80 00 00 00 0e 36 e0 45 4a c7 04 2b 00 00 00 00 4a c7
RSP: 0018:ffffc900033fe740 EFLAGS: 00000293
RAX: ffffffff81666a0a RBX: 1ffff9200067fcf8 RCX: ffff88802ef21dc0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900033fe980 R08: dffffc0000000000 R09: fffffbfff2117049
R10: fffffbfff2117049 R11: 1ffffffff2117048 R12: ffffffff8166678d
R13: dffffc0000000000 R14: 0000000000000001 R15: 0000000000000200
console_flush_all kernel/printk/printk.c:-1 [inline]
console_unlock+0x223/0x630 kernel/printk/printk.c:2906
vprintk_emit+0x489/0x680 kernel/printk/printk.c:2303
_printk+0xcc/0x110 kernel/printk/printk.c:2328
netdev_info+0x107/0x14e net/core/dev.c:11409
bond_enslave+0x2cd9/0x3930 drivers/net/bonding/bond_main.c:2286
do_set_master net/core/rtnetlink.c:2630 [inline]
do_setlink+0xdc0/0x3c40 net/core/rtnetlink.c:2840
__rtnl_newlink net/core/rtnetlink.c:3608 [inline]
rtnl_newlink+0x17d6/0x1ff0 net/core/rtnetlink.c:3655
rtnetlink_rcv_msg+0x79b/0xed0 net/core/rtnetlink.c:6153
netlink_rcv_skb+0x1de/0x420 net/netlink/af_netlink.c:2493
netlink_unicast_kernel net/netlink/af_netlink.c:1311 [inline]
netlink_unicast+0x74c/0x8c0 net/netlink/af_netlink.c:1337
netlink_sendmsg+0x89e/0xbc0 net/netlink/af_netlink.c:1859
sock_sendmsg_nosec net/socket.c:718 [inline]
__sock_sendmsg net/socket.c:730 [inline]
__sys_sendto+0x44f/0x5c0 net/socket.c:2153
__do_sys_sendto net/socket.c:2165 [inline]
__se_sys_sendto net/socket.c:2161 [inline]
__x64_sys_sendto+0xda/0xf0 net/socket.c:2161
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:0x7f72c1b907bc
Code: 2a 5f 02 00 44 8b 4c 24 2c 4c 8b 44 24 20 89 c5 44 8b 54 24 28 48 8b 54 24 18 b8 2c 00 00 00 48 8b 74 24 10 8b 7c 24 08 0f 05 <48> 3d 00 f0 ff ff 77 34 89 ef 48 89 44 24 08 e8 70 5f 02 00 48 8b
RSP: 002b:00007ffe10b85250 EFLAGS: 00000293 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f72c28e4620 RCX: 00007f72c1b907bc
RDX: 0000000000000028 RSI: 00007f72c28e4670 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffe10b852a4 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003
R13: 0000000000000000 R14: 00007f72c28e4670 R15: 0000000000000000
----------------
Code disassembly (best guess):
0: 86 6c 1a 00 xchg %ch,0x0(%rdx,%rbx,1)
4: 4d 85 ff test %r15,%r15
7: 75 16 jne 0x1f
9: e8 7c 6c 1a 00 call 0x1a6c8a
e: eb 15 jmp 0x25
10: e8 75 6c 1a 00 call 0x1a6c8a
15: e8 20 27 a9 08 call 0x8a9273a
1a: 4d 85 ff test %r15,%r15
1d: 74 ea je 0x9
1f: e8 66 6c 1a 00 call 0x1a6c8a
24: fb sti
25: 48 8b 5c 24 48 mov 0x48(%rsp),%rbx
* 2a: 48 c7 84 24 80 00 00 movq $0x45e0360e,0x80(%rsp) <-- trapping instruction
31: 00 0e 36 e0 45
36: 4a c7 04 2b 00 00 00 movq $0x0,(%rbx,%r13,1)
3d: 00
3e: 4a rex.WX
3f: c7 .byte 0xc7