[PATCH 3/3] KVM: arm64: vgic: Gracefully handle resetting an unallocated interrupt

Alexander Potapenko glider at google.com
Thu Feb 6 07:50:51 PST 2025


On Thu, Feb 6, 2025 at 4:21 PM Marc Zyngier <maz at kernel.org> wrote:
>
> Playing with racing vcpu reset and vgic teardown makes it relatively
> easy to trigger a case where, by the time we try to reset a mapped
> interrupt such as a timer's, the vgic is gone and there is no
> interrupt to play with.
>
> Check for NULL upfront to avoid further embarassement.
>
> Reported-by: Alexander Potapenko <glider at google.com>
> Signed-off-by: Marc Zyngier <maz at kernel.org>
Tested-by: Alexander Potapenko <glider at google.com>



More information about the linux-arm-kernel mailing list