syzbot


WARNING in j1939_sk_queue_activate_next
Status: upstream: reported C repro on 2019/11/21 03:25
Reported-by: syzbot+49595536c57ef38095ed@syzkaller.appspotmail.com
First crash: 917d, last: 3d20h

Cause bisection: introduced by (bisect log) :
commit 9d71dd0c70099914fcd063135da3c580865e924c
Author: The j1939 authors <linux-can@vger.kernel.org>
Date: Mon Oct 8 09:48:36 2018 +0000

  can: add support of SAE J1939 protocol

Crash: WARNING in j1939_sk_queue_activate_next (log)
Repro: C syz .config

Fix bisection: failed (bisect log)

Sample crash report:
vcan0: j1939_xtp_rx_abort_one: 0xffff88806ec0b400: 0x40000: (3) A timeout occurred and this is the connection abort to close the session.
vcan0: j1939_tp_rxtimer: 0xffff88806db3f800: rx timeout, send abort
vcan0: j1939_tp_rxtimer: 0xffff88806db3ec00: rx timeout, send abort
vcan0: j1939_tp_rxtimer: 0xffff88806d90c800: abort rx timeout. Force session deactivation
------------[ cut here ]------------
WARNING: CPU: 0 PID: 13 at net/can/j1939/socket.c:181 j1939_sk_queue_activate_next_locked net/can/j1939/socket.c:181 [inline]
WARNING: CPU: 0 PID: 13 at net/can/j1939/socket.c:181 j1939_sk_queue_activate_next+0x34d/0x460 net/can/j1939/socket.c:205
Modules linked in:
CPU: 0 PID: 13 Comm: ksoftirqd/0 Not tainted 5.17.0-rc2-syzkaller-00650-g5a8fb33e5305 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:j1939_sk_queue_activate_next_locked net/can/j1939/socket.c:181 [inline]
RIP: 0010:j1939_sk_queue_activate_next+0x34d/0x460 net/can/j1939/socket.c:205
Code: 1c 83 c0 0a 89 44 24 04 eb 9d 48 c7 c7 ac 05 94 8d e8 b7 04 99 f9 e9 73 fd ff ff e8 ad 04 99 f9 e9 19 fe ff ff e8 03 8e 51 f9 <0f> 0b 49 8d bf b8 00 00 00 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84
RSP: 0018:ffffc90000d27c80 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff888074ad0000 RCX: 0000000000000100
RDX: ffff888011918000 RSI: ffffffff8826ea8d RDI: 0000000000000003
RBP: ffff888074ad05a8 R08: 0000000000000000 R09: ffffffff8ffc4a3f
R10: ffffffff8826e9e8 R11: 0000000000000001 R12: ffff88806d9e6c00
R13: ffff888074ad05e8 R14: dffffc0000000000 R15: ffff88806d9e6c18
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff2a08f1718 CR3: 000000000b88e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 j1939_session_deactivate_activate_next+0x2e/0x35 net/can/j1939/transport.c:1101
 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
 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>

Crashes (103):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-net-kasan-gce 2022/02/09 11:02 net-next 5a8fb33e5305 0b33604d .config log report syz C WARNING in j1939_sk_queue_activate_next
ci-upstream-kasan-gce-selinux-root 2019/11/21 12:45 upstream c74386d50fba 8098ea0f .config log report syz C
ci-upstream-kasan-gce 2019/11/21 03:38 upstream c74386d50fba 8098ea0f .config log report syz C
ci-upstream-kasan-gce-root 2019/11/21 03:34 upstream c74386d50fba 8098ea0f .config log report syz C
ci-upstream-kasan-gce-smack-root 2019/11/21 03:31 upstream c74386d50fba 8098ea0f .config log report syz C
ci-upstream-kasan-gce-386 2019/11/21 03:38 upstream c74386d50fba 8098ea0f .config log report syz C
ci-upstream-net-this-kasan-gce 2019/11/21 03:33 net 6e4ff1c94a04 8098ea0f .config log report syz C
ci-upstream-net-kasan-gce 2019/11/21 02:44 net-next 1f12177b322d 8098ea0f .config log report syz C
ci-upstream-linux-next-kasan-gce-root 2019/12/06 10:44 linux-next 838333c80c4f 98b4ef2d .config log report syz C
ci-upstream-kasan-gce-root 2022/05/15 05:00 upstream 2fe1020d73ca 744a39e2 .config log report syz WARNING in j1939_sk_queue_activate_next
ci-upstream-kasan-gce 2022/02/09 10:17 upstream e6251ab4551f 0b33604d .config log report syz WARNING in j1939_sk_queue_activate_next
ci-upstream-net-this-kasan-gce 2022/02/09 10:52 net 23de0d7b6f0e 0b33604d .config log report syz WARNING in j1939_sk_queue_activate_next
ci-upstream-kasan-gce 2022/04/15 22:52 upstream 028192fea1de 8bcc32a6 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-kasan-gce-smack-root 2022/03/22 01:03 upstream f443e374ae13 e2d91b1d .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-kasan-gce-smack-root 2022/03/21 23:43 upstream f443e374ae13 e2d91b1d .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-kasan-gce 2022/03/14 18:59 upstream 09688c0166e7 9e8eaa75 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-kasan-gce 2022/03/07 10:05 upstream ffb217a13a2e 7bdd8b2c .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-kasan-gce-smack-root 2022/02/21 17:18 upstream cfb92440ee71 3cd800e4 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-kasan-gce 2022/02/07 10:18 upstream d8ad2ce873ab a7dab638 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-kasan-gce 2022/01/03 20:58 upstream c9e6606c7fe9 4a3f34f2 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-kasan-gce-root 2021/12/12 12:27 upstream a763d5a5abd6 49ca1f59 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-kasan-gce-selinux-root 2021/12/02 19:20 upstream 58e1100fdc59 61f86278 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-kasan-gce 2021/11/01 17:30 upstream 8bb7eca972ad 098b5d53 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-kasan-gce 2021/10/08 07:30 upstream 1da38549dd64 efe0f24d .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-kasan-gce 2021/10/06 12:55 upstream 60a9483534ed 0a63fd36 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-kasan-gce 2021/10/04 01:16 upstream 6761a0ae9895 db0f5787 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-kasan-gce-selinux-root 2021/09/05 16:11 upstream 49624efa65ac d236a457 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-kasan-gce-root 2021/09/01 17:23 upstream b91db6a0b52e 7eb7e152 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-kasan-gce-root 2021/07/25 15:52 upstream 6498f6151825 4d1b57d4 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-kasan-gce-386 2022/02/27 15:18 upstream 2293be58d6a1 45a13a73 .config log report info WARNING in j1939_sk_queue_activate_next
ci-qemu2-arm32 2022/01/05 01:49 upstream c9e6606c7fe9 0a2584dd .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-kasan-gce-386 2021/11/29 03:39 upstream d06c942efea4 63eeac02 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-this-kasan-gce 2022/05/22 18:55 net eb4c07889647 7268fa62 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-this-kasan-gce 2022/04/28 23:25 net febb2d2fa561 e9076525 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-this-kasan-gce 2022/04/20 18:27 net 234901de2bc6 160a3f31 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-this-kasan-gce 2022/03/28 10:12 net bcb74e132a76 89bc8608 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-this-kasan-gce 2022/03/26 19:18 net b50d3b46f842 89bc8608 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-this-kasan-gce 2022/02/14 06:37 net 143de8d97d79 8b9ca619 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-this-kasan-gce 2022/02/05 16:18 net f8d9d938514f a7dab638 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-this-kasan-gce 2022/02/02 09:55 net 881cc731df6a 4ebb2798 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-this-kasan-gce 2022/02/01 09:15 net 341adeec9ada 6b7c57fe .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-this-kasan-gce 2022/01/26 18:01 net 429c3be8a5e2 2cbffd88 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-this-kasan-gce 2022/01/18 03:17 net 9ea674d7ca4f 731a2d23 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-this-kasan-gce 2022/01/15 15:39 net 9d6d7f1cb67c 723cfaf0 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-this-kasan-gce 2022/01/12 16:39 net 29b3881b7977 44d1319a .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-this-kasan-gce 2022/01/06 07:51 net 502a2ce9cdf4 6acc789a .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-this-kasan-gce 2021/10/11 05:39 net 732b74d64704 838e7e2c .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-kasan-gce 2022/04/26 16:59 net-next cc271ab86606 1fa34c1b .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-kasan-gce 2022/03/27 02:18 net-next 169e77764adc 89bc8608 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-kasan-gce 2022/03/08 12:40 net-next 72f00505f2d2 7bdd8b2c .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-kasan-gce 2022/03/04 23:42 net-next f9f52c347428 45a13a73 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-kasan-gce 2022/02/05 05:18 net-next 41414c9bdbb8 e13a05ed .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-kasan-gce 2022/02/01 20:44 net-next 9a90986efcff c1c1631d .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-kasan-gce 2022/01/19 05:07 net-next fe8152b38d3a 731a2d23 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-kasan-gce 2022/01/14 14:18 net-next fe8152b38d3a b8d780ab .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-kasan-gce 2022/01/13 12:07 net-next fe8152b38d3a 44d1319a .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-kasan-gce 2022/01/11 23:14 net-next fe8152b38d3a 44d1319a .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-kasan-gce 2021/12/28 19:46 net-next 0f1eae8e565e 76c8cf06 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-kasan-gce 2021/12/23 11:17 net-next e087cba11677 6caa12e4 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-kasan-gce 2021/11/23 08:47 net-next 3b0e04140bc3 545ab074 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-kasan-gce 2021/11/15 03:32 net-next 1274a4eb318d 83f5c9b5 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-kasan-gce 2021/11/04 20:55 net-next cc0356d6a02e 4c1be0be .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-kasan-gce 2021/01/11 20:12 upstream 7c53f6b671f4 2c1f2513 .config log report info
ci-upstream-net-kasan-gce 2019/11/21 01:40 net-next 1f12177b322d 8098ea0f .config log report
ci-upstream-linux-next-kasan-gce-root 2021/01/16 20:33 linux-next b3a3cbdec55b 65a7a854 .config log report info