------------[ cut here ]------------ refcount_t: addition on 0; use-after-free. WARNING: CPU: 0 PID: 9910 at lib/refcount.c:25 refcount_warn_saturate+0x134/0x1f8 lib/refcount.c:25 Modules linked in: CPU: 0 PID: 9910 Comm: syz.5.1699 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 : ffff8000080078c0 x29: ffff8000080078c0 x28: ffff0000f5126800 x27: ffff0000d5d7fe08 x26: ffff0000d7ba2af0 x25: dfff800000000000 x24: 1fffe0001abaffc1 x23: ffff0000f2ad6800 x22: ffff0000d3a339d4 x21: ffff0000dbc31880 x20: ffff0000d3a339d4 x19: ffff800017a32000 x18: ffff800011a7bce0 x17: 0000000000000000 x16: ffff8000082d1c00 x15: 0000000000000000 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000ff0100 x11: ff0080000819149c x10: 0000000000000000 x9 : 42dacffb61ad9e00 x8 : 42dacffb61ad9e00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800008007358 x4 : ffff800015154700 x3 : ffff80000852da40 x2 : 0000000000000001 x1 : 0000000000000101 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 caches_clean_inval_pou+0x7c/0x84 arch/arm64/mm/cache.S:56 __set_pte_at+0x70/0x3b0 arch/arm64/include/asm/pgtable.h:327 set_pte_at arch/arm64/include/asm/pgtable.h:358 [inline] do_set_pte+0x39c/0x49c mm/memory.c:4426 finish_fault+0x560/0x65c mm/memory.c:4499 do_read_fault mm/memory.c:4635 [inline] do_fault mm/memory.c:4760 [inline] handle_pte_fault mm/memory.c:5031 [inline] __handle_mm_fault mm/memory.c:5173 [inline] handle_mm_fault+0x1ae4/0x2fd4 mm/memory.c:5294 faultin_page mm/gup.c:1026 [inline] __get_user_pages+0x338/0x798 mm/gup.c:1250 populate_vma_page_range+0x1f4/0x298 mm/gup.c:1607 __mm_populate+0x208/0x330 mm/gup.c:1721 mm_populate include/linux/mm.h:2823 [inline] vm_mmap_pgoff+0x1cc/0x284 mm/util.c:525 ksys_mmap_pgoff+0xd0/0x5a0 mm/mmap.c:1470 __do_sys_mmap arch/arm64/kernel/sys.c:28 [inline] __se_sys_mmap arch/arm64/kernel/sys.c:21 [inline] __arm64_sys_mmap+0xf8/0x110 arch/arm64/kernel/sys.c:21 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x138 arch/arm64/kernel/entry-common.c:637 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: 6529 hardirqs last enabled at (6528): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261 hardirqs last disabled at (6529): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (6186): [] softirq_handle_end kernel/softirq.c:439 [inline] softirqs last enabled at (6186): [] handle_softirqs+0xaf8/0xc6c kernel/softirq.c:624 softirqs last disabled at (6499): [] __do_softirq+0x14/0x20 kernel/softirq.c:630 ---[ end trace 0000000000000000 ]--- vkms_vblank_simulate: vblank timer overrun ------------[ cut here ]------------ refcount_t: underflow; use-after-free. WARNING: CPU: 0 PID: 9910 at lib/refcount.c:28 refcount_warn_saturate+0x154/0x1f8 lib/refcount.c:28 Modules linked in: CPU: 0 PID: 9910 Comm: syz.5.1699 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 : ffff8000080078c0 x29: ffff8000080078c0 x28: ffff0000f5126800 x27: 0000000000000000 x26: ffff0000d7ba2af0 x25: dfff800000000000 x24: 1fffe0001af74568 x23: 1fffe0001acd6a69 x22: ffff0000d5d7fe00 x21: 00000000c0000000 x20: ffff0000d3a339d4 x19: ffff800017a32000 x18: ffff800011a7bce0 x17: 0000000000000000 x16: ffff8000082d1c00 x15: 0000000000000000 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000ff0100 x11: ff0080000819149c x10: 0000000000000000 x9 : 42dacffb61ad9e00 x8 : 42dacffb61ad9e00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800008007358 x4 : ffff800015154700 x3 : ffff8000083115f4 x2 : 0000000000000001 x1 : 0000000000000101 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 caches_clean_inval_pou+0x7c/0x84 arch/arm64/mm/cache.S:56 __set_pte_at+0x70/0x3b0 arch/arm64/include/asm/pgtable.h:327 set_pte_at arch/arm64/include/asm/pgtable.h:358 [inline] do_set_pte+0x39c/0x49c mm/memory.c:4426 finish_fault+0x560/0x65c mm/memory.c:4499 do_read_fault mm/memory.c:4635 [inline] do_fault mm/memory.c:4760 [inline] handle_pte_fault mm/memory.c:5031 [inline] __handle_mm_fault mm/memory.c:5173 [inline] handle_mm_fault+0x1ae4/0x2fd4 mm/memory.c:5294 faultin_page mm/gup.c:1026 [inline] __get_user_pages+0x338/0x798 mm/gup.c:1250 populate_vma_page_range+0x1f4/0x298 mm/gup.c:1607 __mm_populate+0x208/0x330 mm/gup.c:1721 mm_populate include/linux/mm.h:2823 [inline] vm_mmap_pgoff+0x1cc/0x284 mm/util.c:525 ksys_mmap_pgoff+0xd0/0x5a0 mm/mmap.c:1470 __do_sys_mmap arch/arm64/kernel/sys.c:28 [inline] __se_sys_mmap arch/arm64/kernel/sys.c:21 [inline] __arm64_sys_mmap+0xf8/0x110 arch/arm64/kernel/sys.c:21 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x138 arch/arm64/kernel/entry-common.c:637 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: 6561 hardirqs last enabled at (6560): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261 hardirqs last disabled at (6561): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (6186): [] softirq_handle_end kernel/softirq.c:439 [inline] softirqs last enabled at (6186): [] handle_softirqs+0xaf8/0xc6c kernel/softirq.c:624 softirqs last disabled at (6499): [] __do_softirq+0x14/0x20 kernel/softirq.c:630 ---[ end trace 0000000000000000 ]--- vkms_vblank_simulate: vblank timer overrun vkms_vblank_simulate: vblank timer overrun ------------[ cut here ]------------ refcount_t: saturated; leaking memory. WARNING: CPU: 0 PID: 9912 at lib/refcount.c:22 refcount_warn_saturate+0x1b4/0x1f8 lib/refcount.c:22 Modules linked in: CPU: 0 PID: 9912 Comm: syz.0.1697 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 : ffff8000080078c0 x29: ffff8000080078c0 x28: ffff0000f5249800 x27: ffff0000d5d7fe08 x26: ffff0000d7ba2af0 x25: dfff800000000000 x24: 1fffe0001abaffc1 x23: ffff0000f2ad6800 x22: ffff0000d3a339d4 x21: 000000007ffffffe x20: ffff0000d3a339d4 x19: ffff800017a32000 x18: ffff800011a7bce0 x17: 0000000000000000 x16: ffff8000082d1c00 x15: 0000000000000000 x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000ff0100 x11: ff0080000819149c x10: 0000000000000000 x9 : d3a60d81f6f9a400 x8 : d3a60d81f6f9a400 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800008007358 x4 : ffff800015154700 x3 : ffff80000852da40 x2 : 0000000000000001 x1 : 0000000000000101 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 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] __skb_try_recv_datagram+0x134/0x410 net/core/datagram.c:265 __unix_dgram_recvmsg+0x21c/0xae8 net/unix/af_unix.c:2447 unix_dgram_recvmsg+0xd0/0xe8 net/unix/af_unix.c:2544 sock_recvmsg_nosec net/socket.c:1022 [inline] ____sys_recvmsg+0x62c/0x71c net/socket.c:2736 ___sys_recvmsg net/socket.c:2780 [inline] do_recvmmsg+0x364/0x96c net/socket.c:2874 __sys_recvmmsg net/socket.c:2953 [inline] __do_sys_recvmmsg net/socket.c:2976 [inline] __se_sys_recvmmsg net/socket.c:2969 [inline] __arm64_sys_recvmmsg+0x17c/0x238 net/socket.c:2969 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x138 arch/arm64/kernel/entry-common.c:637 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: 70989 hardirqs last enabled at (70988): [] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261 hardirqs last disabled at (70989): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (69482): [] softirq_handle_end kernel/softirq.c:439 [inline] softirqs last enabled at (69482): [] handle_softirqs+0xaf8/0xc6c kernel/softirq.c:624 softirqs last disabled at (70951): [] __do_softirq+0x14/0x20 kernel/softirq.c:630 ---[ end trace 0000000000000000 ]---