Re: [PATCH 2/2] KVM: SVM: Re-check enc_context_owner under the owner's lock in sev_vm_destroy()

"Shen Yongchao" <[email protected]>
Newsgroups org.kernel.vger.kvm
Message-ID <[email protected]>
On 8/6/26 16:30, Paolo Bonzini wrote:
> The patch narrows the window, but the cleanest fix for both issues is to
> stop protecting enc_context_owner/mirror_vms with the owner's kvm->lock,
> and use a global lock instead.  This also fixes the other issue, so I'll
> send a patch.

Good point — the re-check can never run before the UAF itself, so 2/2
only narrowed the window. Please drop it.

Thanks,
Shen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.