------------[ cut here ]------------
WARNING: CPU: 2 PID: 6303 at net/can/j1939/transport.c:1090 j1939_session_deactivate+0xaf/0xd0 net/can/j1939/transport.c:1090
Modules linked in:
CPU: 2 PID: 6303 Comm: syz-executor.2 Not tainted 5.17.0-rc2-syzkaller #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
RIP: 0010:j1939_session_deactivate+0xaf/0xd0 net/can/j1939/transport.c:1090
Code: fd 01 76 21 e8 92 13 4e f9 48 89 ef e8 2a fc ff ff 4c 89 e7 41 89 c5 e8 4f 69 27 01 44 89 e8 5d 41 5c 41 5d c3 e8 71 13 4e f9 <0f> 0b eb d6 4c 89 ef e8 45 d1 94 f9 eb b5 48 89 ef e8 4b d1 94 f9
RSP: 0018:ffffc90000780dd0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff888023349538 RCX: 0000000000000100
RDX: ffff88806ffd8080 RSI: ffffffff8829918f RDI: 0000000000000003
RBP: ffff888023349400 R08: 0000000000000001 R09: ffff88802334942b
R10: ffffffff88299163 R11: 0000000000000001 R12: ffff8880245d5070
R13: 0000000000000001 R14: ffff8880245d4000 R15: 0000000000000002
FS: 00007f2f7f953700(0000) GS:ffff88802cc00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2df28000 CR3: 000000004261a000 CR4: 0000000000150ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
j1939_session_deactivate_activate_next+0x12/0x35 net/can/j1939/transport.c:1100
j1939_tp_rxtimer.cold+0xbc/0x1aa net/can/j1939/transport.c:1228
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x609/0xe50 kernel/time/hrtimer.c:1749
hrtimer_run_softirq+0x17b/0x360 kernel/time/hrtimer.c:1766
__do_softirq+0x29b/0x9c2 kernel/softirq.c:558
invoke_softirq kernel/softirq.c:432 [inline]
__irq_exit_rcu+0x123/0x180 kernel/softirq.c:637
irq_exit_rcu+0x5/0x20 kernel/softirq.c:649
sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202
Code: 0f 1f 44 00 00 55 48 8b 74 24 08 48 89 fd 48 83 c7 18 e8 ce 88 0b f8 48 89 ef e8 86 fe 0b f8 e8 81 ef 2c f8 fb bf 01 00 00 00 16 b2 fe f7 65 8b 05 8f 74 b1 76 85 c0 74 02 5d c3 e8 fb 49 af
RSP: 0018:ffffc90002ae7ab0 EFLAGS: 00000206
RAX: 0000000000014bed RBX: ffff88806ffd8080 RCX: 1ffffffff1b28ba9
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000001
RBP: ffff88806c3ee2c0 R08: 0000000000000001 R09: 0000000000000001
R10: ffffffff817dead8 R11: 0000000000000001 R12: 0000000000002000
R13: 000000000000f5f0 R14: 1ffff9200055cf59 R15: dffffc0000000000
spin_unlock_irq include/linux/spinlock.h:399 [inline]
acct_collect+0x6a0/0x8d0 kernel/acct.c:569
do_exit+0x82c/0x2a30 kernel/exit.c:785
do_group_exit+0xd2/0x2f0 kernel/exit.c:935
get_signal+0x4b0/0x28c0 kernel/signal.c:2862
arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:868
handle_signal_work kernel/entry/common.c:148 [inline]
exit_to_user_mode_loop kernel/entry/common.c:172 [inline]
exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:207
__syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f2f80fde059
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f2f7f953168 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: 0000000000000004 RBX: 00007f2f810f0f60 RCX: 00007f2f80fde059
RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 0000000020000240
RBP: 00007f2f8103808d R08: 0000000000000000 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd7bdc9c7f R14: 00007f2f7f953300 R15: 0000000000022000
----------------
Code disassembly (best guess):
0: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
5: 55 push %rbp
6: 48 8b 74 24 08 mov 0x8(%rsp),%rsi
b: 48 89 fd mov %rdi,%rbp
e: 48 83 c7 18 add $0x18,%rdi
12: e8 ce 88 0b f8 callq 0xf80b88e5
17: 48 89 ef mov %rbp,%rdi
1a: e8 86 fe 0b f8 callq 0xf80bfea5
1f: e8 81 ef 2c f8 callq 0xf82cefa5
24: fb sti
25: bf 01 00 00 00 mov $0x1,%edi
* 2a: e8 16 b2 fe f7 callq 0xf7feb245 <-- trapping instruction
2f: 65 8b 05 8f 74 b1 76 mov %gs:0x76b1748f(%rip),%eax # 0x76b174c5
36: 85 c0 test %eax,%eax
38: 74 02 je 0x3c
3a: 5d pop %rbp
3b: c3 retq
3c: e8 .byte 0xe8
3d: fb sti
3e: 49 af rex.WB scas %es:(%rdi),%rax