------------[ cut here ]------------ refcount_t: addition on 0; use-after-free. WARNING: CPU: 0 PID: 14 at lib/refcount.c:25 refcount_warn_saturate+0x134/0x1f8 lib/refcount.c:25 Modules linked in: CPU: 0 PID: 14 Comm: ksoftirqd/0 Not tainted 5.15.185-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 : ffff80001b3174c0 x29: ffff80001b3174c0 x28: ffff0000d90d1c00 x27: ffff0000cf82ca00 x26: 1fffe0001812b369 x25: dfff800000000000 x24: 1fffe00019f05941 x23: ffff0000e9616c00 x22: ffff0000c1710154 x21: ffff0000ca88c080 x20: ffff0000c1710154 x19: ffff80001659e000 x18: 0000000000000101 x17: 0000000000000000 x16: ffff8000111a97c4 x15: 00000000ffffffff x14: 0000000000ff0100 x13: 0000000000000001 x12: 0000000000ff0100 x11: 0000000000000100 x10: 0000000000000000 x9 : 16e044725046e800 x8 : 16e044725046e800 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001b316db8 x4 : ffff80001423f280 x3 : ffff800008503958 x2 : 0000000000000001 x1 : 0000000000000100 x0 : 000000000000002a 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:252 [inline] tipc_aead_encrypt net/tipc/crypto.c:832 [inline] tipc_crypto_xmit+0x1634/0x2220 net/tipc/crypto.c:1772 tipc_crypto_clone_msg+0x98/0x150 net/tipc/crypto.c:1667 tipc_crypto_xmit+0x17a0/0x2220 net/tipc/crypto.c:1728 tipc_bearer_xmit_skb+0x1f0/0x384 net/tipc/bearer.c:574 tipc_disc_timeout+0x4c8/0x608 net/tipc/discover.c:338 call_timer_fn+0x19c/0x858 kernel/time/timer.c:1451 expire_timers kernel/time/timer.c:1496 [inline] __run_timers+0x46c/0x6c4 kernel/time/timer.c:1767 run_timer_softirq+0x7c/0x114 kernel/time/timer.c:1780 handle_softirqs+0x344/0xbf0 kernel/softirq.c:576 run_ksoftirqd+0x7c/0x2a0 kernel/softirq.c:943 smpboot_thread_fn+0x4b0/0x920 kernel/smpboot.c:164 kthread+0x374/0x454 kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 irq event stamp: 640541 hardirqs last enabled at (640540): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257 hardirqs last disabled at (640541): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (640472): [] softirq_handle_end kernel/softirq.c:419 [inline] softirqs last enabled at (640472): [] handle_softirqs+0xa4c/0xbf0 kernel/softirq.c:604 softirqs last disabled at (640479): [] run_ksoftirqd+0x7c/0x2a0 kernel/softirq.c:943 ---[ end trace e4d50b63652b1437 ]--- ------------[ cut here ]------------ refcount_t: underflow; use-after-free. WARNING: CPU: 0 PID: 14 at lib/refcount.c:28 refcount_warn_saturate+0x154/0x1f8 lib/refcount.c:28 Modules linked in: CPU: 0 PID: 14 Comm: ksoftirqd/0 Tainted: G W 5.15.185-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 : ffff80001b3174c0 x29: ffff80001b3174c0 x28: ffff0000d90d1c00 x27: 0000000000000000 x26: 1fffe0001812b369 x25: dfff800000000000 x24: 1fffe00019f05941 x23: ffff0000d4136a50 x22: ffff0000c1710000 x21: ffff0000ca88c080 x20: ffff0000c1710154 x19: ffff80001659e000 x18: 0000000000000101 x17: 0000000000000000 x16: ffff8000111a97c4 x15: 00000000ffffffff x14: 0000000000ff0100 x13: 0000000000000001 x12: 0000000000ff0100 x11: 0000000000000100 x10: 0000000000000000 x9 : 16e044725046e800 x8 : 16e044725046e800 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001b316db8 x4 : ffff80001423f280 x3 : ffff80000a732684 x2 : ffff0001a10e9d10 x1 : 0000000000000100 x0 : 0000000000000026 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:270 [inline] tipc_aead_encrypt net/tipc/crypto.c:840 [inline] tipc_crypto_xmit+0x177c/0x2220 net/tipc/crypto.c:1772 tipc_crypto_clone_msg+0x98/0x150 net/tipc/crypto.c:1667 tipc_crypto_xmit+0x17a0/0x2220 net/tipc/crypto.c:1728 tipc_bearer_xmit_skb+0x1f0/0x384 net/tipc/bearer.c:574 tipc_disc_timeout+0x4c8/0x608 net/tipc/discover.c:338 call_timer_fn+0x19c/0x858 kernel/time/timer.c:1451 expire_timers kernel/time/timer.c:1496 [inline] __run_timers+0x46c/0x6c4 kernel/time/timer.c:1767 run_timer_softirq+0x7c/0x114 kernel/time/timer.c:1780 handle_softirqs+0x344/0xbf0 kernel/softirq.c:576 run_ksoftirqd+0x7c/0x2a0 kernel/softirq.c:943 smpboot_thread_fn+0x4b0/0x920 kernel/smpboot.c:164 kthread+0x374/0x454 kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 irq event stamp: 640567 hardirqs last enabled at (640566): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257 hardirqs last disabled at (640567): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (640472): [] softirq_handle_end kernel/softirq.c:419 [inline] softirqs last enabled at (640472): [] handle_softirqs+0xa4c/0xbf0 kernel/softirq.c:604 softirqs last disabled at (640479): [] run_ksoftirqd+0x7c/0x2a0 kernel/softirq.c:943 ---[ end trace e4d50b63652b1438 ]--- ------------[ cut here ]------------ refcount_t: saturated; leaking memory. WARNING: CPU: 0 PID: 14 at lib/refcount.c:22 refcount_warn_saturate+0x1b4/0x1f8 lib/refcount.c:22 Modules linked in: CPU: 0 PID: 14 Comm: ksoftirqd/0 Tainted: G W 5.15.185-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+0x1b4/0x1f8 lib/refcount.c:22 lr : refcount_warn_saturate+0x1b4/0x1f8 lib/refcount.c:22 sp : ffff80001b317680 x29: ffff80001b317680 x28: ffff0000d90d3800 x27: ffff0000cf82de00 x26: 1fffe0001812b369 x25: dfff800000000000 x24: 1fffe00019f05bc1 x23: ffff0000e9616c00 x22: ffff0000c1710154 x21: 000000007ffffffe x20: ffff0000c1710154 x19: ffff80001659e000 x18: 0000000000000101 x17: 0000000000000000 x16: ffff8000111a97c4 x15: 00000000ffffffff x14: 0000000000ff0100 x13: 0000000000000001 x12: 0000000000ff0100 x11: 0000000000000100 x10: 0000000000000000 x9 : 16e044725046e800 x8 : 16e044725046e800 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001b316f78 x4 : ffff80001423f280 x3 : ffff80000a732684 x2 : ffff0001a10e9d10 x1 : 0000000000000100 x0 : 0000000000000026 Call trace: refcount_warn_saturate+0x1b4/0x1f8 lib/refcount.c:22 __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:252 [inline] tipc_aead_encrypt net/tipc/crypto.c:832 [inline] tipc_crypto_xmit+0x1634/0x2220 net/tipc/crypto.c:1772 tipc_bearer_xmit_skb+0x1f0/0x384 net/tipc/bearer.c:574 tipc_disc_timeout+0x4c8/0x608 net/tipc/discover.c:338 call_timer_fn+0x19c/0x858 kernel/time/timer.c:1451 expire_timers kernel/time/timer.c:1496 [inline] __run_timers+0x46c/0x6c4 kernel/time/timer.c:1767 run_timer_softirq+0x7c/0x114 kernel/time/timer.c:1780 handle_softirqs+0x344/0xbf0 kernel/softirq.c:576 run_ksoftirqd+0x7c/0x2a0 kernel/softirq.c:943 smpboot_thread_fn+0x4b0/0x920 kernel/smpboot.c:164 kthread+0x374/0x454 kernel/kthread.c:334 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870 irq event stamp: 640597 hardirqs last enabled at (640596): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:257 hardirqs last disabled at (640597): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (640472): [] softirq_handle_end kernel/softirq.c:419 [inline] softirqs last enabled at (640472): [] handle_softirqs+0xa4c/0xbf0 kernel/softirq.c:604 softirqs last disabled at (640479): [] run_ksoftirqd+0x7c/0x2a0 kernel/softirq.c:943 ---[ end trace e4d50b63652b1439 ]---