syzbot


WARNING in batadv_iv_send_outstanding_bat_ogm_packet

Status: fixed on 2021/07/30 16:45
Reported-by: syzbot+8cbf4afda1e6f8461f9b@syzkaller.appspotmail.com
Fix commit: e8e9d2968a9d batman-adv: Avoid WARN_ON timing related checks
First crash: 1855d, last: 1240d
Fix bisection: fixed by (bisect log) :
commit e8e9d2968a9d08bf5c683afca182f1537edebf8d
Author: Sven Eckelmann <sven@narfation.org>
Date: Tue May 18 19:00:27 2021 +0000

  batman-adv: Avoid WARN_ON timing related checks

  
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 error 504 804d 1872d 0/1 upstream: reported C repro on 2019/10/06 23:00
upstream WARNING in batadv_iv_send_outstanding_bat_ogm_packet batman C done 12568 1239d 1865d 20/28 fixed on 2021/11/10 00:50

Sample crash report:
RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000001 R09: 00000000bb1414ac
R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffff
R13: 0000000000000006 R14: 0000000000000000 R15: 0000000000000000
------------[ cut here ]------------
WARNING: CPU: 1 PID: 23 at net/batman-adv/bat_iv_ogm.c:597 batadv_iv_ogm_emit net/batman-adv/bat_iv_ogm.c:597 [inline]
WARNING: CPU: 1 PID: 23 at net/batman-adv/bat_iv_ogm.c:597 batadv_iv_send_outstanding_bat_ogm_packet.cold+0x3f/0x46 net/batman-adv/bat_iv_ogm.c:1853
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 23 Comm: kworker/u4:1 Not tainted 4.19.94-syzkaller #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+0x197/0x210 lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x53 kernel/panic.c:541
 report_bug+0x263/0x2b0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x204/0x360 arch/x86/kernel/traps.c:296
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1037
RIP: 0010:batadv_iv_ogm_emit net/batman-adv/bat_iv_ogm.c:597 [inline]
RIP: 0010:batadv_iv_send_outstanding_bat_ogm_packet.cold+0x3f/0x46 net/batman-adv/bat_iv_ogm.c:1853
Code: 9c ff ff e8 73 c0 35 fa 48 c7 c7 c0 6c 67 88 e8 fb 23 20 fa e9 4d 9c ff ff e8 5d c0 35 fa 48 c7 c7 80 69 67 88 e8 e5 23 20 fa <0f> 0b e9 35 9c ff ff e8 45 c0 35 fa 48 c7 c7 80 69 67 88 e8 cd 23
RSP: 0018:ffff8880a996fcc8 EFLAGS: 00010282
RAX: 0000000000000024 RBX: ffff888090bf9c08 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8155baf6 RDI: ffffed101532df8b
RBP: ffff8880a996fd30 R08: 0000000000000024 R09: ffffed1015d25079
R10: ffffed1015d25078 R11: ffff8880ae9283c7 R12: ffff88808ea34080
R13: ffff88808d937200 R14: ffff888090bf9bc0 R15: ffff88808ea34080
 process_one_work+0x989/0x1750 kernel/workqueue.c:2153
 worker_thread+0x98/0xe40 kernel/workqueue.c:2296
 kthread+0x354/0x420 kernel/kthread.c:246
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (373):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/01/09 21:28 linux-4.19.y cb1f9a169a0e 4de4e9f0 .config console log report syz C ci2-linux-4-19
2019/11/27 14:26 linux-4.19.y 14260788bbb9 1048481f .config console log report syz ci2-linux-4-19
2019/11/23 15:37 linux-4.19.y c63ee2939dc1 598ca6c8 .config console log report syz ci2-linux-4-19
2019/11/22 03:37 linux-4.19.y c63ee2939dc1 8098ea0f .config console log report syz ci2-linux-4-19
2019/11/16 18:54 linux-4.19.y c555efaf1402 cdac920b .config console log report syz ci2-linux-4-19
2021/06/30 10:35 linux-4.19.y eb575cd5d7f6 84fd4c77 .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/06/28 15:48 linux-4.19.y eb575cd5d7f6 9d2ab5df .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/06/28 12:52 linux-4.19.y eb575cd5d7f6 9d2ab5df .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/06/27 04:28 linux-4.19.y eb575cd5d7f6 9d2ab5df .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/06/26 05:30 linux-4.19.y eb575cd5d7f6 9d2ab5df .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/06/24 23:28 linux-4.19.y eb575cd5d7f6 0edbbe31 .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/06/24 10:13 linux-4.19.y eb575cd5d7f6 ec865f6a .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/06/24 07:00 linux-4.19.y eb575cd5d7f6 fe4ab389 .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/06/24 04:36 linux-4.19.y eb575cd5d7f6 fe4ab389 .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/06/22 01:56 linux-4.19.y eb575cd5d7f6 aba2b2fb .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/06/20 15:38 linux-4.19.y eb575cd5d7f6 aba2b2fb .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/06/20 12:28 linux-4.19.y eb575cd5d7f6 aba2b2fb .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/06/19 08:49 linux-4.19.y eb575cd5d7f6 aba2b2fb .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/06/15 20:28 linux-4.19.y 9a2dc0e6c531 8022d7e3 .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/06/15 09:30 linux-4.19.y 9a2dc0e6c531 8022d7e3 .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/06/15 03:44 linux-4.19.y 9a2dc0e6c531 1ba81399 .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/06/12 13:19 linux-4.19.y 9a2dc0e6c531 1ba81399 .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/06/10 19:51 linux-4.19.y 9a2dc0e6c531 1ba81399 .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/06/10 01:27 linux-4.19.y 1722257b8ece 1ba81399 .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/06/09 08:23 linux-4.19.y 1722257b8ece 5c2fe346 .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/06/07 07:27 linux-4.19.y 1722257b8ece e59537be .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/06/05 15:28 linux-4.19.y 1722257b8ece 500c2339 .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/06/03 10:15 linux-4.19.y 1722257b8ece 0740de69 .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/06/03 07:22 linux-4.19.y 1722257b8ece 0740de69 .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/06/02 15:21 linux-4.19.y 6b7b0056defc 0740de69 .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/06/02 09:16 linux-4.19.y 6b7b0056defc 0740de69 .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/06/01 19:22 linux-4.19.y 6b7b0056defc 032639db .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/06/01 16:05 linux-4.19.y 6b7b0056defc 032639db .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/06/01 03:11 linux-4.19.y 6b7b0056defc 032639db .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/05/31 05:28 linux-4.19.y 6b7b0056defc 325a8dab .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/05/28 11:16 linux-4.19.y 6b7b0056defc 858ea628 .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/05/28 05:33 linux-4.19.y 6b7b0056defc 858ea628 .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/05/27 22:55 linux-4.19.y 6b7b0056defc 858ea628 .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/05/26 22:24 linux-4.19.y 6b7b0056defc 858ea628 .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/05/26 12:28 linux-4.19.y 6b7b0056defc 750ce164 .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/05/25 22:41 linux-4.19.y 1e986fe9ad15 93d3a9f6 .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/05/25 19:30 linux-4.19.y 1e986fe9ad15 93d3a9f6 .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/05/25 17:37 linux-4.19.y 1e986fe9ad15 93d3a9f6 .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/05/24 17:44 linux-4.19.y 1e986fe9ad15 3c7fef33 .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/05/22 01:26 linux-4.19.y 3c8c23092588 3c7fef33 .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/05/21 13:50 linux-4.19.y 3c8c23092588 3c7fef33 .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/05/20 14:23 linux-4.19.y 3c8c23092588 c560a65d .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/05/20 08:24 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/05/19 07:23 linux-4.19.y 3c8c23092588 a343ba6b .config console log report info ci2-linux-4-19 WARNING in batadv_iv_send_outstanding_bat_ogm_packet
2021/01/16 20:59 linux-4.19.y 675cc038067f 65a7a854 .config console log report info ci2-linux-4-19
2019/10/23 16:49 linux-4.19.y c3038e718a19 b602d64b .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.