Messages in this thread | | | From | Marc Zyngier <> | Subject | Re: [PATCH] KVM: arm64: Ensure user_mem_abort() return value is initialised | Date | Fri, 2 Oct 2020 09:20:00 +0100 |
| |
On Wed, 30 Sep 2020 11:24:42 +0100, Will Deacon wrote: > If a change in the MMU notifier sequence number forces user_mem_abort() > to return early when attempting to handle a stage-2 fault, we return > uninitialised stack to kvm_handle_guest_abort(), which could potentially > result in the injection of an external abort into the guest or a spurious > return to userspace. Neither or these are what we want to do. > > Initialise 'ret' to 0 in user_mem_abort() so that bailing due to a > change in the MMU notrifier sequence number is treated as though the > fault was handled.
Applied to next, thanks!
[1/1] KVM: arm64: Ensure user_mem_abort() return value is initialised commit: 84cd7df693f07df94d617049773f7c757a2b7847
Cheers,
M. -- Without deviation from the norm, progress is not possible.
| |