syzbot


general protection fault in batadv_iv_send_outstanding_bat_ogm_packet

Status: auto-closed as invalid on 2020/12/02 11:01
Reported-by: syzbot+67c47b15450f54413571@syzkaller.appspotmail.com
First crash: 1572d, last: 1572d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 general protection fault in batadv_iv_send_outstanding_bat_ogm_packet 1 1716d 1716d 0/1 auto-closed as invalid on 2020/07/11 10:23

Sample crash report:
IPVS: ftp: loaded support on port[0] = 21
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: 0 PID: 23 Comm: kworker/u4:1 Not tainted 4.19.136-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
RIP: 0010:batadv_iv_ogm_aggr_packet net/batman-adv/bat_iv_ogm.c:511 [inline]
RIP: 0010:batadv_iv_ogm_send_to_if net/batman-adv/bat_iv_ogm.c:538 [inline]
RIP: 0010:batadv_iv_ogm_emit net/batman-adv/bat_iv_ogm.c:604 [inline]
RIP: 0010:batadv_iv_send_outstanding_bat_ogm_packet+0x408/0x7a0 net/batman-adv/bat_iv_ogm.c:1857
Code: 24 3b 00 48 89 44 24 30 48 89 cd 4c 89 74 24 20 e8 4d 4f 4c fa 48 8d 7d 16 48 b9 00 00 00 00 00 fc ff df 48 89 f8 48 c1 e8 03 <0f> b6 14 08 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 4d
RSP: 0018:ffff8880a9507cc8 EFLAGS: 00010203
RAX: 0000000000000002 RBX: ffff8880529dc0c8 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: ffffffff871d5ff3 RDI: 0000000000000016
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000017
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000018
R13: 0000000000000000 R14: ffff8880529dc080 R15: 000000000000003c
FS:  0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd31140e37 CR3: 00000001feed9000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 process_one_work+0x864/0x1570 kernel/workqueue.c:2155
 worker_thread+0x64c/0x1130 kernel/workqueue.c:2298
 kthread+0x30b/0x410 kernel/kthread.c:246
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Modules linked in:
---[ end trace ffb0647477651b7c ]---
RIP: 0010:batadv_iv_ogm_aggr_packet net/batman-adv/bat_iv_ogm.c:511 [inline]
RIP: 0010:batadv_iv_ogm_send_to_if net/batman-adv/bat_iv_ogm.c:538 [inline]
RIP: 0010:batadv_iv_ogm_emit net/batman-adv/bat_iv_ogm.c:604 [inline]
RIP: 0010:batadv_iv_send_outstanding_bat_ogm_packet+0x408/0x7a0 net/batman-adv/bat_iv_ogm.c:1857
Code: 24 3b 00 48 89 44 24 30 48 89 cd 4c 89 74 24 20 e8 4d 4f 4c fa 48 8d 7d 16 48 b9 00 00 00 00 00 fc ff df 48 89 f8 48 c1 e8 03 <0f> b6 14 08 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 4d
RSP: 0018:ffff8880a9507cc8 EFLAGS: 00010203
RAX: 0000000000000002 RBX: ffff8880529dc0c8 RCX: dffffc0000000000
RDX: 0000000000000000 RSI: ffffffff871d5ff3 RDI: 0000000000000016
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000017
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000018
R13: 0000000000000000 R14: ffff8880529dc080 R15: 000000000000003c
FS:  0000000000000000(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd31140e37 CR3: 00000001feed9000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/08/04 11:00 linux-4.19.y 13af6c74b14a 80a06902 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.