linux-stable/drivers/xen
Ross Lagerwall e50bf6849f xen/pciback: Check dev_data before using it
[ Upstream commit 1669907e3d ]

If pcistub_init_device fails, the release function will be called with
dev_data set to NULL.  Check it before using it to avoid a NULL pointer
dereference.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-05 15:37:27 +01:00
..
events xen/events: fix binding user event channels to cpus 2019-07-31 07:28:39 +02:00
xen-pciback xen/pciback: Check dev_data before using it 2019-12-05 15:37:27 +01:00
xenbus xen/xenbus: fix self-deadlock after killing user process 2019-10-11 18:18:36 +02:00
xenfs
acpi.c
arm-device.c
balloon.c mm/memory_hotplug: make add_memory() take the device_hotplug_lock 2019-12-01 09:13:57 +01:00
biomerge.c
cpu_hotplug.c
dbgp.c
efi.c
evtchn.c xen/events: fix binding user event channels to cpus 2019-07-31 07:28:39 +02:00
fallback.c
features.c
gntalloc.c
gntdev.c
grant-table.c
Kconfig
Makefile
manage.c
mcelog.c
pci.c xen/pci: reserve MCFG areas earlier 2019-10-11 18:18:38 +02:00
pcpu.c
platform-pci.c
preempt.c
privcmd.c
privcmd.h
pvcalls-back.c xen/pvcalls: remove set but not used variable 'intf' 2019-02-27 10:08:03 +01:00
swiotlb-xen.c xen/swiotlb: fix condition for calling xen_destroy_contiguous_region() 2019-08-06 19:05:27 +02:00
sys-hypervisor.c
time.c
tmem.c
xen-acpi-cpuhotplug.c
xen-acpi-memhotplug.c
xen-acpi-pad.c
xen-acpi-processor.c
xen-balloon.c xen/balloon: Support xend-based toolstack 2018-11-13 11:15:02 -08:00
xen-scsiback.c
xen-selfballoon.c
xen-stub.c
xlate_mmu.c xen: xlate_mmu: add missing header to fix 'W=1' warning 2018-12-17 09:28:53 +01:00