------------[ cut here ]------------ refcount_t: underflow; use-after-free. WARNING: CPU: 0 PID: 7010 at lib/refcount.c:28 refcount_warn_saturate+0x138/0x19c lib/refcount.c:28 Modules linked in: CPU: 0 UID: 0 PID: 7010 Comm: syz.0.1118 Not tainted 6.12.0-rc1-syzkaller-00125-g0c559323bbaa #0 Hardware name: linux,dummy-virt (DT) pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : refcount_warn_saturate+0x138/0x19c lib/refcount.c:28 lr : refcount_warn_saturate+0x138/0x19c lib/refcount.c:28 sp : ffff80008f4e76c0 x29: ffff80008f4e76c0 x28: ffff00001697b85c x27: 0000000000000002 x26: 1fffe00003a61b00 x25: 1fffe00003a61b18 x24: ffff00001d30d8c2 x23: ffff00001697b85c x22: 0000000000000000 x21: ffff800084d6a4d4 x20: ffff00001697b85c x19: 0000000000000003 x18: 0000000070b18b3b x17: 0000000000000000 x16: 0000000000000000 x15: ffff000016408a80 x14: 1fffe00002c8114f x13: 1fffe00002c81159 x12: ffff60000d3f2a93 x11: 1fffe0000d3f2a92 x10: ffff60000d3f2a92 x9 : dfff800000000000 x8 : ffff000069f95493 x7 : 0000000000000001 x6 : ffff60000d3f2a92 x5 : ffff000069f95490 x4 : 1fffe00002c81001 x3 : dfff800000000000 x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff000016408000 Call trace: refcount_warn_saturate+0x138/0x19c 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+0x154/0x174 net/core/skbuff.c:1241 kfree_skb_reason include/linux/skbuff.h:1262 [inline] kfree_skb include/linux/skbuff.h:1271 [inline] j1939_session_destroy+0x104/0x36c net/can/j1939/transport.c:282 __j1939_session_release net/can/j1939/transport.c:294 [inline] kref_put include/linux/kref.h:65 [inline] j1939_session_put+0x80/0xac net/can/j1939/transport.c:299 j1939_sk_send_loop net/can/j1939/socket.c:1202 [inline] j1939_sk_sendmsg+0xaf4/0xf60 net/can/j1939/socket.c:1277 sock_sendmsg_nosec net/socket.c:729 [inline] __sock_sendmsg+0xc8/0x168 net/socket.c:744 ____sys_sendmsg+0x54c/0x6dc net/socket.c:2602 ___sys_sendmsg+0x11c/0x19c net/socket.c:2656 __sys_sendmsg+0xe0/0x174 net/socket.c:2685 __do_sys_sendmsg net/socket.c:2694 [inline] __se_sys_sendmsg net/socket.c:2692 [inline] __arm64_sys_sendmsg+0x70/0xa0 net/socket.c:2692 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x6c/0x258 arch/arm64/kernel/syscall.c:49 el0_svc_common.constprop.0+0xac/0x230 arch/arm64/kernel/syscall.c:132 do_el0_svc+0x40/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x50/0x180 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x100/0x12c arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 566 hardirqs last enabled at (565): [] __up_console_sem+0x74/0x94 kernel/printk/printk.c:344 hardirqs last disabled at (566): [] el1_dbg+0x24/0x9c arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (540): [] softirq_handle_end kernel/softirq.c:400 [inline] softirqs last enabled at (540): [] handle_softirqs+0x878/0xd40 kernel/softirq.c:582 softirqs last disabled at (471): [] __do_softirq+0x14/0x20 kernel/softirq.c:588 ---[ end trace 0000000000000000 ]---