kernel-fxtec-pro1x/drivers/virt
Hans de Goede 1570996d94 virt: vbox: Fix guest capabilities mask check
commit 59d1d2e8e1e7c50d2657d5e4812b53f71f507968 upstream.

Check the passed in capabilities against VMMDEV_GUEST_CAPABILITIES_MASK
instead of against VMMDEV_EVENT_VALID_EVENT_MASK.
This tightens the allowed mask from 0x7ff to 0x7.

Fixes: 0ba002bc43 ("virt: Add vboxguest driver for Virtual Box Guest integration")
Cc: stable@vger.kernel.org
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20200709120858.63928-3-hdegoede@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-07-22 09:32:10 +02:00
..
vboxguest virt: vbox: Fix guest capabilities mask check 2020-07-22 09:32:10 +02:00
fsl_hypervisor.c drivers/virt/fsl_hypervisor.c: prevent integer overflow in ioctl 2019-05-16 19:41:31 +02:00
Kconfig virt: Add vboxguest driver for Virtual Box Guest integration 2017-12-18 16:12:22 +01:00
Makefile virt: Add vboxguest driver for Virtual Box Guest integration 2017-12-18 16:12:22 +01:00