Re: [PATCH v3 00/26] KVM: x86: Halt and APICv overhaul

Sean Christopherson
2021-12-09T00:04:47Z

On Thu, Dec 09, 2021, Maxim Levitsky wrote:
> Host crash while running 32 bit VM and another 32 bit VM nested in it:
>
> [ 751.182290] BUG: kernel NULL pointer dereference, address: 0000000000000025
> [ 751.198234] #PF: supervisor read access in kernel mode
> [ 751.209982] #PF: error_code(0x0000) - not-present page
> [ 751.221733] PGD 3720f9067 P4D 3720f9067 PUD 3720f8067 PMD 0
> [ 751.234682] Oops: 0000 [#1] SMP
> [ 751.241857] CPU: 8 PID: 54050 Comm: CPU 8/KVM Tainted: G O 5.16.0-rc4.unstable #6
> [ 751.261960] Hardware name: LENOVO 20UF001CUS/20UF001CUS, BIOS R1CET65W(1.34 ) 06/17/2021
> [ 751.280475] RIP: 0010:is_page_fault_stale.isra.0+0x2a/0xa0 [kvm]

...

> Oh well, not related to the patch series but just that I don't forget.
> I need to do some throughfull testing on all the VMs I use.

This is my goof, I'll post a fix shortly.