Re: [PATCH v2] KVM: x86: Add SRCU protection for reading PDPTRs in __get_sregs2()
From: Sean Christopherson
Date: Tue Feb 03 2026 - 19:13:26 EST
On Sat, 24 Jan 2026 01:28:01 +0300, Vasiliy Kovalev wrote:
> Add SRCU read-side protection when reading PDPTR registers in
> __get_sregs2().
>
> Reading PDPTRs may trigger access to guest memory:
> kvm_pdptr_read() -> svm_cache_reg() -> load_pdptrs() ->
> kvm_vcpu_read_guest_page() -> kvm_vcpu_gfn_to_memslot()
>
> [...]
Applied to kvm-x86 misc, thanks!
[1/1] KVM: x86: Add SRCU protection for reading PDPTRs in __get_sregs2()
https://github.com/kvm-x86/linux/commit/95d848dc7e63
--
https://github.com/kvm-x86/linux/tree/next