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: 16681 Comm: syz-executor.2 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:ffffc9000dcc7cb8 EFLAGS: 00010206 RAX: 0000000000000028 RBX: 0000000000000020 RCX: dffffc0000000000 RDX: ffffc9000cdd1000 RSI: 0000000000001f47 RDI: 0000000000001f48 RBP: 0000000000000140 R08: ffffffff81178578 R09: fffff52001b9d33e R10: fffff52001b9d33e R11: 0000000000000000 R12: ffff88802a3e8028 R13: ffffc9000dce99e8 R14: 1ffff92001b9d33d R15: 0000000000000000 FS: 00007f7f81479700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30222000 CR3: 00000000282ef000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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:00007f7f81479188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000465ef9 RDX: 00000000200000c0 RSI: 000000004008ae6a RDI: 0000000000000004 RBP: 00000000004bfa34 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf60 R13: 00007ffe8b192cbf R14: 00007f7f81479300 R15: 0000000000022000 Modules linked in: ---[ end trace 15d2ec679b930f42 ]--- 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:ffffc9000dcc7cb8 EFLAGS: 00010206 RAX: 0000000000000028 RBX: 0000000000000020 RCX: dffffc0000000000 RDX: ffffc9000cdd1000 RSI: 0000000000001f47 RDI: 0000000000001f48 RBP: 0000000000000140 R08: ffffffff81178578 R09: fffff52001b9d33e R10: fffff52001b9d33e R11: 0000000000000000 R12: ffff88802a3e8028 R13: ffffc9000dce99e8 R14: 1ffff92001b9d33d R15: 0000000000000000 FS: 00007f7f81479700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8a69bcb1b3 CR3: 00000000282ef000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400