lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <176823876692.1368504.7601311763496367502.b4-ty@google.com>
Date: Mon, 12 Jan 2026 09:38:46 -0800
From: Sean Christopherson <seanjc@...gle.com>
To: Sean Christopherson <seanjc@...gle.com>, Paolo Bonzini <pbonzini@...hat.com>, 
	Xiaoyao Li <xiaoyao.li@...el.com>
Cc: Rick Edgecombe <rick.p.edgecombe@...el.com>, kvm@...r.kernel.org, 
	linux-kernel@...r.kernel.org, farrah.chen@...el.com
Subject: Re: [PATCH v2] KVM: x86: Don't read guest CR3 when doing async pf
 while the MMU is direct

On Fri, 12 Dec 2025 21:50:51 +0800, Xiaoyao Li wrote:
> Don't read guest CR3 in kvm_arch_setup_async_pf() if the MMU is direct
> and use INVALID_GPA instead.
> 
> When KVM tries to perform the host-only async page fault for the shared
> memory of TDX guests, the following WARNING is triggered:
> 
>   WARNING: CPU: 1 PID: 90922 at arch/x86/kvm/vmx/main.c:483 vt_cache_reg+0x16/0x20
>   Call Trace:
>   __kvm_mmu_faultin_pfn
>   kvm_mmu_faultin_pfn
>   kvm_tdp_page_fault
>   kvm_mmu_do_page_fault
>   kvm_mmu_page_fault
>   tdx_handle_ept_violation
> 
> [...]

Applied to kvm-x86 misc, with the explicit cast to make 32-bit builds happy.
Thanks!

[1/1] KVM: x86: Don't read guest CR3 when doing async pf while the MMU is direct
      https://github.com/kvm-x86/linux/commit/57a7b47ab30f

--
https://github.com/kvm-x86/linux/tree/next

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ