bisecting fixing commit since fb683b5e3f53a73e761952735736180939a313df building syzkaller on 08003f6440deafc4e193b159c4acece64f7864b1 testing commit fb683b5e3f53a73e761952735736180939a313df with gcc (GCC) 8.1.0 kernel signature: adb0d651868802887ed30fa43e6411e0abb7774a4e1a4a94ae9de2119f8c87d7 all runs: crashed: kernel BUG at arch/x86/kvm/mmu.c:LINE! testing current HEAD b499cf4b3a901e87e1f933df04abf69b54de4457 testing commit b499cf4b3a901e87e1f933df04abf69b54de4457 with gcc (GCC) 8.1.0 kernel signature: 9ee05a13673eb1ccce21c6f3b6665e93d96f945a29f915c0e11af52a52be1bff all runs: crashed: kernel BUG at arch/x86/kvm/mmu.c:LINE! revisions tested: 2, total time: 25m48.485001119s (build: 17m33.146897314s, test: 7m23.463907321s) the crash still happens on HEAD commit msg: Linux 4.19.102 crash: kernel BUG at arch/x86/kvm/mmu.c:LINE! L1TF CPU bug present and SMT on, data leak possible. See CVE-2018-3646 and https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/l1tf.html for details. hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network IPv6: ADDRCONF(NETDEV_UP): hsr0: link is not ready IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready ------------[ cut here ]------------ kernel BUG at arch/x86/kvm/mmu.c:3279! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 7410 Comm: syz-executor.4 Not tainted 4.19.102-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:transparent_hugepage_adjust+0x337/0x420 arch/x86/kvm/mmu.c:3279 Code: ee 03 0f b6 04 06 84 c0 74 08 3c 03 0f 8e e4 00 00 00 8b 41 30 c1 e8 1f e9 03 ff ff ff 48 89 df e8 8e e0 83 00 e9 fe fc ff ff <0f> 0b 48 89 c7 48 89 55 c8 48 89 4d d0 e8 77 e0 83 00 48 8b 55 c8 RSP: 0018:ffff888089327528 EFLAGS: 00010206 RAX: 0000000000000003 RBX: ffff8880893276c0 RCX: 0000000000000009 RDX: 0000000000000004 RSI: dffffc0000000000 RDI: ffff8880887a08f8 RBP: ffff888089327568 R08: 0000000000000001 R09: 1ffff110110f411a R10: ffffed10110f5799 R11: ffff8880887abccb R12: 0000000000086561 R13: 0000000000086563 R14: ffff8880a4a60040 R15: ffff888089327680 FS: 00007fc29432d700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000007b8d4000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tdp_page_fault+0x388/0x540 arch/x86/kvm/mmu.c:4185 kvm_mmu_page_fault+0x163/0x1240 arch/x86/kvm/mmu.c:5331 handle_ept_violation+0x16c/0x380 arch/x86/kvm/vmx.c:7689 vmx_handle_exit+0x1b5/0x11b0 arch/x86/kvm/vmx.c:10175 vcpu_enter_guest+0xd48/0x5120 arch/x86/kvm/x86.c:7809 vcpu_run arch/x86/kvm/x86.c:7872 [inline] kvm_arch_vcpu_ioctl_run+0x2e9/0x1340 arch/x86/kvm/x86.c:8072 kvm_vcpu_ioctl+0x535/0xb60 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2667 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0x196/0x10c0 fs/ioctl.c:688 ksys_ioctl+0x62/0x90 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6e/0xb0 fs/ioctl.c:710 do_syscall_64+0xd0/0x4e0 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45a909 Code: ad b6 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 b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fc29432cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a909 RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000006 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc29432d6d4 R13: 00000000004c410f R14: 00000000004d9758 R15: 00000000ffffffff Modules linked in: ---[ end trace aa0b496de29c649e ]--- RIP: 0010:transparent_hugepage_adjust+0x337/0x420 arch/x86/kvm/mmu.c:3279 Code: ee 03 0f b6 04 06 84 c0 74 08 3c 03 0f 8e e4 00 00 00 8b 41 30 c1 e8 1f e9 03 ff ff ff 48 89 df e8 8e e0 83 00 e9 fe fc ff ff <0f> 0b 48 89 c7 48 89 55 c8 48 89 4d d0 e8 77 e0 83 00 48 8b 55 c8 RSP: 0018:ffff888089327528 EFLAGS: 00010206 RAX: 0000000000000003 RBX: ffff8880893276c0 RCX: 0000000000000009 RDX: 0000000000000004 RSI: dffffc0000000000 RDI: ffff8880887a08f8 RBP: ffff888089327568 R08: 0000000000000001 R09: 1ffff110110f411a R10: ffffed10110f5799 R11: ffff8880887abccb R12: 0000000000086561 R13: 0000000000086563 R14: ffff8880a4a60040 R15: ffff888089327680 FS: 00007fc29432d700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000007b8d4000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400