vcan0: j1939_tp_rxtimer: 0xffff88803504ec00: rx timeout, send abort
vcan0: j1939_xtp_rx_abort_one: 0xffff88803504ec00: 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: 0 PID: 6800 at lib/refcount.c:28 refcount_warn_saturate+0x15a/0x1d0 lib/refcount.c:28
Modules linked in:
CPU: 0 UID: 0 PID: 6800 Comm: syz-executor Not tainted 6.12.0-syzkaller-10687-ga9ab02ed97c6 #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: a0 13 61 8c e8 a7 85 95 fc 90 0f 0b 90 90 eb 99 e8 8b e0 d4 fc c6 05 8c 6c 47 0b 01 90 48 c7 c7 00 14 61 8c e8 87 85 95 fc 90 <0f> 0b 90 90 e9 76 ff ff ff e8 68 e0 d4 fc c6 05 66 6c 47 0b 01 90
RSP: 0018:ffffc900000076a0 EFLAGS: 00010246
RAX: 84b7f2dd2c2d3100 RBX: ffff88802ef419a4 RCX: ffff8880278bbc00
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000003 R08: ffffffff81568c22 R09: 1ffff92000000e70
R10: dffffc0000000000 R11: fffff52000000e71 R12: ffff88803504ec68
R13: ffff88802ef419a4 R14: 1ffff11006a09d98 R15: ffff88803504ec00
FS: 000055556febe500(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f06c1c2a1a4 CR3: 0000000031bde000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
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+0x359/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+0x2e0/0x650 net/core/dev.c:5785
process_backlog+0x662/0x15b0 net/core/dev.c:6117
__napi_poll+0xcb/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+0x2c5/0x980 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_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x70 kernel/kcov.c:210
Code: 89 fb e8 23 00 00 00 48 8b 3d d4 ed 9d 0c 48 89 de 5b e9 c3 cc 5e 00 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 48 8b 04 24 65 48 8b 0c 25 c0 d4 03 00 65 8b 15 30 f0
RSP: 0018:ffffc90003107d60 EFLAGS: 00000293
RAX: ffffffff847113fa RBX: 0000000000000000 RCX: ffff8880278bbc00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff84711461 R09: 1ffffffff203c696
R10: dffffc0000000000 R11: fffffbfff203c697 R12: 0000000000000000
R13: ffff888058b68180 R14: ffff88805406e620 R15: ffff8880612648d0
arch_static_branch arch/x86/include/asm/jump_label.h:36 [inline]
security_inode_symlink+0xb4/0x330 security/security.c:2175
vfs_symlink+0xba/0x2e0 fs/namei.c:4665
do_symlinkat+0x222/0x3a0 fs/namei.c:4695
__do_sys_symlinkat fs/namei.c:4711 [inline]
__se_sys_symlinkat fs/namei.c:4708 [inline]
__x64_sys_symlinkat+0x95/0xb0 fs/namei.c:4708
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:0x7f06c1b7f497
Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 0a 01 00 00 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:00007ffc3b27ea98 EFLAGS: 00000202 ORIG_RAX: 000000000000010a
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f06c1b7f497
RDX: 00007f06c1bf5090 RSI: 00000000ffffff9c RDI: 00007ffc3b27eb20
RBP: 00007ffc3b27eacc R08: 0000000000000013 R09: 00007ffc3b27e7e7
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000032
R13: 000000000001578f R14: 0000000000015440 R15: 00007ffc3b27eb20
----------------
Code disassembly (best guess):
0: 89 fb mov %edi,%ebx
2: e8 23 00 00 00 call 0x2a
7: 48 8b 3d d4 ed 9d 0c mov 0xc9dedd4(%rip),%rdi # 0xc9dede2
e: 48 89 de mov %rbx,%rsi
11: 5b pop %rbx
12: e9 c3 cc 5e 00 jmp 0x5eccda
17: 0f 1f 00 nopl (%rax)
1a: 90 nop
1b: 90 nop
1c: 90 nop
1d: 90 nop
1e: 90 nop
1f: 90 nop
20: 90 nop
21: 90 nop
22: 90 nop
23: 90 nop
24: 90 nop
25: 90 nop
26: 90 nop
27: 90 nop
28: 90 nop
29: 90 nop
* 2a: f3 0f 1e fa endbr64 <-- trapping instruction
2e: 48 8b 04 24 mov (%rsp),%rax
32: 65 48 8b 0c 25 c0 d4 mov %gs:0x3d4c0,%rcx
39: 03 00
3b: 65 gs
3c: 8b .byte 0x8b
3d: 15 .byte 0x15
3e: 30 f0 xor %dh,%al