Re: [PATCH v2 3/5] KVM: arm64: vgic-v3: Unregister redistributors before freeing regions

Karl Mehltretter <[email protected]>
Newsgroups org.kernel.vger.linux-kselftest,dev.linux.lists.kvmarm,org.infradead.lists.linux-arm-kernel,org.kernel.vger.kvm,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Thu, Aug 20, 2026 at 09:58:57AM +0100, Marc Zyngier wrote:
> The other bit of interest is in __kvm_vgic_vcpu_destroy(), and its
> conditional removal of the RD iodevs. Can't we just get rid of this
> whole block altogether now that we have a saner failing path?

I tested removing that block.
It reintroduces the use-after-free fixed by ae8f8b376102
(“KVM: arm64: Unregister redistributor for failed vCPU creation”).

Karl
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.