------------[ cut here ]------------ refcount_t: addition on 0; use-after-free. WARNING: CPU: 1 PID: 7082 at lib/refcount.c:25 refcount_warn_saturate+0x108/0x1a0 lib/refcount.c:25 Modules linked in: CPU: 1 PID: 7082 Comm: syz-executor.1 Not tainted 5.12.0-rc4-syzkaller-00223-ge138138003eb #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 : ffff00002f187b70 x29: ffff00002f187b70 x28: ffff00002f187d34 x27: ffff00000e0a0000 x26: 1fffe00005e30fa6 x25: 1fffe0000118e003 x24: ffff00002f187d40 x23: 1fffe00005e30fa8 x22: 0000000000000004 x21: ffff80001712f0c0 x20: ffff00000e0a1108 x19: 0000000000000002 x18: ffff00006ab3db48 x17: 0000000000000000 x16: 0000000000000000 x15: ffff8000172c8010 x14: 1fffe00005e30ea4 x13: 0000000000000001 x12: ffff60000d567b84 x11: 1fffe0000d567b83 x10: ffff60000d567b83 x9 : dfff800000000000 x8 : ffff00006ab3dc1b x7 : 0000000000000001 x6 : 00009ffff2a9847d x5 : ffff00006ab3dc18 x4 : 1fffe00005541001 x3 : dfff800000000000 x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff00002aa08000 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+0x5fc/0x900 net/can/j1939/main.c:250 j1939_sk_bind+0x2c8/0xd30 net/can/j1939/socket.c:479 __sys_bind+0x16c/0x1d0 net/socket.c:1637 __do_sys_bind net/socket.c:1648 [inline] __se_sys_bind net/socket.c:1646 [inline] __arm64_sys_bind+0x6c/0xa0 net/socket.c:1646 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall arch/arm64/kernel/syscall.c:49 [inline] el0_svc_common.constprop.0+0xf0/0x2c0 arch/arm64/kernel/syscall.c:129 do_el0_svc+0xa4/0xd0 arch/arm64/kernel/syscall.c:168 el0_svc+0x24/0x3c arch/arm64/kernel/entry-common.c:416 el0_sync_handler+0x1a4/0x1b0 arch/arm64/kernel/entry-common.c:432 el0_sync+0x170/0x180 arch/arm64/kernel/entry.S:699 irq event stamp: 1216 hardirqs last enabled at (1215): [] exit_to_kernel_mode+0x38/0x230 arch/arm64/kernel/entry-common.c:59 hardirqs last disabled at (1216): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:237 softirqs last enabled at (1180): [] _stext+0x9e0/0x1084 softirqs last disabled at (1173): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (1173): [] invoke_softirq kernel/softirq.c:228 [inline] softirqs last disabled at (1173): [] __irq_exit_rcu+0x46c/0x510 kernel/softirq.c:422 ---[ end trace 440b45144d4f80bf ]---