syzbot


general protection fault in synic_get

Status: closed as dup on 2021/02/26 17:54
Subsystems: kvm
[Documentation on labels]
Reported-by: syzbot+0182764296ab74754c77@syzkaller.appspotmail.com
First crash: 1172d, last: 1162d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
general protection fault in kvm_hv_irq_routing_update kvm C done 33 1162d 1168d
Discussions (1)
Title Replies (including bot) Last reply
general protection fault in synic_get 1 (2) 2021/02/26 17:54

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000028: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000140-0x0000000000000147]
CPU: 1 PID: 19818 Comm: syz-executor.5 Not tainted 5.12.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:synic_get+0x37f/0x450 arch/x86/kvm/hyperv.c:165
Code: 74 08 48 89 ef e8 d1 26 a5 00 48 8b 6d 00 48 8d 5d 20 48 81 c5 40 01 00 00 48 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <8a> 04 08 84 c0 0f 85 8b 00 00 00 0f b6 6d 00 45 31 f6 31 ff 89 ee
RSP: 0018:ffffc9000943fcb8 EFLAGS: 00010206
RAX: 0000000000000028 RBX: 0000000000000020 RCX: dffffc0000000000
RDX: ffffc900132ef000 RSI: 000000000000151f RDI: 0000000000001520
RBP: 0000000000000140 R08: ffffffff81178578 R09: fffff52000ff833e
R10: fffff52000ff833e R11: 0000000000000000 R12: ffff88807d120028
R13: ffffc90007fc19e8 R14: 1ffff92000ff833d R15: 0000000000000000
FS:  00007f313c78b700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f313c78b718 CR3: 00000000863c8000 CR4: 00000000001526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 kvm_hv_set_sint_gsi arch/x86/kvm/hyperv.c:475 [inline]
 kvm_hv_irq_routing_update+0x194/0x3c0 arch/x86/kvm/hyperv.c:498
 kvm_set_irq_routing+0x8fc/0xc10 arch/x86/kvm/../../../virt/kvm/irqchip.c:223
 kvm_vm_ioctl+0x1898/0x2c40 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3980
 vfs_ioctl fs/ioctl.c:48 [inline]
 __do_sys_ioctl fs/ioctl.c:753 [inline]
 __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:739
 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x465ef9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f313c78b188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 000000000056c008 RCX: 0000000000465ef9
RDX: 0000000020000100 RSI: 000000004008ae6a RDI: 0000000000000004
RBP: 00000000004bfa34 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c008
R13: 00007ffcf4b85def R14: 00007f313c78b300 R15: 0000000000022000
Modules linked in:
---[ end trace e080f2627da0c2f7 ]---
RIP: 0010:synic_get+0x37f/0x450 arch/x86/kvm/hyperv.c:165
Code: 74 08 48 89 ef e8 d1 26 a5 00 48 8b 6d 00 48 8d 5d 20 48 81 c5 40 01 00 00 48 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <8a> 04 08 84 c0 0f 85 8b 00 00 00 0f b6 6d 00 45 31 f6 31 ff 89 ee
RSP: 0018:ffffc9000943fcb8 EFLAGS: 00010206
RAX: 0000000000000028 RBX: 0000000000000020 RCX: dffffc0000000000
RDX: ffffc900132ef000 RSI: 000000000000151f RDI: 0000000000001520
RBP: 0000000000000140 R08: ffffffff81178578 R09: fffff52000ff833e
R10: fffff52000ff833e R11: 0000000000000000 R12: ffff88807d120028
R13: ffffc90007fc19e8 R14: 1ffff92000ff833d R15: 0000000000000000
FS:  00007f313c78b700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005654b983f160 CR3: 00000000863c8000 CR4: 00000000001526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/03/04 16:27 upstream f69d02e37a85 d7e4e604 .config console log report info ci-upstream-kasan-gce-smack-root general protection fault in synic_get
2021/03/04 09:47 upstream f69d02e37a85 d7e4e604 .config console log report info ci-upstream-kasan-gce-smack-root general protection fault in synic_get
2021/03/03 20:39 upstream f69d02e37a85 06ed56cd .config console log report info ci-upstream-kasan-gce-smack-root general protection fault in synic_get
2021/03/01 19:06 upstream fe07bfda2fb9 4c37c133 .config console log report info ci-upstream-kasan-gce-smack-root general protection fault in synic_get
2021/02/22 21:37 upstream a99163e9e708 c26fb06b .config console log report info ci-upstream-kasan-gce-smack-root general protection fault in synic_get
2021/02/22 17:38 upstream 31caf8b2a847 a659b3f1 .config console log report info ci-upstream-kasan-gce-smack-root general protection fault in synic_get
2021/02/22 09:52 upstream 31caf8b2a847 a659b3f1 .config console log report info ci-upstream-kasan-gce-smack-root general protection fault in synic_get
2021/02/22 09:28 upstream 31caf8b2a847 a659b3f1 .config console log report info ci-upstream-kasan-gce-smack-root general protection fault in synic_get
* Struck through repros no longer work on HEAD.