------------[ cut here ]------------ refcount_t: underflow; use-after-free. WARNING: CPU: 1 PID: 6521 at lib/refcount.c:28 refcount_warn_saturate+0x1c8/0x20c lib/refcount.c:28 Modules linked in: CPU: 1 UID: 0 PID: 6521 Comm: syz.1.11 Not tainted 6.12.0-rc1-syzkaller-g80cb3fb61135 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : refcount_warn_saturate+0x1c8/0x20c lib/refcount.c:28 lr : refcount_warn_saturate+0x1c8/0x20c lib/refcount.c:28 sp : ffff8000800176f0 x29: ffff8000800176f0 x28: dfff800000000000 x27: ffff0000d4b0d5e4 x26: ffff0000d4b0d500 x25: 00000000000006f9 x24: 0000000000000000 x23: ffff0000d4b0d5e4 x22: ffff80008a586bd8 x21: 0000000000000003 x20: ffff0000d4b0d5e4 x19: ffff800092a80000 x18: ffff800080016f18 x17: 0000000000000000 x16: ffff800080357d24 x15: 0000000000000001 x14: 1ffff00011f15868 x13: 0000000000000000 x12: 0000000000000003 x11: 0000000000000103 x10: 0000000000ff0100 x9 : b085774ab3cefb00 x8 : b085774ab3cefb00 x7 : ffff8000803971dc x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000 x2 : ffff0000d37f8000 x1 : 0000000100000101 x0 : 0000000000000000 Call trace: refcount_warn_saturate+0x1c8/0x20c lib/refcount.c:28 __refcount_sub_and_test include/linux/refcount.h:275 [inline] __refcount_dec_and_test include/linux/refcount.h:307 [inline] refcount_dec_and_test include/linux/refcount.h:325 [inline] skb_unref include/linux/skbuff.h:1232 [inline] __sk_skb_reason_drop net/core/skbuff.c:1213 [inline] sk_skb_reason_drop+0x210/0x43c net/core/skbuff.c:1241 kfree_skb_reason include/linux/skbuff.h:1262 [inline] kfree_skb include/linux/skbuff.h:1271 [inline] j1939_session_skb_drop_old net/can/j1939/transport.c:347 [inline] j1939_xtp_rx_cts_one net/can/j1939/transport.c:1445 [inline] j1939_xtp_rx_cts+0x464/0xafc net/can/j1939/transport.c:1484 j1939_tp_cmd_recv net/can/j1939/transport.c:2089 [inline] j1939_tp_recv+0x730/0xe14 net/can/j1939/transport.c:2161 j1939_can_recv+0x5bc/0x934 net/can/j1939/main.c:108 deliver net/can/af_can.c:572 [inline] can_rcv_filter+0x308/0x714 net/can/af_can.c:606 can_receive+0x328/0x488 net/can/af_can.c:663 can_rcv+0x128/0x240 net/can/af_can.c:687 __netif_receive_skb_one_core net/core/dev.c:5662 [inline] __netif_receive_skb+0x18c/0x3c8 net/core/dev.c:5775 process_backlog+0x640/0x123c net/core/dev.c:6107 __napi_poll+0xb4/0x3fc net/core/dev.c:6771 napi_poll net/core/dev.c:6840 [inline] net_rx_action+0x6a8/0xf4c net/core/dev.c:6962 handle_softirqs+0x2e0/0xbf8 kernel/softirq.c:554 __do_softirq+0x14/0x20 kernel/softirq.c:588 ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:81 call_on_irq_stack+0x24/0x4c arch/arm64/kernel/entry.S:889 do_softirq_own_stack+0x20/0x2c arch/arm64/kernel/irq.c:86 do_softirq+0x90/0xf8 kernel/softirq.c:455 __local_bh_enable_ip+0x288/0x44c kernel/softirq.c:382 local_bh_enable+0x28/0x34 include/linux/bottom_half.h:33 put_cpu_fpsimd_context arch/arm64/kernel/fpsimd.c:244 [inline] fpsimd_restore_current_state+0x64/0xec arch/arm64/kernel/fpsimd.c:1810 do_notify_resume+0x114/0x1f4 arch/arm64/kernel/entry-common.c:154 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline] asm_exit_to_user_mode+0x78/0x8c arch/arm64/kernel/entry-common.c:185 ret_from_fork+0x1c/0x20 arch/arm64/kernel/entry.S:863 irq event stamp: 6309 hardirqs last enabled at (6308): [] console_emit_next_record kernel/printk/printk.c:3100 [inline] hardirqs last enabled at (6308): [] console_flush_all+0x678/0xb90 kernel/printk/printk.c:3180 hardirqs last disabled at (6309): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:479 softirqs last enabled at (8): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (9): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]--- vxcan0: j1939_tp_rxtimer: 0x000000002a5dd293: rx timeout, send abort vxcan0: j1939_xtp_rx_abort_one: 0x000000002a5dd293: 0x00000: (3) A timeout occurred and this is the connection abort to close the session.