Bug 206795
Summary: | 4.19.108 Ryzen 1600X , kvm BUG kvm_mmu_set_mmio_spte_mask | ||
---|---|---|---|
Product: | Virtualization | Reporter: | Sami Farin (hvtaifwkbgefbaei) |
Component: | kvm | Assignee: | virtualization_kvm |
Status: | RESOLVED CODE_FIX | ||
Severity: | blocking | CC: | bugs, thomas.lendacky, tv7iR8OPvrPi |
Priority: | P1 | ||
Hardware: | x86-64 | ||
OS: | Linux | ||
Kernel Version: | 4.19.108 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Attachments: | lspci |
Description
Sami Farin
2020-03-09 07:30:40 UTC
Looks like the backport to the stable tree wasn't correct and I didn't notice it when it came through my inbox. The change from the upstream form: kvm_mmu_set_mmio_spte_mask(mask, mask, PT_WRITABLE_MASK | PT_USER_MASK); to the 4.19 (and 4.14) tree should be: kvm_mmu_set_mmio_spte_mask(mask, mask); Instead it was: kvm_mmu_set_mmio_spte_mask(mask, PT_WRITABLE_MASK | PT_USER_MASK); which triggers the BUG_ON(). Thanks! Is it too late to get it for 4.19.109? Not sure. The stable maintainer is aware of the issue and working on it, so stay tuned. 4.19.109 was already released and I rebooted it with your fix in comment #1 , qemu works OK. [ 32.839932] kvm: Nested Virtualization enabled [ 32.839939] kvm: Nested Paging enabled [ 32.839940] SVM: Virtual VMLOAD VMSAVE supported [ 32.839940] SVM: Virtual GIF supported *** Bug 206825 has been marked as a duplicate of this bug. *** |