------------[ cut here ]------------ refcount_t: addition on 0; use-after-free. WARNING: CPU: 0 PID: 6244 at lib/refcount.c:25 refcount_warn_saturate+0x108/0x1a0 lib/refcount.c:25 Modules linked in: CPU: 0 PID: 6244 Comm: syz-executor.1 Not tainted 5.13.0-rc7-syzkaller-00105-gb7050b242430 #0 Hardware name: linux,dummy-virt (DT) pstate: 60000005 (nZCv daif -PAN -UAO -TCO BTYPE=--) pc : refcount_warn_saturate+0x108/0x1a0 lib/refcount.c:25 lr : refcount_warn_saturate+0x108/0x1a0 lib/refcount.c:25 sp : ffff80001b4e7b40 x29: ffff80001b4e7b40 x28: ffff0000104c4000 x27: ffff000015530000 x26: 0000000000000004 x25: ffff00000bb20000 x24: 1fffe0000579873b x23: ffff80001b4e7d00 x22: 1ffff0000369cfa0 x21: ffff8000172a3a60 x20: ffff0000104c5108 x19: 0000000000000002 x18: ffff00006a9cdb48 x17: 0000000000000000 x16: 0000000000000000 x15: ffff00006a9cdb7c x14: 1ffff0000369ce96 x13: 0000000000000001 x12: ffff60000d539b84 x11: 1fffe0000d539b83 x10: ffff60000d539b83 x9 : dfff800000000000 x8 : ffff00006a9cdc1b x7 : 0000000000000001 x6 : 00009ffff2ac647d x5 : ffff00006a9cdc18 x4 : 1fffe0000181a349 x3 : dfff800000000000 x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff00000c0d1a40 Call trace: refcount_warn_saturate+0x108/0x1a0 lib/refcount.c:25 __refcount_add include/linux/refcount.h:199 [inline] __refcount_inc include/linux/refcount.h:250 [inline] refcount_inc include/linux/refcount.h:267 [inline] kref_get include/linux/kref.h:45 [inline] j1939_netdev_start+0x4d4/0x710 net/can/j1939/main.c:250 j1939_sk_bind+0x2dc/0xb40 net/can/j1939/socket.c:479 __sys_bind+0x16c/0x1d0 net/socket.c:1624 __do_sys_bind net/socket.c:1635 [inline] __se_sys_bind net/socket.c:1633 [inline] __arm64_sys_bind+0x6c/0xa0 net/socket.c:1633 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x6c/0x260 arch/arm64/kernel/syscall.c:52 el0_svc_common.constprop.0+0xc4/0x1e4 arch/arm64/kernel/syscall.c:145 do_el0_svc_compat+0x40/0x80 arch/arm64/kernel/syscall.c:190 el0_svc_compat+0x24/0x3c arch/arm64/kernel/entry-common.c:483 el0_sync_compat_handler+0x90/0x140 arch/arm64/kernel/entry-common.c:492 el0_sync_compat+0x19c/0x1c0 arch/arm64/kernel/entry.S:743 irq event stamp: 1836 hardirqs last enabled at (1835): [] console_unlock+0x7f8/0xbf4 kernel/printk/printk.c:2668 hardirqs last disabled at (1836): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:233 softirqs last enabled at (1812): [] lock_sock_nested+0xf0/0x1d0 net/core/sock.c:3073 softirqs last disabled at (1810): [] spin_lock_bh include/linux/spinlock.h:359 [inline] softirqs last disabled at (1810): [] lock_sock_nested+0x50/0x1d0 net/core/sock.c:3065 ---[ end trace 79d67cb62b4d9377 ]---