On Mon, Mar 17, 2025 at 8:40 PM Volodymyr Babchuk
<volodymyr_babc...@epam.com> wrote:
>
> A privileged domain can issue XEN_DOMCTL_vm_event_op with
> op->domain == DOMID_INVALID. In this case vm_event_domctl()
> function will get NULL as the first parameter and this will
> cause hypervisor panic, as it tries to derefer this pointer.
>
> Fix the issue by checking if valid domain is passed in.
>
> Fixes: 48b84249459f ("xen/vm-event: Drop unused u_domctl parameter from 
> vm_event_domctl()")
> Signed-off-by: Volodymyr Babchuk <volodymyr_babc...@epam.com>

Acked-by: Tamas K Lengyel <ta...@tklengyel.com>

Reply via email to