syzbot


WARNING in j1939_session_deactivate_activate_next

Status: fixed on 2023/06/08 14:41
Subsystems: can
[Documentation on labels]
Reported-by: syzbot+3d2eaacbc2b94537c6c5@syzkaller.appspotmail.com
Fix commit: d0553680f94c can: j1939: fix errant WARN_ON_ONCE in j1939_session_deactivate
First crash: 988d, last: 578d
Cause bisection: failed (error log, bisect log)
  
Fix bisection: fixed by (bisect log) :
commit d0553680f94c49bbe0e39eb50d033ba563b4212d
Author: Ziyang Xuan <william.xuanziyang@huawei.com>
Date: Mon Sep 6 09:42:00 2021 +0000

  can: j1939: fix errant WARN_ON_ONCE in j1939_session_deactivate

  
Duplicate bugs (1)
duplicates (1):
Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
WARNING in j1939_session_deactivate can C unreliable done 1783 579d 1159d 0/28 closed as dup on 2024/01/30 13:59
Discussions (2)
Title Replies (including bot) Last reply
[syzbot] WARNING in j1939_session_deactivate_activate_next 1 (3) 2023/05/04 16:51
[syzbot] Monthly can report 0 (1) 2023/04/04 14:23
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2023/05/04 12:18 4h27m bisect fix net-old OK (1) job log
2023/04/04 05:13 35m bisect fix upstream OK (0) job log log
2023/03/05 04:38 35m bisect fix upstream OK (0) job log log

Sample crash report:
vxcan0: j1939_xtp_rx_abort_one: 0xffff88806f892400: 0x00000: (3) A timeout occurred and this is the connection abort to close the session.
vxcan0: j1939_xtp_rx_abort_one: 0xffff88806f103800: 0x00000: (3) A timeout occurred and this is the connection abort to close the session.
------------[ cut here ]------------
WARNING: CPU: 0 PID: 15 at net/can/j1939/transport.c:1098 j1939_session_deactivate net/can/j1939/transport.c:1098 [inline]
WARNING: CPU: 0 PID: 15 at net/can/j1939/transport.c:1098 j1939_session_deactivate_activate_next+0x95/0xd3 net/can/j1939/transport.c:1108
Modules linked in:
CPU: 0 PID: 15 Comm: ksoftirqd/0 Not tainted 6.2.0-rc3-syzkaller-00349-g97ec4d559d93 #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 a7 5b cc f7 8b 5d 28 bf 01 00 00 00 89 de e8 28 56 7e f7 83 fb 01 77 07 e8 6e 59 7e f7 <0f> 0b e8 67 59 7e f7 48 89 ef e8 1f 4d c8 fe 4c 89 e7 89 c3 e8 75
RSP: 0018:ffffc90000147978 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000100
RDX: ffff88813fe73a80 RSI: ffffffff8a030922 RDI: 0000000000000005
RBP: ffff88806f103800 R08: 0000000000000005 R09: 0000000000000001
R10: 0000000000000001 R11: 0000000000000001 R12: ffff88807b1b5070
R13: ffff88806f103828 R14: ffffffff8b7027e0 R15: 0000000000000003
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcd46adf160 CR3: 000000001d28e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 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:2111 [inline]
 j1939_tp_recv+0x658/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
 run_ksoftirqd kernel/softirq.c:934 [inline]
 run_ksoftirqd+0x31/0x60 kernel/softirq.c:926
 smpboot_thread_fn+0x659/0xa20 kernel/smpboot.c:164
 kthread+0x2e8/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>

Crashes (502):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/15 02:25 upstream 97ec4d559d93 a63719e7 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in j1939_session_deactivate_activate_next
2023/01/14 08:13 upstream d9fc1511728c 529798b0 .config console log report syz C ci-upstream-kasan-gce WARNING in j1939_session_deactivate_activate_next
2023/01/08 05:39 upstream 0a71553536d2 1dac8c7a .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in j1939_session_deactivate_activate_next
2023/01/01 23:11 upstream e4cf7c25bae5 ab32d508 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in j1939_session_deactivate_activate_next
2022/12/26 20:41 upstream 72a85e2b0a1e 9da18ae8 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in j1939_session_deactivate_activate_next
2022/10/20 04:35 upstream 55be6084c8e0 b31320fc .config strace log report syz C [disk image] [vmlinux] ci-upstream-kasan-gce-selinux-root WARNING in j1939_session_deactivate_activate_next
2022/10/17 16:01 upstream 55be6084c8e0 67cb024c .config strace log report syz C [disk image] [vmlinux] ci-upstream-kasan-gce-root WARNING in j1939_session_deactivate_activate_next
2022/10/17 09:50 upstream 55be6084c8e0 67cb024c .config strace log report syz C [disk image] [vmlinux] ci-upstream-kasan-gce-root WARNING in j1939_session_deactivate_activate_next
2022/10/17 05:21 upstream 55be6084c8e0 67cb024c .config strace log report syz C [disk image] [vmlinux] ci-upstream-kasan-gce-root WARNING in j1939_session_deactivate_activate_next
2022/10/15 10:11 upstream 55be6084c8e0 67cb024c .config strace log report syz C [disk image] [vmlinux] ci-upstream-kasan-gce WARNING in j1939_session_deactivate_activate_next
2022/10/09 10:50 upstream a6afa4199d3d aea5da89 .config strace log report syz C ci-upstream-kasan-gce WARNING in j1939_session_deactivate_activate_next
2022/10/08 21:18 upstream e8bc52cb8df8 aea5da89 .config strace log report syz C ci-upstream-kasan-gce WARNING in j1939_session_deactivate_activate_next
2022/10/06 07:39 upstream 833477fce7a1 2c6543ad .config strace log report syz C ci-upstream-kasan-gce-selinux-root WARNING in j1939_session_deactivate_activate_next
2022/10/04 04:13 upstream 4fe89d07dcc2 feb56351 .config strace log report syz C [disk image] [vmlinux] ci-upstream-kasan-gce-selinux-root WARNING in j1939_session_deactivate_activate_next
2022/09/03 13:22 upstream d895ec7938c4 49e94a20 .config console log report syz C ci-upstream-kasan-gce-root WARNING in j1939_session_deactivate_activate_next
2022/09/02 00:54 upstream 2880e1a175b9 86c46e46 .config strace log report syz C ci-upstream-kasan-gce WARNING in j1939_session_deactivate_activate_next
2022/08/04 13:32 upstream 200e340f2196 1c9013ac .config strace log report syz C ci-upstream-kasan-gce-selinux-root WARNING in j1939_session_deactivate_activate_next
2022/08/04 12:57 upstream 200e340f2196 1c9013ac .config strace log report syz C ci-upstream-kasan-gce WARNING in j1939_session_deactivate_activate_next
2022/07/27 14:51 upstream 39c3c396f813 da9d0366 .config strace log report syz C ci-upstream-kasan-gce-root WARNING in j1939_session_deactivate_activate_next
2022/07/20 17:06 upstream ca85855bdcae 775344bc .config strace log report syz C ci-upstream-kasan-gce-selinux-root WARNING in j1939_session_deactivate_activate_next
2022/07/19 20:58 upstream ca85855bdcae 72a3cc0c .config strace log report syz C ci-upstream-kasan-gce-selinux-root WARNING in j1939_session_deactivate_activate_next
2022/07/18 23:48 upstream ff6992735ade ff988920 .config strace log report syz C ci-upstream-kasan-gce-selinux-root WARNING in j1939_session_deactivate_activate_next
2022/07/16 13:59 upstream 9b59ec8d50a1 95cb00d1 .config console log report syz C ci-upstream-kasan-gce-root WARNING in j1939_session_deactivate_activate_next
2022/07/15 10:04 upstream 9bd572ec7a66 5d921b08 .config console log report syz C ci-upstream-kasan-gce-root WARNING in j1939_session_deactivate_activate_next
2022/07/15 08:53 upstream 9bd572ec7a66 5d921b08 .config strace log report syz C ci-upstream-kasan-gce-selinux-root WARNING in j1939_session_deactivate_activate_next
2022/07/14 13:10 upstream 4a57a8400075 5d921b08 .config strace log report syz C ci-upstream-kasan-gce-selinux-root WARNING in j1939_session_deactivate_activate_next
2022/07/12 14:12 upstream 5a29232d870d da3d6955 .config strace log report syz C ci-upstream-kasan-gce-selinux-root WARNING in j1939_session_deactivate_activate_next
2022/02/19 01:52 upstream 7993e65fdd0f 3cd800e4 .config console log report syz C ci-upstream-kasan-gce WARNING in j1939_session_deactivate_activate_next
2022/02/18 20:44 upstream 9195e5e0adbb 3cd800e4 .config console log report syz C ci-qemu-upstream WARNING in j1939_session_deactivate_activate_next
2022/10/15 10:24 net-old fa182ea26ff0 67cb024c .config strace log report syz C [disk image] [vmlinux] ci-upstream-net-this-kasan-gce WARNING in j1939_session_deactivate_activate_next
2022/08/04 13:27 net-old 8eaa1d110800 1c9013ac .config strace log report syz C ci-upstream-net-this-kasan-gce WARNING in j1939_session_deactivate_activate_next
2022/10/15 10:23 net-next-old 0326074ff465 67cb024c .config strace log report syz C ci-upstream-net-kasan-gce WARNING in j1939_session_deactivate_activate_next
2022/08/04 12:44 net-next-old 3c47fb2f4c4d 1c9013ac .config strace log report syz C ci-upstream-net-kasan-gce WARNING in j1939_session_deactivate_activate_next
2023/01/14 00:16 linux-next 0a093b2893c7 529798b0 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in j1939_session_deactivate_activate_next
2023/01/08 00:05 linux-next cc3c08b41a9c 1dac8c7a .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in j1939_session_deactivate_activate_next
2022/11/27 02:15 linux-next 9e46a7996732 74a66371 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in j1939_session_deactivate_activate_next
2022/10/16 03:51 linux-next aaa11ce2ffc8 67cb024c .config strace log report syz C [disk image] [vmlinux] ci-upstream-linux-next-kasan-gce-root WARNING in j1939_session_deactivate_activate_next
2022/10/02 16:58 linux-next aaa11ce2ffc8 feb56351 .config strace log report syz C [disk image] [vmlinux] ci-upstream-linux-next-kasan-gce-root WARNING in j1939_session_deactivate_activate_next
2022/09/06 03:27 linux-next e47eb90a0a9a 9dcd38fc .config strace log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in j1939_session_deactivate_activate_next
2022/08/25 01:12 linux-next 68a00424bf69 514514f6 .config strace log report syz C ci-upstream-linux-next-kasan-gce-root WARNING in j1939_session_deactivate_activate_next
2022/07/21 03:13 upstream 353f7988dd84 88cb1383 .config console log report syz ci-upstream-kasan-gce-selinux-root WARNING in j1939_session_deactivate_activate_next
2022/07/29 07:11 linux-next cb71b93c2dc3 fb95c74d .config strace log report syz ci-upstream-linux-next-kasan-gce-root WARNING in j1939_session_deactivate_activate_next
2023/02/01 23:51 upstream c0b67534c95c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in j1939_session_deactivate_activate_next
2023/01/28 12:27 upstream 5af6ce704936 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in j1939_session_deactivate_activate_next
2023/01/27 23:11 upstream 83abd4d4c4be 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in j1939_session_deactivate_activate_next
2023/01/27 15:31 upstream 7c46948a6e9c 9dfcf09c .config console log report info ci-upstream-kasan-gce WARNING in j1939_session_deactivate_activate_next
2023/01/27 11:14 upstream 7c46948a6e9c 9dfcf09c .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in j1939_session_deactivate_activate_next
2023/01/26 08:22 upstream 7c46948a6e9c 9dfcf09c .config console log report info ci-upstream-kasan-gce WARNING in j1939_session_deactivate_activate_next
2023/01/23 11:28 upstream 2475bf0250de 44388686 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in j1939_session_deactivate_activate_next
2023/01/23 05:59 upstream 2475bf0250de 559a440a .config console log report info ci-upstream-kasan-gce WARNING in j1939_session_deactivate_activate_next
2023/01/19 17:19 upstream 7287904c8771 1b826a2f .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in j1939_session_deactivate_activate_next
2023/01/16 09:52 upstream 5dc4c995db9e a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in j1939_session_deactivate_activate_next
2023/01/12 23:36 upstream e8f60cd7db24 96166539 .config console log report info ci-upstream-kasan-gce WARNING in j1939_session_deactivate_activate_next
2023/01/09 06:56 upstream 1fe4fd6f5cad 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in j1939_session_deactivate_activate_next
2023/01/08 15:41 upstream 9b43a525db12 1dac8c7a .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in j1939_session_deactivate_activate_next
2023/01/06 15:16 upstream 1f5abbd77e2c 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in j1939_session_deactivate_activate_next
2023/01/05 11:26 upstream 41c03ba9beea 1dac8c7a .config console log report info ci-qemu-upstream WARNING in j1939_session_deactivate_activate_next
2023/01/05 04:02 upstream 512dee0c00ad 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in j1939_session_deactivate_activate_next
2023/01/03 20:53 upstream 69b41ac87e4a 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in j1939_session_deactivate_activate_next
2022/12/25 19:55 upstream 72a85e2b0a1e 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in j1939_session_deactivate_activate_next
2022/12/22 17:11 upstream 9d2f6060fe4c c692fab1 .config console log report info ci-upstream-kasan-gce-root WARNING in j1939_session_deactivate_activate_next
2022/12/18 09:17 upstream f9ff5644bcc0 05494336 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in j1939_session_deactivate_activate_next
2022/12/14 13:06 upstream e2ca6ba6ba01 f6511626 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in j1939_session_deactivate_activate_next
2022/12/12 18:20 upstream 830b3c68c1fb 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in j1939_session_deactivate_activate_next
2022/12/06 10:38 upstream bce9332220bd 045cbb84 .config console log report info ci-qemu-upstream WARNING in j1939_session_deactivate_activate_next
2022/11/25 22:55 upstream 0b1dcc2cf55a 74a66371 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in j1939_session_deactivate_activate_next
2022/11/22 20:16 upstream eb7081409f94 9da37ae8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in j1939_session_deactivate_activate_next
2022/11/21 20:37 upstream eb7081409f94 1c576c23 .config console log report info ci-upstream-kasan-gce WARNING in j1939_session_deactivate_activate_next
2022/11/14 22:42 upstream 094226ad94f4 943f4cb8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce WARNING in j1939_session_deactivate_activate_next
2022/02/18 19:39 upstream 9195e5e0adbb 3cd800e4 .config console log report info ci-qemu-upstream WARNING in j1939_session_deactivate_activate_next
2023/01/19 15:23 upstream 7287904c8771 1b826a2f .config console log report info ci-upstream-kasan-gce-386 WARNING in j1939_session_deactivate_activate_next
2023/01/18 00:36 upstream c1649ec55708 42660d9e .config console log report info ci-qemu-upstream-386 WARNING in j1939_session_deactivate_activate_next
2023/01/17 22:17 upstream c1649ec55708 42660d9e .config console log report info ci-qemu-upstream-386 WARNING in j1939_session_deactivate_activate_next
2023/01/12 05:44 upstream e8f60cd7db24 96166539 .config console log report info ci-qemu-upstream-386 WARNING in j1939_session_deactivate_activate_next
2022/12/06 03:37 upstream 76dcd734eca2 045cbb84 .config console log report info ci-upstream-kasan-gce-386 WARNING in j1939_session_deactivate_activate_next
2023/01/16 04:56 net-old a22b7388d658 a63719e7 .config console log report info ci-upstream-net-this-kasan-gce WARNING in j1939_session_deactivate_activate_next
2023/01/15 21:28 net-old a22b7388d658 a63719e7 .config console log report info ci-upstream-net-this-kasan-gce WARNING in j1939_session_deactivate_activate_next
2022/12/06 13:00 net-old e329e71013c9 045cbb84 .config console log report info ci-upstream-net-this-kasan-gce WARNING in j1939_session_deactivate_activate_next
2023/02/03 00:44 net-next-old 8b6f322e47ba 16d19e30 .config console log report info ci-upstream-net-kasan-gce WARNING in j1939_session_deactivate_activate_next
2023/01/22 16:16 net-next-old a7b87d2a31dc 559a440a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in j1939_session_deactivate_activate_next
2023/01/19 02:29 net-next-old 68e5b6aa2795 42660d9e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in j1939_session_deactivate_activate_next
2023/01/15 16:28 net-next-old 298bfe27d112 a63719e7 .config console log report info ci-upstream-net-kasan-gce WARNING in j1939_session_deactivate_activate_next
2023/01/15 08:09 net-next-old 298bfe27d112 a63719e7 .config console log report info ci-upstream-net-kasan-gce WARNING in j1939_session_deactivate_activate_next
2023/01/13 03:33 net-next-old 55b98837e37d 96166539 .config console log report info ci-upstream-net-kasan-gce WARNING in j1939_session_deactivate_activate_next
2023/01/05 02:02 net-next-old 1f47510ed50a 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in j1939_session_deactivate_activate_next
2023/01/02 12:04 net-next-old c183e6c3ec34 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in j1939_session_deactivate_activate_next
2022/12/16 14:29 net-next-old 7e68dd7d07a2 79e1d513 .config console log report info ci-upstream-net-kasan-gce WARNING in j1939_session_deactivate_activate_next
2022/12/15 18:57 net-next-old 7e68dd7d07a2 6f9c033e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in j1939_session_deactivate_activate_next
2022/12/08 08:10 net-next-old a2220b54589b d88f3abb .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce WARNING in j1939_session_deactivate_activate_next
2023/01/18 08:17 linux-next f3381a7baf5c 42660d9e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in j1939_session_deactivate_activate_next
2023/01/15 16:41 linux-next 0a093b2893c7 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in j1939_session_deactivate_activate_next
2023/01/14 10:39 linux-next 0a093b2893c7 529798b0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in j1939_session_deactivate_activate_next
2023/01/11 00:25 linux-next 435bf71af3a0 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in j1939_session_deactivate_activate_next
2022/12/03 13:49 linux-next 9e46a7996732 e080de16 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in j1939_session_deactivate_activate_next
* Struck through repros no longer work on HEAD.