------------[ cut here ]------------ refcount_t: addition on 0; use-after-free. WARNING: CPU: 1 PID: 4297 at lib/refcount.c:25 refcount_warn_saturate+0x134/0x1f8 lib/refcount.c:25 Modules linked in: CPU: 1 PID: 4297 Comm: kworker/u5:1 Not tainted 6.1.141-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: hci4 hci_rx_work 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 : ffff8000080178c0 x29: ffff8000080178c0 x28: ffff0000d9e62800 x27: ffff0000d3061a08 x26: ffff0000d7923c70 x25: dfff800000000000 x24: 1fffe0001a60c341 x23: ffff0000f0c7f000 x22: ffff0000d5a7b9d4 x21: ffff0000f4254880 x20: ffff0000d5a7b9d4 x19: ffff800017a32000 x18: 0000000000000000 x17: ffff8000181a1000 x16: ffff8000082d1c00 x15: 0000000000000000 x14: 0000000000000012 x13: 1ffff00002a0e0b1 x12: 0000000000ff0100 x11: ff0080000819149c x10: 0000000000000000 x9 : 77acb5b69ca15000 x8 : 77acb5b69ca15000 x7 : ffff800008306a88 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : ffff80000852da40 x2 : 0000000000000001 x1 : 0000000100000101 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_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 __do_softirq+0x14/0x20 kernel/softirq.c:630 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:893 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:85 invoke_softirq kernel/softirq.c:477 [inline] __irq_exit_rcu+0x23c/0x43c kernel/softirq.c:679 irq_exit_rcu+0x14/0x84 kernel/softirq.c:691 __el1_irq arch/arm64/kernel/entry-common.c:472 [inline] el1_interrupt+0x38/0x54 arch/arm64/kernel/entry-common.c:486 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:491 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:581 arch_local_irq_restore arch/arm64/include/asm/irqflags.h:122 [inline] console_emit_next_record+0x7d0/0x954 kernel/printk/printk.c:2783 console_flush_all kernel/printk/printk.c:-1 [inline] console_unlock+0x240/0x57c kernel/printk/printk.c:2906 vprintk_emit+0x14c/0x2dc kernel/printk/printk.c:2303 vprintk_default+0x54/0x80 kernel/printk/printk.c:2318 vprintk+0x1e8/0x284 kernel/printk/printk_safe.c:45 _printk+0xd0/0x118 kernel/printk/printk.c:2328 bt_warn+0xe4/0x12c net/bluetooth/lib.c:235 hci_cc_func net/bluetooth/hci_event.c:4213 [inline] hci_cmd_complete_evt+0x280/0x6a8 net/bluetooth/hci_event.c:4237 hci_event_func net/bluetooth/hci_event.c:7378 [inline] hci_event_packet+0x6ac/0xf08 net/bluetooth/hci_event.c:7433 hci_rx_work+0x324/0xaa0 net/bluetooth/hci_core.c:4090 process_one_work+0x7f4/0x13a8 kernel/workqueue.c:2292 worker_thread+0x8c8/0xfbc kernel/workqueue.c:2439 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:864 irq event stamp: 9889 hardirqs last enabled at (9888): [] console_trylock_spinning+0x1b0/0x2e0 kernel/printk/printk.c:1930 hardirqs last disabled at (9889): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (9000): [] softirq_handle_end kernel/softirq.c:439 [inline] softirqs last enabled at (9000): [] handle_softirqs+0xaf8/0xc6c kernel/softirq.c:624 softirqs last disabled at (9847): [] __do_softirq+0x14/0x20 kernel/softirq.c:630 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ refcount_t: underflow; use-after-free. WARNING: CPU: 1 PID: 4297 at lib/refcount.c:28 refcount_warn_saturate+0x154/0x1f8 lib/refcount.c:28 Modules linked in: CPU: 1 PID: 4297 Comm: kworker/u5:1 Tainted: G W 6.1.141-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: hci4 hci_rx_work 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 : ffff8000080178c0 x29: ffff8000080178c0 x28: ffff0000d9e62800 x27: 0000000000000000 x26: ffff0000d7923c70 x25: dfff800000000000 x24: 1fffe0001af24798 x23: 1fffe0001ab0b6f1 x22: ffff0000d3061a00 x21: 00000000c0000000 x20: ffff0000d5a7b9d4 x19: ffff800017a32000 x18: 0000000000000000 x17: ffff800011a69e14 x16: ffff8000082d1c00 x15: 0000000000000000 x14: 0000000000000012 x13: 1ffff00002a0e0b1 x12: 0000000000ff0100 x11: ff0080000819149c x10: 0000000000000000 x9 : 77acb5b69ca15000 x8 : 77acb5b69ca15000 x7 : ffff800008306a88 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : ffff80000852da40 x2 : 0000000000000001 x1 : 0000000100000101 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_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 __do_softirq+0x14/0x20 kernel/softirq.c:630 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:893 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:85 invoke_softirq kernel/softirq.c:477 [inline] __irq_exit_rcu+0x23c/0x43c kernel/softirq.c:679 irq_exit_rcu+0x14/0x84 kernel/softirq.c:691 __el1_irq arch/arm64/kernel/entry-common.c:472 [inline] el1_interrupt+0x38/0x54 arch/arm64/kernel/entry-common.c:486 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:491 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:581 arch_local_irq_restore arch/arm64/include/asm/irqflags.h:122 [inline] console_emit_next_record+0x7d0/0x954 kernel/printk/printk.c:2783 console_flush_all kernel/printk/printk.c:-1 [inline] console_unlock+0x240/0x57c kernel/printk/printk.c:2906 vprintk_emit+0x14c/0x2dc kernel/printk/printk.c:2303 vprintk_default+0x54/0x80 kernel/printk/printk.c:2318 vprintk+0x1e8/0x284 kernel/printk/printk_safe.c:45 _printk+0xd0/0x118 kernel/printk/printk.c:2328 bt_warn+0xe4/0x12c net/bluetooth/lib.c:235 hci_cc_func net/bluetooth/hci_event.c:4213 [inline] hci_cmd_complete_evt+0x280/0x6a8 net/bluetooth/hci_event.c:4237 hci_event_func net/bluetooth/hci_event.c:7378 [inline] hci_event_packet+0x6ac/0xf08 net/bluetooth/hci_event.c:7433 hci_rx_work+0x324/0xaa0 net/bluetooth/hci_core.c:4090 process_one_work+0x7f4/0x13a8 kernel/workqueue.c:2292 worker_thread+0x8c8/0xfbc kernel/workqueue.c:2439 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:864 irq event stamp: 9909 hardirqs last enabled at (9908): [] console_trylock_spinning+0x1b0/0x2e0 kernel/printk/printk.c:1930 hardirqs last disabled at (9909): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (9000): [] softirq_handle_end kernel/softirq.c:439 [inline] softirqs last enabled at (9000): [] handle_softirqs+0xaf8/0xc6c kernel/softirq.c:624 softirqs last disabled at (9847): [] __do_softirq+0x14/0x20 kernel/softirq.c:630 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ refcount_t: saturated; leaking memory. WARNING: CPU: 1 PID: 7489 at lib/refcount.c:22 refcount_warn_saturate+0x1b4/0x1f8 lib/refcount.c:22 Modules linked in: CPU: 1 PID: 7489 Comm: syz.3.765 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+0x1b4/0x1f8 lib/refcount.c:22 lr : refcount_warn_saturate+0x1b4/0x1f8 lib/refcount.c:22 sp : ffff8000080178c0 x29: ffff8000080178c0 x28: ffff0000f27d8400 x27: ffff0000d3061a08 x26: ffff0000d7923c70 x25: dfff800000000000 x24: 1fffe0001a60c341 x23: ffff0000f0c7f000 x22: ffff0000d5a7b9d4 x21: 000000007ffffffe x20: ffff0000d5a7b9d4 x19: ffff800017a32000 x18: ffff800011a7bce0 x17: 0000000000000000 x16: ffff8000082d1c00 x15: 0000000000000000 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000ff0100 x11: ff0080000819149c x10: 0000000000000000 x9 : f540a8214114ae00 x8 : f540a8214114ae00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800008017358 x4 : ffff800015154700 x3 : ffff80000852da40 x2 : 0000000000000001 x1 : 0000000100000101 x0 : 0000000000000000 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:257 [inline] tipc_aead_encrypt net/tipc/crypto.c:821 [inline] tipc_crypto_xmit+0x1518/0x2014 net/tipc/crypto.c:1761 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 __do_softirq+0x14/0x20 kernel/softirq.c:630 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:893 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:85 invoke_softirq kernel/softirq.c:477 [inline] __irq_exit_rcu+0x23c/0x43c kernel/softirq.c:679 irq_exit_rcu+0x14/0x84 kernel/softirq.c:691 __el1_irq arch/arm64/kernel/entry-common.c:472 [inline] el1_interrupt+0x38/0x54 arch/arm64/kernel/entry-common.c:486 el1h_64_irq_handler+0x18/0x24 arch/arm64/kernel/entry-common.c:491 el1h_64_irq+0x64/0x68 arch/arm64/kernel/entry.S:581 arch_local_irq_restore arch/arm64/include/asm/irqflags.h:122 [inline] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] _raw_spin_unlock_irqrestore+0x58/0xac kernel/locking/spinlock.c:194 __debug_check_no_obj_freed lib/debugobjects.c:988 [inline] debug_check_no_obj_freed+0x450/0x46c lib/debugobjects.c:1009 free_pages_prepare mm/page_alloc.c:1465 [inline] free_pcp_prepare mm/page_alloc.c:1509 [inline] free_unref_page_prepare+0x71c/0xb18 mm/page_alloc.c:3384 free_unref_page+0x7c/0x3a0 mm/page_alloc.c:3479 free_the_page mm/page_alloc.c:754 [inline] __free_pages+0x1a4/0x1d0 mm/page_alloc.c:5703 __vunmap+0x81c/0x9f0 mm/vmalloc.c:2718 __vfree mm/vmalloc.c:2767 [inline] vfree+0xbc/0x150 mm/vmalloc.c:2798 kcov_put kernel/kcov.c:437 [inline] kcov_close+0x3c/0x98 kernel/kcov.c:533 __fput+0x1bc/0x7c0 fs/file_table.c:320 ____fput+0x20/0x30 fs/file_table.c:348 task_work_run+0x1ec/0x270 kernel/task_work.c:203 exit_task_work include/linux/task_work.h:39 [inline] do_exit+0x544/0x19a8 kernel/exit.c:871 do_group_exit+0x194/0x22c kernel/exit.c:1021 get_signal+0x11d0/0x1310 kernel/signal.c:2871 do_signal arch/arm64/kernel/signal.c:1081 [inline] do_notify_resume+0x340/0x2b0c arch/arm64/kernel/signal.c:1134 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x98/0x138 arch/arm64/kernel/entry-common.c:638 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 95593 hardirqs last enabled at (95592): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261 hardirqs last disabled at (95593): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (92320): [] softirq_handle_end kernel/softirq.c:439 [inline] softirqs last enabled at (92320): [] handle_softirqs+0xaf8/0xc6c kernel/softirq.c:624 softirqs last disabled at (95543): [] __do_softirq+0x14/0x20 kernel/softirq.c:630 ---[ end trace 0000000000000000 ]---