syzbot


general protection fault in batadv_iv_ogm_queue_add

Status: closed as dup on 2019/10/21 06:54
Subsystems: batman
[Documentation on labels]
Reported-by: syzbot+7dd2da51d8ae6f990403@syzkaller.appspotmail.com
First crash: 1721d, last: 1634d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
KASAN: use-after-free Read in batadv_iv_ogm_queue_add batman 3 1636d 1667d
Discussions (1)
Title Replies (including bot) Last reply
general protection fault in batadv_iv_ogm_queue_add 2 (3) 2019/10/21 06:54
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 general protection fault in batadv_iv_ogm_queue_add syz error 502 1496d 1634d 0/1 upstream: reported syz repro on 2019/11/03 07:10
linux-4.19 general protection fault in batadv_iv_ogm_queue_add 4 1640d 1657d 0/1 auto-closed as invalid on 2020/02/25 18:51

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 165 Comm: kworker/u4:3 Not tainted 5.4.0-rc5+ #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
RIP: 0010:batadv_iv_ogm_queue_add+0x49/0x1120 net/batman-adv/bat_iv_ogm.c:605
Code: 48 89 75 b8 48 89 4d c0 4c 89 45 b0 44 89 4d d0 e8 7c b0 45 fa 48 8d 7b 03 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 18 0d 00 00
RSP: 0018:ffff8880a969fb80 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffff888094436800
RDX: 0000000000000000 RSI: ffffffff872d7134 RDI: 0000000000000003
RBP: ffff8880a969fc18 R08: ffff888094436800 R09: 0000000000000001
R10: ffffed10152d3f77 R11: 0000000000000003 R12: dffffc0000000000
R13: ffffed1012886d0e R14: ffff888094436800 R15: 0000000100001ce4
FS:  0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000fa4df8 CR3: 00000000a751f000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 batadv_iv_ogm_schedule+0xb0b/0xe50 net/batman-adv/bat_iv_ogm.c:813
 batadv_iv_send_outstanding_bat_ogm_packet+0x580/0x760 net/batman-adv/bat_iv_ogm.c:1675
 process_one_work+0x9af/0x1740 kernel/workqueue.c:2269
 worker_thread+0x98/0xe40 kernel/workqueue.c:2415
 kthread+0x361/0x430 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
Modules linked in:
---[ end trace 9f59d5412fc5f09d ]---
RIP: 0010:batadv_iv_ogm_queue_add+0x49/0x1120 net/batman-adv/bat_iv_ogm.c:605
Code: 48 89 75 b8 48 89 4d c0 4c 89 45 b0 44 89 4d d0 e8 7c b0 45 fa 48 8d 7b 03 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 18 0d 00 00
RSP: 0018:ffff8880a969fb80 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffff888094436800
RDX: 0000000000000000 RSI: ffffffff872d7134 RDI: 0000000000000003
RBP: ffff8880a969fc18 R08: ffff888094436800 R09: 0000000000000001
R10: ffffed10152d3f77 R11: 0000000000000003 R12: dffffc0000000000
R13: ffffed1012886d0e R14: ffff888094436800 R15: 0000000100001ce4
FS:  0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000fa4df8 CR3: 00000000a751f000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (20):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/10/31 18:00 upstream e472c64aa4fa a41ca8fa .config console log report ci-upstream-kasan-gce-selinux-root
2019/10/31 09:43 upstream e472c64aa4fa a41ca8fa .config console log report ci-upstream-kasan-gce-smack-root
2019/10/27 05:32 upstream f877bee5ea0b 25bb509e .config console log report ci-upstream-kasan-gce-selinux-root
2019/10/26 06:02 upstream 8caacaad78b6 413926c5 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/23 12:54 upstream 13b86bc4cd64 d0686497 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/23 02:06 upstream 3b7c59a1950c 5681358a .config console log report ci-upstream-kasan-gce-root
2019/10/23 01:40 upstream 3b7c59a1950c 5681358a .config console log report ci-upstream-kasan-gce-selinux-root
2019/10/19 17:34 upstream 998d75510e37 8c88c9c1 .config console log report ci-upstream-kasan-gce-root
2019/10/16 06:18 upstream 3b1f00aceb7a d4ea592f .config console log report ci-upstream-kasan-gce-selinux-root
2019/10/15 18:10 upstream 5bc52f64e884 b5268b89 .config console log report ci-upstream-kasan-gce-root
2019/10/12 18:08 upstream 1c0cc5f1ae5e 426631dd .config console log report ci-upstream-kasan-gce-selinux-root
2019/10/10 10:44 upstream 8a8c600de5dc a4efa8c0 .config console log report ci-upstream-kasan-gce-smack-root
2019/10/06 09:58 upstream 43b815c6a8e7 f3f7d9c8 .config console log report ci-upstream-kasan-gce-selinux-root
2019/08/23 16:59 upstream 59c36bc8d377 78ded196 .config console log report ci-upstream-kasan-gce-selinux-root
2019/10/18 02:40 upstream 283ea345934d 8c88c9c1 .config console log report ci-upstream-kasan-gce-386
2019/10/16 07:45 upstream 3b1f00aceb7a d4ea592f .config console log report ci-upstream-kasan-gce-386
2019/11/03 07:33 net-next-old c23fcbbc6aa4 a41ca8fa .config console log report ci-upstream-net-kasan-gce
2019/10/20 11:11 linux-next c4b9850b3676 8c88c9c1 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/10/09 23:22 linux-next 1ba4389f4572 c4b9981b .config console log report ci-upstream-linux-next-kasan-gce-root
2019/08/08 01:17 linux-next 3880be629e26 e6ebef88 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.