vcan0: j1939_tp_rxtimer: 0xffff88805f762400: rx timeout, send abort
vcan0: j1939_xtp_rx_abort_one: 0xffff88805f762400: 0x30000: (3) A timeout occurred and this is the connection abort to close the session.
------------[ cut here ]------------
refcount_t: underflow; use-after-free.
WARNING: CPU: 1 PID: 8579 at lib/refcount.c:28 refcount_warn_saturate+0x15a/0x1d0 lib/refcount.c:28
Modules linked in:
CPU: 1 UID: 0 PID: 8579 Comm: syz.5.857 Not tainted 6.13.0-rc1-syzkaller-00025-gfeffde684ac2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:refcount_warn_saturate+0x15a/0x1d0 lib/refcount.c:28
Code: e0 1e 5f 8c e8 87 c5 95 fc 90 0f 0b 90 90 eb 99 e8 2b 1e d5 fc c6 05 6d 2c 39 0b 01 90 48 c7 c7 40 1f 5f 8c e8 67 c5 95 fc 90 <0f> 0b 90 90 e9 76 ff ff ff e8 08 1e d5 fc c6 05 47 2c 39 0b 01 90
RSP: 0018:ffffc90000a18680 EFLAGS: 00010246
RAX: 157da09b45781c00 RBX: ffff88807b4de224 RCX: ffff888031843c00
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000003 R08: ffffffff81601c02 R09: fffffbfff1cfa210
R10: dffffc0000000000 R11: fffffbfff1cfa210 R12: ffff88805f762468
R13: ffff88807b4de224 R14: 1ffff1100beec498 R15: ffff88805f762400
FS: 00007f6d5cfd56c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c2aa0d9 CR3: 000000007cbe2000 CR4: 0000000000350ef0
Call Trace:
kfree_skb_reason include/linux/skbuff.h:1263 [inline]
kfree_skb include/linux/skbuff.h:1272 [inline]
j1939_session_destroy net/can/j1939/transport.c:282 [inline]
__j1939_session_release net/can/j1939/transport.c:294 [inline]
kref_put include/linux/kref.h:65 [inline]
j1939_session_put+0x1ed/0x440 net/can/j1939/transport.c:299
j1939_xtp_rx_abort net/can/j1939/transport.c:1362 [inline]
j1939_tp_cmd_recv net/can/j1939/transport.c:2128 [inline]
j1939_tp_recv+0x92a/0x1050 net/can/j1939/transport.c:2161
j1939_can_recv+0x732/0xb20 net/can/j1939/main.c:108
deliver net/can/af_can.c:573 [inline]
can_rcv_filter+0x35b/0x7f0 net/can/af_can.c:607
can_receive+0x327/0x480 net/can/af_can.c:664
can_rcv+0x144/0x260 net/can/af_can.c:688
__netif_receive_skb_one_core net/core/dev.c:5672 [inline]
__netif_receive_skb+0x2e2/0x650 net/core/dev.c:5785
process_backlog+0x662/0x15b0 net/core/dev.c:6117
__napi_poll+0xcd/0x490 net/core/dev.c:6877
napi_poll net/core/dev.c:6946 [inline]
net_rx_action+0x89b/0x1240 net/core/dev.c:7068
handle_softirqs+0x2d6/0x9b0 kernel/softirq.c:554
__do_softirq kernel/softirq.c:588 [inline]
invoke_softirq kernel/softirq.c:428 [inline]
__irq_exit_rcu+0xf7/0x220 kernel/softirq.c:655
irq_exit_rcu+0x9/0x30 kernel/softirq.c:671
instr_sysvec_call_function_single arch/x86/kernel/smp.c:266 [inline]
sysvec_call_function_single+0xa3/0xc0 arch/x86/kernel/smp.c:266
asm_sysvec_call_function_single+0x1a/0x20 arch/x86/include/asm/idtentry.h:709
RIP: 0010:_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
RIP: 0010:__scm_recv_common include/net/scm.h:177 [inline]
RIP: 0010:scm_recv_unix+0x147/0xad0 include/net/scm.h:214
Code: e8 4e 8d 33 f7 e9 dd 01 00 00 48 85 db 49 bf 00 00 00 00 00 fc ff df 0f 85 b2 02 00 00 4c 89 f7 be 08 00 00 00 e8 69 77 9e f7 <48> 8b 44 24 20 42 80 3c 38 00 74 08 4c 89 f7 e8 e5 74 9e f7 4d 8b
RSP: 0018:ffffc9000be675c0 EFLAGS: 00000256
RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff8a6be4f7
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88807c779e08
RBP: ffffc9000be676f0 R08: ffff88807c779e0f R09: 1ffff1100f8ef3c1
R10: dffffc0000000000 R11: ffffed100f8ef3c2 R12: 1ffff920017ccec0
R13: ffffc9000be677c0 R14: ffff88807c779e08 R15: dffffc0000000000
__unix_dgram_recvmsg+0xcdd/0x12f0 net/unix/af_unix.c:2517
sock_recvmsg_nosec+0x190/0x1d0 net/socket.c:1033
____sys_recvmsg+0x3cd/0x480 net/socket.c:2801
___sys_recvmsg net/socket.c:2845 [inline]
do_recvmmsg+0x426/0xab0 net/socket.c:2940
__sys_recvmmsg net/socket.c:3014 [inline]
__do_sys_recvmmsg net/socket.c:3037 [inline]
__se_sys_recvmmsg net/socket.c:3030 [inline]
__x64_sys_recvmmsg+0x199/0x250 net/socket.c:3030
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f6d5f17ff19
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f6d5cfd5058 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007f6d5f346080 RCX: 00007f6d5f17ff19
RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000007
RBP: 00007f6d5f1f3986 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000001 R14: 00007f6d5f346080 R15: 00007ffd3695ccd8
----------------
Code disassembly (best guess):
0: e8 4e 8d 33 f7 call 0xf7338d53
5: e9 dd 01 00 00 jmp 0x1e7
a: 48 85 db test %rbx,%rbx
d: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15
14: fc ff df
17: 0f 85 b2 02 00 00 jne 0x2cf
1d: 4c 89 f7 mov %r14,%rdi
20: be 08 00 00 00 mov $0x8,%esi
25: e8 69 77 9e f7 call 0xf79e7793
* 2a: 48 8b 44 24 20 mov 0x20(%rsp),%rax <-- trapping instruction
2f: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1)
34: 74 08 je 0x3e
36: 4c 89 f7 mov %r14,%rdi
39: e8 e5 74 9e f7 call 0xf79e7523
3e: 4d rex.WRB
3f: 8b .byte 0x8b