WARNING: CPU: 1 PID: 6759 at net/can/j1939/transport.c:1098 j1939_session_deactivate net/can/j1939/transport.c:1098 [inline]
WARNING: CPU: 1 PID: 6759 at net/can/j1939/transport.c:1098 j1939_session_deactivate_activate_next+0x95/0xd3 net/can/j1939/transport.c:1108
Modules linked in:
CPU: 1 PID: 6759 Comm: syz-executor.3 Not tainted 6.1.0-syzkaller-14594-g72a85e2b0a1e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:j1939_session_deactivate net/can/j1939/transport.c:1098 [inline]
RIP: 0010:j1939_session_deactivate_activate_next+0x95/0xd3 net/can/j1939/transport.c:1108
Code: 03 38 d0 7c 0c 84 d2 74 08 4c 89 ef e8 46 8e cb f7 8b 5d 28 bf 01 00 00 00 89 de e8 27 53 7e f7 83 fb 01 77 07 e8 6d 56 7e f7 <0f> 0b e8 66 56 7e f7 48 89 ef e8 2e 01 c8 fe 4c 89 e7 89 c3 e8 04
RSP: 0018:ffffc900003e8a88 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000100
RDX: ffff888072c6c040 RSI: ffffffff8a021d23 RDI: 0000000000000005
RBP: ffff888013414800 R08: 0000000000000005 R09: 0000000000000001
R10: 0000000000000001 R11: 0000000000000001 R12: ffff888083a71070
R13: ffff888013414828 R14: ffffffff8b6ff2e0 R15: 0000000000000003
FS: 00007fba721fa700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002001b000 CR3: 0000000078745000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
j1939_xtp_rx_abort_one.cold+0x301/0x403 net/can/j1939/transport.c:1348
j1939_xtp_rx_abort net/can/j1939/transport.c:1359 [inline]
j1939_tp_cmd_recv net/can/j1939/transport.c:2108 [inline]
j1939_tp_recv+0xb63/0xcd0 net/can/j1939/transport.c:2141
j1939_can_recv net/can/j1939/main.c:112 [inline]
j1939_can_recv+0x78e/0xa30 net/can/j1939/main.c:38
deliver net/can/af_can.c:572 [inline]
can_rcv_filter+0x5d4/0x8d0 net/can/af_can.c:606
can_receive+0x31d/0x580 net/can/af_can.c:663
can_rcv+0x1e1/0x230 net/can/af_can.c:687
__netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:5482
__netif_receive_skb+0x1f/0x1c0 net/core/dev.c:5596
process_backlog+0x3e4/0x810 net/core/dev.c:5924
__napi_poll+0xb8/0x770 net/core/dev.c:6485
napi_poll net/core/dev.c:6552 [inline]
net_rx_action+0xa00/0xde0 net/core/dev.c:6663
__do_softirq+0x1fb/0xadc kernel/softirq.c:571
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x123/0x180 kernel/softirq.c:650
irq_exit_rcu+0x9/0x20 kernel/softirq.c:662
sysvec_call_function_single+0x97/0xc0 arch/x86/kernel/smp.c:243
asm_sysvec_call_function_single+0x1a/0x20 arch/x86/include/asm/idtentry.h:657
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x3c/0x70 kernel/locking/spinlock.c:194
Code: 74 24 10 e8 c6 77 5a f7 48 89 ef e8 6e e4 5a f7 81 e3 00 02 00 00 75 25 9c 58 f6 c4 02 75 2d 48 85 db 74 01 fb bf 01 00 00 00 6f 48 4d f7 65 8b 05 40 14 fb 75 85 c0 74 0a 5b 5d c3 e8 bc 5d
RSP: 0018:ffffc90015c3f778 EFLAGS: 00000206
RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff226db76
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffff88802a53fec0 R08: 0000000000000001 R09: ffffffff9132cb6f
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000010 R14: 0000000000000001 R15: 0000000000000246
spin_unlock_irqrestore include/linux/spinlock.h:405 [inline]
__wake_up_common_lock+0xe2/0x140 kernel/sched/wait.c:140
__unix_dgram_recvmsg+0x2d1/0xb90 net/unix/af_unix.c:2472
unix_dgram_recvmsg+0xc4/0xf0 net/unix/af_unix.c:2542
sock_recvmsg_nosec net/socket.c:995 [inline]
____sys_recvmsg+0x53c/0x610 net/socket.c:2693
___sys_recvmsg+0xf2/0x180 net/socket.c:2737
do_recvmmsg+0x25e/0x6e0 net/socket.c:2831
__sys_recvmmsg net/socket.c:2910 [inline]
__do_sys_recvmmsg net/socket.c:2933 [inline]
__se_sys_recvmmsg net/socket.c:2926 [inline]
__x64_sys_recvmmsg+0x20f/0x260 net/socket.c:2926
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fba7148c0a9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fba721fa168 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007fba715ac050 RCX: 00007fba7148c0a9
RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003
RBP: 00007fba714e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fffdd6f09af R14: 00007fba721fa300 R15: 0000000000022000
----------------
Code disassembly (best guess), 1 bytes skipped:
0: 24 10 and $0x10,%al
2: e8 c6 77 5a f7 callq 0xf75a77cd
7: 48 89 ef mov %rbp,%rdi
a: e8 6e e4 5a f7 callq 0xf75ae47d
f: 81 e3 00 02 00 00 and $0x200,%ebx
15: 75 25 jne 0x3c
17: 9c pushfq
18: 58 pop %rax
19: f6 c4 02 test $0x2,%ah
1c: 75 2d jne 0x4b
1e: 48 85 db test %rbx,%rbx
21: 74 01 je 0x24
23: fb sti
24: bf 01 00 00 00 mov $0x1,%edi
* 29: e8 6f 48 4d f7 callq 0xf74d489d <-- trapping instruction
2e: 65 8b 05 40 14 fb 75 mov %gs:0x75fb1440(%rip),%eax # 0x75fb1475
35: 85 c0 test %eax,%eax
37: 74 0a je 0x43
39: 5b pop %rbx
3a: 5d pop %rbp
3b: c3 retq
3c: e8 .byte 0xe8
3d: bc .byte 0xbc
3e: 5d pop %rbp