[PATCH] KVM: arm64: vgic-debug: Avoid dereferencing NULL ITE pointer
Marc Zyngier
maz at kernel.org
Fri May 30 02:27:44 PDT 2025
On Fri, 30 May 2025 10:16:47 +0100, Marc Zyngier wrote:
> Dan reports that iterating over a device ITEs can legitimately lead
> to a NULL pointer, and that the NULL check is placed *after* the
> pointer has already been dereferenced.
>
> Hoist the pointer check as early as possible and be done with it.
>
>
> [...]
Applied to next, thanks!
[1/1] KVM: arm64: vgic-debug: Avoid dereferencing NULL ITE pointer
commit: 4d62121ce9b58ea23c8d62207cbc604e98ecdc0a
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
More information about the linux-arm-kernel
mailing list