[PATCH] KVM: arm64: vgic: Hold config_lock while tearing down a CPU interface
Oliver Upton
oliver.upton at linux.dev
Thu Aug 8 10:07:19 PDT 2024
On Thu, 8 Aug 2024 10:15:46 +0100, Marc Zyngier wrote:
> Tearing down a vcpu CPU interface involves freeing the private interrupt
> array. If we don't hold the lock, we may race against another thread
> trying to configure it. Yeah, fuzzers do wonderful things...
>
> Taking the lock early solves this particular problem.
>
>
> [...]
Applied to kvmarm/fixes, thanks!
[1/1] KVM: arm64: vgic: Hold config_lock while tearing down a CPU interface
https://git.kernel.org/kvmarm/kvmarm/c/9eb18136af9f
--
Best,
Oliver
More information about the linux-arm-kernel
mailing list