syzbot


general protection fault in batadv_iv_ogm_schedule_buff (2)

Status: auto-closed as invalid on 2021/01/27 07:05
Subsystems: batman
[Documentation on labels]
Reported-by: syzbot+2eeeb5ad0766b57394d8@syzkaller.appspotmail.com
First crash: 1386d, last: 1302d
Discussions (1)
Title Replies (including bot) Last reply
general protection fault in batadv_iv_ogm_schedule_buff (2) 1 (2) 2020/07/07 19:51
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 general protection fault in batadv_iv_ogm_schedule_buff (2) 2 910d 954d 0/1 auto-closed as invalid on 2022/02/23 03:02
linux-4.14 general protection fault in batadv_iv_ogm_schedule_buff 1 1467d 1467d 1/1 fixed on 2020/07/08 19:03
linux-4.14 general protection fault in batadv_iv_ogm_schedule_buff (2) 1 1384d 1384d 0/1 auto-closed as invalid on 2020/11/06 04:28
linux-4.19 general protection fault in batadv_iv_ogm_schedule_buff 6 1498d 1554d 1/1 fixed on 2020/07/08 18:45
upstream general protection fault in batadv_iv_ogm_schedule_buff batman 24 1505d 1528d 15/26 fixed on 2020/04/15 17:19
linux-4.14 general protection fault in batadv_iv_ogm_schedule_buff (3) 1 1151d 1151d 0/1 auto-closed as invalid on 2021/06/27 06:13

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc000000000e: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000070-0x0000000000000077]
CPU: 0 PID: 21 Comm: kworker/u4:1 Not tainted 5.9.0-rc7-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_schedule_buff+0xd1e/0x1410 net/batman-adv/bat_iv_ogm.c:843
Code: 80 3c 28 00 0f 85 ee 05 00 00 4d 8b 3f 49 81 ff 20 df 02 8e 0f 84 dd 02 00 00 e8 bd 57 70 f9 49 8d 7f 70 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 af 06 00 00 48 8b 44 24 08 49 8b 6f 70 80 38
RSP: 0018:ffffc90000dd7b98 EFLAGS: 00010202
RAX: 000000000000000e RBX: ffff8880a6b62000 RCX: ffffffff8805e97d
RDX: ffff8880a97ce580 RSI: ffffffff8805e6d3 RDI: 0000000000000070
RBP: 0000000000000000 R08: 0000000000000001 R09: ffff88809237302b
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000007
R13: dffffc0000000000 R14: ffff88804ceb8c80 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880ae400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000746138 CR3: 00000000a82b6000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:869 [inline]
 batadv_iv_ogm_schedule net/batman-adv/bat_iv_ogm.c:862 [inline]
 batadv_iv_send_outstanding_bat_ogm_packet+0x5c8/0x800 net/batman-adv/bat_iv_ogm.c:1723
 process_one_work+0x94c/0x1670 kernel/workqueue.c:2269
 worker_thread+0x64c/0x1120 kernel/workqueue.c:2415
 kthread+0x3b5/0x4a0 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294
Modules linked in:
---[ end trace 5b065cbb068e5526 ]---
RIP: 0010:batadv_iv_ogm_schedule_buff+0xd1e/0x1410 net/batman-adv/bat_iv_ogm.c:843
Code: 80 3c 28 00 0f 85 ee 05 00 00 4d 8b 3f 49 81 ff 20 df 02 8e 0f 84 dd 02 00 00 e8 bd 57 70 f9 49 8d 7f 70 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 af 06 00 00 48 8b 44 24 08 49 8b 6f 70 80 38
RSP: 0018:ffffc90000dd7b98 EFLAGS: 00010202
RAX: 000000000000000e RBX: ffff8880a6b62000 RCX: ffffffff8805e97d
RDX: ffff8880a97ce580 RSI: ffffffff8805e6d3 RDI: 0000000000000070
RBP: 0000000000000000 R08: 0000000000000001 R09: ffff88809237302b
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000007
R13: dffffc0000000000 R14: ffff88804ceb8c80 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8880ae400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000746138 CR3: 0000000093758000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/09/29 07:05 upstream fb0155a09b02 1b88c6d5 .config console log report info ci-upstream-kasan-gce
2020/07/10 22:41 upstream a581387e415b 18d18b59 .config console log report ci-upstream-kasan-gce
2020/07/07 11:33 upstream 7cc2a8ea1048 51095195 .config console log report ci-upstream-kasan-gce
2020/07/07 07:23 upstream 7cc2a8ea1048 51095195 .config console log report ci-upstream-kasan-gce-root
* Struck through repros no longer work on HEAD.