syzbot


WARNING in batadv_iv_send_outstanding_bat_ogm_packet
Status: fixed on 2021/11/10 00:50
Reported-by: syzbot+c0b807de416427ff3dd1@syzkaller.appspotmail.com
Fix commit: 9f460ae31c44 batman-adv: Avoid WARN_ON timing related checks
First crash: 963d, last: 329d

Cause bisection: introduced by (bisect log) :
commit 26d051e301f67cdd2ea3404abb43902f13214efa
Author: Arvind Yadav <arvind.yadav.cs@gmail.com>
Date: Thu Jun 29 08:21:35 2017 +0000

  media: exynos4-is: fimc-is-i2c: constify dev_pm_ops structures

Crash: INFO: rcu detected stall in do_exit (log)
Repro: C syz .config
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in batadv_iv_send_outstanding_bat_ogm_packet C 504 14d 962d 0/1 upstream: reported C repro on 2019/10/06 23:00
linux-4.19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet C done 373 329d 945d 1/1 fixed on 2021/07/30 16:45
Patch testing requests:
Created Duration User Patch Repo Result
2021/06/06 13:46 19m penguin-kernel@i-love.sakura.ne.jp patch upstream OK
2021/06/06 12:52 12m penguin-kernel@i-love.sakura.ne.jp patch upstream report log
2020/09/15 13:53 4m anant.thazhemadam@gmail.com https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master error
2020/09/11 09:35 4m anant.thazhemadam@gmail.com https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master error

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 30 at net/batman-adv/bat_iv_ogm.c:382 batadv_iv_ogm_emit net/batman-adv/bat_iv_ogm.c:382 [inline]
WARNING: CPU: 1 PID: 30 at net/batman-adv/bat_iv_ogm.c:382 batadv_iv_send_outstanding_bat_ogm_packet+0x6b4/0x770 net/batman-adv/bat_iv_ogm.c:1663
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 30 Comm: kworker/u4:2 Not tainted 5.4.0-rc2+ #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1d8/0x2f8 lib/dump_stack.c:113
 panic+0x264/0x7a9 kernel/panic.c:221
 __warn+0x20e/0x210 kernel/panic.c:582
 report_bug+0x1b6/0x2f0 lib/bug.c:195
 fixup_bug arch/x86/kernel/traps.c:179 [inline]
 do_error_trap+0xd7/0x440 arch/x86/kernel/traps.c:272
 do_invalid_op+0x36/0x40 arch/x86/kernel/traps.c:291
 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1028
RIP: 0010:batadv_iv_ogm_emit net/batman-adv/bat_iv_ogm.c:382 [inline]
RIP: 0010:batadv_iv_send_outstanding_bat_ogm_packet+0x6b4/0x770 net/batman-adv/bat_iv_ogm.c:1663
Code: 66 05 00 eb 05 e8 9c 48 23 fa 48 83 c4 68 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 88 48 23 fa 0f 0b e9 34 ff ff ff e8 7c 48 23 fa <0f> 0b e9 28 ff ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c c1 f9 ff
RSP: 0018:ffff8880a9abfc48 EFLAGS: 00010293
RAX: ffffffff874fe8a4 RBX: ffff888094160870 RCX: ffff8880a9ab2080
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000002
RBP: ffff8880a9abfcd8 R08: ffffffff874fe28e R09: ffffed10123e6969
R10: ffffed10123e6969 R11: 0000000000000000 R12: ffff888091f34000
R13: dffffc0000000000 R14: ffff8880a80c5000 R15: ffff8880a4481400
 process_one_work+0x7ef/0x10e0 kernel/workqueue.c:2269
 worker_thread+0xc01/0x1630 kernel/workqueue.c:2415
 kthread+0x332/0x350 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (12568):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-smack-root 2019/10/13 20:54 upstream da94001239cc 2f661ec4 .config log report syz C
ci-upstream-kasan-gce-selinux-root 2021/05/28 12:21 upstream 97e5bf604b7a 858ea628 .config log report syz WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-kasan-gce-smack-root 2020/01/20 21:01 upstream def9d2780727 d2557fb5 .config log report syz
ci-upstream-kasan-gce 2020/01/19 21:53 upstream 8f8972a3127f 0342f8c7 .config log report syz
ci-upstream-net-this-kasan-gce 2020/03/02 00:04 net 3614d05b5e6b c88c7b75 .config log report syz
ci-upstream-kasan-gce-selinux-root 2021/06/19 05:08 upstream b1edae0d5f2e aba2b2fb .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-kasan-gce 2021/06/11 07:05 upstream f09eacca59d2 1ba81399 .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-kasan-gce-smack-root 2021/06/02 04:30 upstream 231bc5390667 032639db .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-qemu-upstream 2021/05/26 10:17 upstream ad9f25d33860 93d3a9f6 .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-kasan-gce-root 2021/05/22 20:31 upstream 23d729263037 3c7fef33 .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-kasan-gce-386 2021/06/16 12:29 upstream 94f0b2d4a1d0 c06f97ad .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-qemu-upstream-386 2021/05/13 02:03 upstream dbb5afad100a ed7d41c5 .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-kasan-gce 2021/06/15 08:14 bpf 973377ffe814 1ba81399 .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-net-this-kasan-gce 2021/06/08 06:10 net aaab3076d7c7 b718257f .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/29 00:23 bpf-next 328aac5ecd11 9d2ab5df .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/28 23:20 bpf-next 328aac5ecd11 9d2ab5df .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/28 22:49 bpf-next 328aac5ecd11 9d2ab5df .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/28 21:37 bpf-next 328aac5ecd11 9d2ab5df .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/28 20:35 bpf-next 328aac5ecd11 9d2ab5df .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/28 19:06 bpf-next 328aac5ecd11 9d2ab5df .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/28 17:51 bpf-next 328aac5ecd11 9d2ab5df .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/28 12:46 bpf-next a196fa78a265 9d2ab5df .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/28 11:32 bpf-next a196fa78a265 9d2ab5df .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/28 09:25 bpf-next a196fa78a265 9d2ab5df .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/28 08:42 bpf-next a196fa78a265 9d2ab5df .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/28 06:12 bpf-next a196fa78a265 9d2ab5df .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/28 04:51 bpf-next a196fa78a265 9d2ab5df .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/28 02:45 bpf-next a196fa78a265 9d2ab5df .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/28 01:33 bpf-next a196fa78a265 9d2ab5df .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/27 20:24 bpf-next a196fa78a265 9d2ab5df .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/27 18:43 bpf-next a196fa78a265 9d2ab5df .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/27 16:54 bpf-next a196fa78a265 9d2ab5df .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/27 12:02 bpf-next a196fa78a265 9d2ab5df .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/27 10:57 bpf-next a196fa78a265 9d2ab5df .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/27 10:20 bpf-next a196fa78a265 9d2ab5df .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/27 03:43 bpf-next a196fa78a265 9d2ab5df .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/27 02:03 bpf-next a196fa78a265 9d2ab5df .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/26 20:24 bpf-next a196fa78a265 9d2ab5df .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/26 18:13 bpf-next a196fa78a265 9d2ab5df .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/26 12:20 bpf-next a196fa78a265 9d2ab5df .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/26 10:54 bpf-next a196fa78a265 9d2ab5df .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/26 06:26 bpf-next a196fa78a265 9d2ab5df .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/26 04:57 bpf-next a196fa78a265 ae6bf8dd .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/26 02:49 bpf-next a196fa78a265 ae6bf8dd .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/25 21:21 bpf-next a196fa78a265 ae6bf8dd .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/25 18:05 bpf-next a196fa78a265 ae6bf8dd .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/25 15:05 bpf-next a196fa78a265 ae6bf8dd .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/25 12:12 bpf-next a196fa78a265 0edbbe31 .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/25 04:15 bpf-next 0cc84b9a6003 0edbbe31 .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/24 19:23 bpf-next ced50fc49f3b ec865f6a .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/24 15:50 bpf-next ced50fc49f3b ec865f6a .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/24 12:19 bpf-next ced50fc49f3b ec865f6a .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/24 05:41 bpf-next 4b9718b5a201 fe4ab389 .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/24 04:29 bpf-next 4b9718b5a201 fe4ab389 .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/24 00:22 bpf-next 4b9718b5a201 fe4ab389 .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/23 22:33 bpf-next 4b9718b5a201 fe4ab389 .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-bpf-next-kasan-gce 2021/06/23 18:11 bpf-next 4b9718b5a201 aba2b2fb .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-net-kasan-gce 2021/06/18 10:50 net-next 8fe088bd4fd1 aba2b2fb .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-linux-next-kasan-gce-root 2021/06/30 20:20 linux-next a1f92694393a 38a885d1 .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-linux-next-kasan-gce-root 2021/06/29 06:52 linux-next a1f92694393a 9d2ab5df .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-linux-next-kasan-gce-root 2021/06/18 22:45 linux-next a1f92694393a aba2b2fb .config log report info WARNING in batadv_iv_send_outstanding_bat_ogm_packet
ci-upstream-kasan-gce-selinux-root 2019/10/05 18:41 upstream 4ea655343ce4 f3f7d9c8 .config log report
ci-upstream-bpf-next-kasan-gce 2021/01/17 12:57 bpf-next 232164e041e9 813be542 .config log report info