[lvc-project] [PATCH v2] KVM: x86: Add SRCU protection for reading PDPTRs in __get_sregs2()

Sean Christopherson seanjc at google.com
Wed Feb 4 03:10:19 MSK 2026


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



More information about the lvc-project mailing list