------------[ cut here ]------------ kernel BUG at arch/x86/kvm/x86.c:357! ------------[ cut here ]------------ kernel BUG at arch/x86/kvm/x86.c:357! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 3290 Comm: syz-executor.2 Not tainted 5.0.0+ #6 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kvm_spurious_fault+0x9/0x10 arch/x86/kvm/x86.c:357 Code: e8 5c ce 65 00 41 bd 03 00 00 00 5b 44 89 e8 41 5c 41 5d 5d c3 66 90 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 e8 37 ce 65 00 <0f> 0b 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 49 89 d6 41 55 41 54 RSP: 0018:ffff888088cef790 EFLAGS: 00010206 RAX: 0000000000040000 RBX: ffff88805421c570 RCX: ffffc9000a21d000 kobject: 'loop4' (00000000f10b8a1a): kobject_uevent_env RDX: 00000000000004a0 RSI: ffffffff810a1329 RDI: 0000000000000007 RBP: ffff888088cef790 R08: ffff8880500ae340 R09: ffff888046963000 R10: ffffed1008d2c7ff R11: ffff888046963fff R12: 1ffff1101119def5 R13: ffff888046963000 R14: ffff888088cef808 R15: 000000000000ae41 FS: 00007f45eb8ae700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f45eb84adb8 CR3: 000000003b468000 CR4: 00000000001426f0 kobject: 'loop4' (00000000f10b8a1a): fill_kobj_path: path = '/devices/virtual/block/loop4' DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vmcs_clear arch/x86/kvm/vmx/ops.h:185 [inline] loaded_vmcs_init+0x95/0x250 arch/x86/kvm/vmx/vmx.c:566 kobject: 'loop4' (00000000f10b8a1a): kobject_uevent_env alloc_loaded_vmcs+0x81/0x170 arch/x86/kvm/vmx/vmx.c:2440 vmx_create_vcpu+0x24e/0x24dd arch/x86/kvm/vmx/vmx.c:6729 kobject: 'loop4' (00000000f10b8a1a): fill_kobj_path: path = '/devices/virtual/block/loop4' kobject: 'loop4' (00000000f10b8a1a): kobject_uevent_env kvm_arch_vcpu_create+0x80/0x120 arch/x86/kvm/x86.c:8721 kvm_vm_ioctl_create_vcpu arch/x86/kvm/../../../virt/kvm/kvm_main.c:2564 [inline] kvm_vm_ioctl+0x5ce/0x1900 arch/x86/kvm/../../../virt/kvm/kvm_main.c:3094 kobject: 'loop4' (00000000f10b8a1a): fill_kobj_path: path = '/devices/virtual/block/loop4' vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:509 [inline] do_vfs_ioctl+0xd6e/0x1390 fs/ioctl.c:696 ksys_ioctl+0xab/0xd0 fs/ioctl.c:713 __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl fs/ioctl.c:718 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457e29 Code: ad b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f45eb8adc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457e29 RDX: 0000000000000000 RSI: 000000000000ae41 RDI: 0000000000000009 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f45eb8ae6d4 R13: 00000000004c0924 R14: 00000000004d2738 R15: 00000000ffffffff Modules linked in: protocol 88fb is buggy, dev hsr_slave_0 protocol 88fb is buggy, dev hsr_slave_0 protocol 88fb is buggy, dev hsr_slave_1 protocol 88fb is buggy, dev hsr_slave_1 protocol 88fb is buggy, dev hsr_slave_0 protocol 88fb is buggy, dev hsr_slave_0 ------------[ cut here ]------------ kernel BUG at arch/x86/kvm/x86.c:357! invalid opcode: 0000 [#2] PREEMPT SMP KASAN CPU: 0 PID: 9 Comm: ksoftirqd/0 Tainted: G D 5.0.0+ #6 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:kvm_spurious_fault+0x9/0x10 arch/x86/kvm/x86.c:357 Code: e8 5c ce 65 00 41 bd 03 00 00 00 5b 44 89 e8 41 5c 41 5d 5d c3 66 90 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 e8 37 ce 65 00 <0f> 0b 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 49 89 d6 41 55 41 54 RSP: 0018:ffff8880ae807e80 EFLAGS: 00010006 RAX: ffff8880aa25c240 RBX: ffff888029b2cbf0 RCX: ffffffff8132999a RDX: 0000000000010100 RSI: ffffffff810a1329 RDI: 0000000000000007 RBP: ffff8880ae807e80 R08: ffff8880aa25c240 R09: ffffed1015d05be9 R10: ffffed1015d05be8 R11: ffff8880ae82df47 R12: 1ffff11015d00fd3 R13: ffff888085747000 R14: ffff8880ae807ef8 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff8880ae807eb8 CR3: 0000000098b0d000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vmcs_clear arch/x86/kvm/vmx/ops.h:185 [inline] loaded_vmcs_init+0x95/0x250 arch/x86/kvm/vmx/vmx.c:566 __loaded_vmcs_clear+0x229/0x360 arch/x86/kvm/vmx/vmx.c:633 flush_smp_call_function_queue+0x14a/0x500 kernel/smp.c:243 generic_smp_call_function_single_interrupt+0x13/0x2b kernel/smp.c:192 smp_call_function_single_interrupt+0xa3/0x460 arch/x86/kernel/smp.c:296 call_function_single_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:829 RIP: 0010:task_stack_page include/linux/sched/task_stack.h:21 [inline] RIP: 0010:last_frame arch/x86/kernel/unwind_frame.c:96 [inline] RIP: 0010:is_last_frame arch/x86/kernel/unwind_frame.c:101 [inline] RIP: 0010:is_last_task_frame arch/x86/kernel/unwind_frame.c:170 [inline] RIP: 0010:unwind_next_frame.part.0+0x110/0x9a0 arch/x86/kernel/unwind_frame.c:294 Code: 00 fc ff df 4c 89 d2 48 c1 ea 03 80 3c 02 00 0f 85 47 05 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 53 28 48 8d 7a 18 48 89 fe <48> c1 ee 03 80 3c 06 00 0f 85 de 04 00 00 48 8b 42 18 48 8d b8 48 RSP: 0018:ffff8880aa26ec30 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff04 RAX: dffffc0000000000 RBX: ffff8880aa26ed08 RCX: ffff8880aa26ecb8 RDX: ffff8880aa25c240 RSI: ffff8880aa25c258 RDI: ffff8880aa25c258 RBP: ffff8880aa26ece0 R08: 0000000000000001 R09: ffff8880aa26ed58 R10: ffff8880aa26ed30 R11: ffff8880aa26ed40 R12: 1ffff1101544dd8b R13: 0000000000000000 R14: ffff8880aa26f830 R15: ffff88812c3f0ac0 unwind_next_frame+0x3b/0x50 arch/x86/kernel/unwind_frame.c:287 __save_stack_trace+0x7a/0xf0 arch/x86/kernel/stacktrace.c:44 save_stack_trace+0x1a/0x20 arch/x86/kernel/stacktrace.c:60 save_stack+0x45/0xd0 mm/kasan/common.c:73 set_track mm/kasan/common.c:85 [inline] __kasan_kmalloc mm/kasan/common.c:495 [inline] __kasan_kmalloc.constprop.0+0xcf/0xe0 mm/kasan/common.c:468 kasan_kmalloc+0x9/0x10 mm/kasan/common.c:509 kmem_cache_alloc_node_trace+0x153/0x720 mm/slab.c:3657 __do_kmalloc_node mm/slab.c:3677 [inline] __kmalloc_node_track_caller+0x3d/0x70 mm/slab.c:3692 __kmalloc_reserve.isra.0+0x40/0xf0 net/core/skbuff.c:140 __alloc_skb+0x10b/0x5e0 net/core/skbuff.c:208 alloc_skb include/linux/skbuff.h:1011 [inline] __tcp_send_ack.part.0+0x6a/0x5b0 net/ipv4/tcp_output.c:3629 __tcp_send_ack net/ipv4/tcp_output.c:3656 [inline] tcp_send_ack+0x88/0xa0 net/ipv4/tcp_output.c:3656 __tcp_ack_snd_check+0x165/0x8d0 net/ipv4/tcp_input.c:5192 tcp_rcv_established+0x175d/0x1fb0 net/ipv4/tcp_input.c:5623 tcp_v4_do_rcv+0x616/0x8d0 net/ipv4/tcp_ipv4.c:1541 tcp_v4_rcv+0x2d11/0x3730 net/ipv4/tcp_ipv4.c:1915 ip_protocol_deliver_rcu+0x60/0x8f0 net/ipv4/ip_input.c:208 ip_local_deliver_finish+0x23b/0x390 net/ipv4/ip_input.c:234 NF_HOOK include/linux/netfilter.h:289 [inline] NF_HOOK include/linux/netfilter.h:283 [inline] ip_local_deliver+0x1e9/0x520 net/ipv4/ip_input.c:255 dst_input include/net/dst.h:450 [inline] ip_rcv_finish+0x1e1/0x300 net/ipv4/ip_input.c:414 NF_HOOK include/linux/netfilter.h:289 [inline] NF_HOOK include/linux/netfilter.h:283 [inline] ip_rcv+0xe8/0x3f0 net/ipv4/ip_input.c:524 __netif_receive_skb_one_core+0x115/0x1a0 net/core/dev.c:4973 __netif_receive_skb+0x2c/0x1c0 net/core/dev.c:5083 netif_receive_skb_internal+0x117/0x660 net/core/dev.c:5186 napi_skb_finish net/core/dev.c:5665 [inline] napi_gro_receive+0x532/0x740 net/core/dev.c:5698 receive_buf+0xebe/0x53b0 drivers/net/virtio_net.c:1073 virtnet_receive drivers/net/virtio_net.c:1335 [inline] virtnet_poll+0x5f8/0xe82 drivers/net/virtio_net.c:1440 napi_poll net/core/dev.c:6346 [inline] net_rx_action+0x4fa/0x1070 net/core/dev.c:6412 __do_softirq+0x266/0x95a kernel/softirq.c:292 run_ksoftirqd kernel/softirq.c:654 [inline] run_ksoftirqd+0x8e/0x110 kernel/softirq.c:646 smpboot_thread_fn+0x6ab/0xa10 kernel/smpboot.c:164 kthread+0x357/0x430 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Modules linked in: ---[ end trace ccbb67993c95a1b5 ]--- RIP: 0010:kvm_spurious_fault+0x9/0x10 arch/x86/kvm/x86.c:357 Code: e8 5c ce 65 00 41 bd 03 00 00 00 5b 44 89 e8 41 5c 41 5d 5d c3 66 90 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 e8 37 ce 65 00 <0f> 0b 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 49 89 d6 41 55 41 54 RSP: 0018:ffff888088cef790 EFLAGS: 00010206 RAX: 0000000000040000 RBX: ffff88805421c570 RCX: ffffc9000a21d000 RDX: 00000000000004a0 RSI: ffffffff810a1329 RDI: 0000000000000007 RBP: ffff888088cef790 R08: ffff8880500ae340 R09: ffff888046963000 R10: ffffed1008d2c7ff R11: ffff888046963fff R12: 1ffff1101119def5 R13: ffff888046963000 R14: ffff888088cef808 R15: 000000000000ae41 FS: 0000000000000000(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff8880ae807eb8 CR3: 0000000098b0d000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400