[PATCH v1] KVM: arm64: Fix bad dereference on MTE-enabled systems.
Marc Zyngier
maz at kernel.org
Thu Oct 27 11:52:49 PDT 2022
On Thu, 27 Oct 2022 13:09:45 +0100, Ryan Roberts wrote:
> enter_exception64() performs an MTE check, which involves dereferencing
> vcpu->kvm. While vcpu has already been fixed up for hyp va, kvm is still
> a kern va pointer.
>
> Fix this by first converting kvm to a hyp va pointer. If the system does
> not support MTE, the dereference is avoided in the first place.
>
> [...]
Applied to fixes with minor commit message fixes, thanks!
[1/1] KVM: arm64: Fix bad dereference on MTE-enabled systems.
commit: b6bcdc9f6b8321e4471ff45413b6410e16762a8d
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
More information about the linux-arm-kernel
mailing list