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: 1042d, last: 61d

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: 0xffff88806f228c00: 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/socket.c:181 j1939_sk_queue_activate_next_locked net/can/j1939/socket.c:181 [inline]
WARNING: CPU: 0 PID: 15 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: 15 Comm: ksoftirqd/0 Not tainted 5.19.0-rc7-syzkaller-01445-g3c47fb2f4c4d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
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 0c 52 bc 8d e8 27 ce 76 f9 e9 73 fd ff ff e8 1d ce 76 f9 e9 19 fe ff ff e8 e3 5e 29 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:ffffc90000147940 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff888017062000 RCX: 0000000000000100
RDX: ffff888011a83b00 RSI: ffffffff8851129d RDI: 0000000000000005
RBP: ffff8880170625a0 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000fffffff5 R11: 0000000000000000 R12: ffff88806f228000
R13: ffff8880170625e0 R14: dffffc0000000000 R15: ffff88806f228018
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff7c04bbd8 CR3: 0000000025f45000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 j1939_session_deactivate_activate_next+0xc8/0xd3 net/can/j1939/transport.c:1101
 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:5484
 __netif_receive_skb+0x24/0x1b0 net/core/dev.c:5598
 process_backlog+0x3a0/0x7c0 net/core/dev.c:5926
 __napi_poll+0xb3/0x6e0 net/core/dev.c:6510
 napi_poll net/core/dev.c:6577 [inline]
 net_rx_action+0x9c1/0xd90 net/core/dev.c:6688
 __do_softirq+0x29b/0x9c2 kernel/softirq.c:571
 run_ksoftirqd kernel/softirq.c:934 [inline]
 run_ksoftirqd+0x2d/0x60 kernel/softirq.c:926
 smpboot_thread_fn+0x645/0x9c0 kernel/smpboot.c:164
 kthread+0x2e9/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>

Crashes (114):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-net-kasan-gce 2022/07/27 17:42 net-next 3c47fb2f4c4d da9d0366 .config log report syz C WARNING in j1939_sk_queue_activate_next
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-selinux-root 2022/07/29 03:57 upstream 33ea1340bafe fb95c74d .config log report syz WARNING in j1939_sk_queue_activate_next
ci-upstream-kasan-gce 2022/07/27 17:34 upstream 39c3c396f813 da9d0366 .config log report syz WARNING in j1939_sk_queue_activate_next
ci-upstream-kasan-gce-smack-root 2022/06/27 13:28 upstream 03c765b0e3b4 a371c43c .config log report syz WARNING in j1939_sk_queue_activate_next
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/07/27 17:00 net b5177ed92bf6 da9d0366 .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-linux-next-kasan-gce-root 2022/06/27 23:37 linux-next aab35c3d5112 ef82eb2c .config log report syz WARNING in j1939_sk_queue_activate_next
ci-upstream-kasan-gce 2022/06/23 11:10 upstream 3abc3ae553c7 912f5df7 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-kasan-gce 2022/06/16 04:57 upstream 979086f5e006 1719ee24 .config log report info 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-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-kasan-gce 2022/07/06 22:15 net-next 4874fb9484be bff65f44 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-kasan-gce 2022/06/19 08:38 net-next dbca1596bbb0 8f633d84 .config log report info WARNING in j1939_sk_queue_activate_next
ci-upstream-net-kasan-gce 2022/06/09 19:11 net-next 263efe85a4b6 0d5abf15 .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 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
* Struck through repros no longer work on HEAD.