syzbot


WARNING in j1939_session_deactivate
Status: upstream: reported C repro on 2021/08/31 10:36
Reported-by: syzbot+535e5aae63c0d0433473@syzkaller.appspotmail.com
First crash: 305d, last: 12d

Cause bisection: introduced by (bisect log) [merge commit]:
commit 67e974c3ae21c8ced474eae3ce9261a6f827e95c
Author: Kalle Valo <kvalo@codeaurora.org>
Date: Sat Sep 7 07:21:07 2019 +0000

  Merge tag 'iwlwifi-next-for-kalle-2019-09-06' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-next

Crash: general protection fault in batadv_iv_ogm_queue_add (log)
Repro: C syz .config

Sample crash report:
vcan0: j1939_xtp_txnext_transmiter: 0xffff88801c3c7400: unexpected last_cmd: 14
vcan0: j1939_tp_rxtimer: 0xffff88807d279800: abort rx timeout. Force session deactivation
vcan0: j1939_tp_rxtimer: 0xffff88807806f000: rx timeout, send abort
vcan0: j1939_xtp_rx_abort_one: 0xffff88807d72f400: 0x00000: (3) A timeout occurred and this is the connection abort to close the session.
------------[ cut here ]------------
WARNING: CPU: 0 PID: 13 at net/can/j1939/transport.c:1090 j1939_session_deactivate+0xaf/0xd0 net/can/j1939/transport.c:1090
Modules linked in:
CPU: 0 PID: 13 Comm: ksoftirqd/0 Not tainted 5.17.0-rc3-syzkaller-00188-g1d41d2e82623 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:j1939_session_deactivate+0xaf/0xd0 net/can/j1939/transport.c:1090
Code: fd 01 76 21 e8 02 85 51 f9 48 89 ef e8 2a fc ff ff 4c 89 e7 41 89 c5 e8 ef ce 26 01 44 89 e8 5d 41 5c 41 5d c3 e8 e1 84 51 f9 <0f> 0b eb d6 4c 89 ef e8 35 d4 98 f9 eb b5 48 89 ef e8 3b d4 98 f9
RSP: 0018:ffffc90000d279a0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000003 RCX: 0000000000000100
RDX: ffff888010e80000 RSI: ffffffff8826f35f RDI: 0000000000000003
RBP: ffff88807d72f400 R08: 0000000000000001 R09: ffff88807d72f42b
R10: ffffffff8826f333 R11: 0000000000000001 R12: ffff8880784d5070
R13: 0000000000000001 R14: ffff88806addb018 R15: ffffffff8ac38dc0
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe90058ff8 CR3: 0000000071984000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 j1939_session_deactivate_activate_next+0x12/0x35 net/can/j1939/transport.c:1100
 j1939_xtp_rx_abort_one.cold+0x20b/0x33c net/can/j1939/transport.c:1340
 j1939_xtp_rx_abort net/can/j1939/transport.c:1351 [inline]
 j1939_tp_cmd_recv net/can/j1939/transport.c:2100 [inline]
 j1939_tp_recv+0xb28/0xcb0 net/can/j1939/transport.c:2133
 j1939_can_recv+0x6ff/0x9a0 net/can/j1939/main.c:108
 deliver net/can/af_can.c:574 [inline]
 can_rcv_filter+0x5d4/0x8d0 net/can/af_can.c:608
 can_receive+0x31d/0x580 net/can/af_can.c:665
 can_rcv+0x120/0x1c0 net/can/af_can.c:696
 __netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:5351
 __netif_receive_skb+0x24/0x1b0 net/core/dev.c:5465
 process_backlog+0x2a5/0x6c0 net/core/dev.c:5797
 __napi_poll+0xaf/0x440 net/core/dev.c:6365
 napi_poll net/core/dev.c:6432 [inline]
 net_rx_action+0x801/0xb40 net/core/dev.c:6519
 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558
 run_ksoftirqd kernel/softirq.c:921 [inline]
 run_ksoftirqd+0x2d/0x60 kernel/softirq.c:913
 smpboot_thread_fn+0x645/0x9c0 kernel/smpboot.c:164
 kthread+0x2e9/0x3a0 kernel/kthread.c:377
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>

Fix bisection attempts:
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2022/05/14 15:28 upstream ec7f49619d8e 8b9ca619 .config log report syz C
ci-upstream-kasan-gce-root 2022/04/14 15:07 upstream a19944809fe9 8b9ca619 .config log report syz C
ci-upstream-kasan-gce-root 2022/03/15 14:47 upstream 09688c0166e7 8b9ca619 .config log report syz C
Crashes (1781):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2022/02/12 08:44 upstream 1d41d2e82623 8b9ca619 .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce-selinux-root 2022/02/05 05:02 upstream dcb85f85fa6f e13a05ed .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/02/04 20:47 upstream dcb85f85fa6f e13a05ed .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/02/03 16:00 upstream 88808fbbead4 4ebb2798 .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/24 11:55 upstream dd81e1c7d5fb 214351e1 .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/24 00:39 upstream dd81e1c7d5fb 214351e1 .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce-selinux-root 2022/01/23 23:33 upstream dd81e1c7d5fb 214351e1 .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/23 13:33 upstream 1c52283265a4 214351e1 .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/23 12:09 upstream 1c52283265a4 214351e1 .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce-selinux-root 2022/01/23 10:58 upstream 1c52283265a4 214351e1 .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/23 08:59 upstream 1c52283265a4 214351e1 .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce-selinux-root 2022/01/22 22:27 upstream 0809edbae347 214351e1 .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/22 13:48 upstream 9b57f4589857 214351e1 .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/21 19:55 upstream 9b57f4589857 214351e1 .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/21 08:11 upstream 2c271fe77d52 ab3d9f17 .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/21 02:20 upstream fa2e1ba3e9e3 b838eb76 .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce-selinux-root 2022/01/20 23:01 upstream fa2e1ba3e9e3 b838eb76 .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/20 01:58 upstream 1d1df41c5a33 5da9499f .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/20 00:46 upstream 1d1df41c5a33 5da9499f .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/19 20:11 upstream e9f5cbc0c851 0620189b .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/07 05:26 upstream b2b436ec0205 6acc789a .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/07 05:00 upstream b2b436ec0205 6acc789a .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/06 01:11 upstream 49ef78e59b07 6acc789a .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/05 00:08 upstream c9e6606c7fe9 0a2584dd .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/04 19:09 upstream c9e6606c7fe9 0a2584dd .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/04 00:17 upstream c9e6606c7fe9 4a3f34f2 .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/03 22:04 upstream c9e6606c7fe9 4a3f34f2 .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/03 19:11 upstream c9e6606c7fe9 4a3f34f2 .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce-root 2022/01/03 13:57 upstream c9e6606c7fe9 e1768e9c .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/03 11:02 upstream c9e6606c7fe9 e1768e9c .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2021/12/27 05:55 upstream fc74e0a40e4f e4f103c4 .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2021/10/24 07:41 upstream 9c0c4d24ac00 282f03fb .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2021/10/06 07:09 upstream f6274b06e326 0a63fd36 .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2021/10/02 17:27 upstream 53d5fc89d66a db0f5787 .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2021/09/03 18:47 upstream a9c9a6f741cd f62a5829 .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2021/08/31 17:50 upstream 44d7d3b0d1cd 8f58a0ef .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2021/08/28 06:42 upstream 1a6436f37512 d5a29e53 .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-net-this-kasan-gce 2021/10/04 04:53 net 7cd8b1542a7b db0f5787 .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-linux-next-kasan-gce-root 2022/01/23 11:32 linux-next c94951012a74 214351e1 .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-linux-next-kasan-gce-root 2022/01/21 23:06 linux-next c94951012a74 214351e1 .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-linux-next-kasan-gce-root 2022/01/20 22:41 linux-next 7fc5253f5a13 b838eb76 .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-linux-next-kasan-gce-root 2021/07/27 05:20 linux-next 2265c5286967 fd511809 .config log report syz C WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/02/13 14:27 upstream b81b1829e7e3 8b9ca619 .config log report syz WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/23 16:43 upstream 1c52283265a4 214351e1 .config log report syz WARNING in j1939_session_deactivate
ci-upstream-kasan-gce-root 2022/01/22 01:19 upstream 9b57f4589857 214351e1 .config log report syz WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/02/09 08:40 upstream e6251ab4551f 0b33604d .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/02/04 11:23 upstream dcb85f85fa6f a3e470b2 .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce-selinux-root 2022/02/03 08:34 upstream 27bb0b18c208 4ebb2798 .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce-root 2022/02/02 13:42 upstream 9f7fb8de5d9b 4ebb2798 .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/31 16:41 upstream 26291c54e111 6b7c57fe .config log report info WARNING in j1939_session_deactivate
ci-qemu-upstream 2022/01/31 13:09 upstream 26291c54e111 a491ad2d .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce-selinux-root 2022/01/29 17:42 upstream 169387e2aa29 495e00c5 .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce-root 2022/01/29 07:20 upstream df0001545b27 495e00c5 .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce-selinux-root 2022/01/29 04:22 upstream 8157f4707360 495e00c5 .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/28 14:36 upstream 23a46422c561 495e00c5 .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce-selinux-root 2022/01/28 09:06 upstream 23a46422c561 495e00c5 .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/28 00:05 upstream 626b2dda7651 64a8e201 .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce-root 2022/01/27 00:16 upstream 0280e3c58f92 2cbffd88 .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/26 11:50 upstream 0280e3c58f92 2cbffd88 .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce-selinux-root 2022/01/26 00:53 upstream 0280e3c58f92 2cbffd88 .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/25 21:20 upstream 0280e3c58f92 2cbffd88 .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/25 19:32 upstream a08b41ab9e2e 2cbffd88 .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/25 16:16 upstream a08b41ab9e2e 2cbffd88 .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/25 08:54 upstream a08b41ab9e2e 2cbffd88 .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/24 22:48 upstream dd81e1c7d5fb 2cbffd88 .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce-selinux-root 2022/01/24 16:20 upstream dd81e1c7d5fb 214351e1 .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce-root 2022/01/24 05:15 upstream dd81e1c7d5fb 214351e1 .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/23 20:04 upstream dd81e1c7d5fb 214351e1 .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce-selinux-root 2022/01/21 13:55 upstream 2c271fe77d52 ab3d9f17 .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/21 13:23 upstream 2c271fe77d52 ab3d9f17 .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/21 04:32 upstream 2c271fe77d52 ab3d9f17 .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/20 09:59 upstream 1d1df41c5a33 5da9499f .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/19 21:36 upstream 1d1df41c5a33 5da9499f .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce-selinux-root 2022/01/19 11:50 upstream e9f5cbc0c851 0620189b .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce-selinux-root 2022/01/19 08:21 upstream 99613159ad74 0620189b .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce-root 2022/01/19 03:27 upstream 99613159ad74 731a2d23 .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce 2022/01/18 18:52 upstream 99613159ad74 731a2d23 .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce-root 2022/01/18 11:58 upstream e3a8b6a1e70c 731a2d23 .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce-selinux-root 2022/01/18 08:23 upstream e3a8b6a1e70c 731a2d23 .config log report info WARNING in j1939_session_deactivate
ci-qemu-upstream-386 2022/01/27 13:13 upstream 626b2dda7651 2cbffd88 .config log report info WARNING in j1939_session_deactivate
ci-upstream-kasan-gce-386 2022/01/19 10:09 upstream e9f5cbc0c851 0620189b .config log report info WARNING in j1939_session_deactivate
ci-upstream-net-this-kasan-gce 2022/01/04 21:39 net 7d18a07897d0 0a2584dd .config log report info WARNING in j1939_session_deactivate
ci-upstream-net-this-kasan-gce 2021/07/25 02:34 net 89bc7f456cd4 4d1b57d4 .config log report info WARNING in j1939_session_deactivate
ci-upstream-net-kasan-gce 2022/01/31 11:13 net-next ff58831fa02d 6b7c57fe .config log report info WARNING in j1939_session_deactivate
ci-upstream-net-kasan-gce 2022/01/26 18:29 net-next ab14f1802cfb 2cbffd88 .config log report info WARNING in j1939_session_deactivate
ci-upstream-linux-next-kasan-gce-root 2022/02/01 19:17 linux-next 711428e8f370 c1c1631d .config log report info WARNING in j1939_session_deactivate
ci-upstream-linux-next-kasan-gce-root 2022/02/01 15:50 linux-next 711428e8f370 c1c1631d .config log report info WARNING in j1939_session_deactivate
ci-upstream-linux-next-kasan-gce-root 2022/01/31 08:35 linux-next 887a333c44eb 6b7c57fe .config log report info WARNING in j1939_session_deactivate
ci-upstream-linux-next-kasan-gce-root 2022/01/28 10:20 linux-next b605fdc54c2b 495e00c5 .config log report info WARNING in j1939_session_deactivate
ci-upstream-linux-next-kasan-gce-root 2022/01/27 03:53 linux-next 0eb96e2c58c0 2cbffd88 .config log report info WARNING in j1939_session_deactivate
ci-upstream-linux-next-kasan-gce-root 2022/01/20 17:24 linux-next 7fc5253f5a13 b838eb76 .config log report info WARNING in j1939_session_deactivate
ci-upstream-linux-next-kasan-gce-root 2022/01/18 09:52 linux-next 6f59bc242877 731a2d23 .config log report info WARNING in j1939_session_deactivate
ci-upstream-linux-next-kasan-gce-root 2022/01/18 06:30 linux-next 6f59bc242877 731a2d23 .config log report info WARNING in j1939_session_deactivate