Re: [PATCH v3 09/10] selftests: kvm: s390: Verify reject memory region operations for ucontrol VMs

Janosch Frank
2024-08-01T09:11:38Z

On 7/30/24 9:24 AM, Christoph Schlameuss wrote:
> Add a test case verifying KVM_SET_USER_MEMORY_REGION and
> KVM_SET_USER_MEMORY_REGION2 cannot be executed on ucontrol VMs.
>
> Executing this test case on not patched kernels will cause a null
> pointer dereference in the host kernel.
> This is fixed with commit:
> commit 7816e58967d0 ("kvm: s390: Reject memory region operations for ucontrol VMs")

Reviewed-by: Janosch Frank <frankja@linux.ibm.com>