------------[ cut here ]------------ refcount_t: addition on 0; use-after-free. WARNING: CPU: 0 PID: 15 at lib/refcount.c:25 refcount_warn_saturate+0x134/0x1f8 lib/refcount.c:25 Modules linked in: CPU: 0 PID: 15 Comm: ksoftirqd/0 Not tainted 6.1.141-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : refcount_warn_saturate+0x134/0x1f8 lib/refcount.c:25 lr : refcount_warn_saturate+0x134/0x1f8 lib/refcount.c:25 sp : ffff80001c8774c0 x29: ffff80001c8774c0 x28: ffff0000f4d4b400 x27: ffff0000c9007608 x26: ffff00010c502640 x25: dfff800000000000 x24: 1fffe00019200ec1 x23: ffff0000c9ceac00 x22: ffff0000dbbe9d94 x21: ffff00010c5bf080 x20: ffff0000dbbe9d94 x19: ffff800017a32000 x18: ffff800011a7bce0 x17: 0000000000000000 x16: ffff8000082d1c00 x15: 0000000000000000 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000ff0100 x11: ff0080000819149c x10: 0000000000000000 x9 : 27896dddb8033d00 x8 : 27896dddb8033d00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001c876f58 x4 : ffff800015154700 x3 : ffff80000852da40 x2 : 0000000000000001 x1 : 0000000000000100 x0 : 0000000000000000 Call trace: refcount_warn_saturate+0x134/0x1f8 lib/refcount.c:25 __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+0x1518/0x2014 net/tipc/crypto.c:1761 tipc_crypto_clone_msg+0x98/0x150 net/tipc/crypto.c:1656 tipc_crypto_xmit+0x1684/0x2014 net/tipc/crypto.c:1717 tipc_bearer_xmit_skb+0x1f0/0x384 net/tipc/bearer.c:574 tipc_disc_timeout+0x4c8/0x608 net/tipc/discover.c:338 call_timer_fn+0x1b8/0x964 kernel/time/timer.c:1504 expire_timers kernel/time/timer.c:1549 [inline] __run_timers+0x460/0x6bc kernel/time/timer.c:1820 run_timer_softirq+0x7c/0x114 kernel/time/timer.c:1833 handle_softirqs+0x318/0xc6c kernel/softirq.c:596 run_ksoftirqd+0x7c/0x2a0 kernel/softirq.c:963 smpboot_thread_fn+0x4b0/0x964 kernel/smpboot.c:164 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:864 irq event stamp: 40976993 hardirqs last enabled at (40976992): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261 hardirqs last disabled at (40976993): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (40976694): [] softirq_handle_end kernel/softirq.c:439 [inline] softirqs last enabled at (40976694): [] handle_softirqs+0xaf8/0xc6c kernel/softirq.c:624 softirqs last disabled at (40976699): [] run_ksoftirqd+0x7c/0x2a0 kernel/softirq.c:963 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ refcount_t: underflow; use-after-free. WARNING: CPU: 0 PID: 15 at lib/refcount.c:28 refcount_warn_saturate+0x154/0x1f8 lib/refcount.c:28 Modules linked in: CPU: 0 PID: 15 Comm: ksoftirqd/0 Tainted: G W 6.1.141-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : refcount_warn_saturate+0x154/0x1f8 lib/refcount.c:28 lr : refcount_warn_saturate+0x154/0x1f8 lib/refcount.c:28 sp : ffff80001c8774c0 x29: ffff80001c8774c0 x28: ffff0000f4d4b400 x27: 0000000000000000 x26: ffff00010c502640 x25: dfff800000000000 x24: 1fffe000218a04d2 x23: 1fffe000181366f1 x22: ffff0000c9007600 x21: 00000000c0000000 x20: ffff0000dbbe9d94 x19: ffff800017a32000 x18: ffff800011a7bce0 x17: 0000000000000000 x16: ffff8000082d1c00 x15: 0000000000000000 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000ff0100 x11: ff0080000819149c x10: 0000000000000000 x9 : 27896dddb8033d00 x8 : 27896dddb8033d00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001c876f58 x4 : ffff800015154700 x3 : ffff8000083115f4 x2 : 0000000000000001 x1 : 0000000000000100 x0 : 0000000000000000 Call trace: refcount_warn_saturate+0x154/0x1f8 lib/refcount.c:28 __refcount_sub_and_test include/linux/refcount.h:283 [inline] __refcount_dec_and_test include/linux/refcount.h:315 [inline] refcount_dec_and_test include/linux/refcount.h:333 [inline] put_net include/net/net_namespace.h:276 [inline] tipc_aead_encrypt net/tipc/crypto.c:829 [inline] tipc_crypto_xmit+0x1664/0x2014 net/tipc/crypto.c:1761 tipc_crypto_clone_msg+0x98/0x150 net/tipc/crypto.c:1656 tipc_crypto_xmit+0x1684/0x2014 net/tipc/crypto.c:1717 tipc_bearer_xmit_skb+0x1f0/0x384 net/tipc/bearer.c:574 tipc_disc_timeout+0x4c8/0x608 net/tipc/discover.c:338 call_timer_fn+0x1b8/0x964 kernel/time/timer.c:1504 expire_timers kernel/time/timer.c:1549 [inline] __run_timers+0x460/0x6bc kernel/time/timer.c:1820 run_timer_softirq+0x7c/0x114 kernel/time/timer.c:1833 handle_softirqs+0x318/0xc6c kernel/softirq.c:596 run_ksoftirqd+0x7c/0x2a0 kernel/softirq.c:963 smpboot_thread_fn+0x4b0/0x964 kernel/smpboot.c:164 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:864 irq event stamp: 40977027 hardirqs last enabled at (40977026): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261 hardirqs last disabled at (40977027): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (40976694): [] softirq_handle_end kernel/softirq.c:439 [inline] softirqs last enabled at (40976694): [] handle_softirqs+0xaf8/0xc6c kernel/softirq.c:624 softirqs last disabled at (40976699): [] run_ksoftirqd+0x7c/0x2a0 kernel/softirq.c:963 ---[ end trace 0000000000000000 ]---