exynos-linux-stable/drivers/xen
Juergen Gross e8cee9ccac xen: xenbus driver must not accept invalid transaction ids
[ Upstream commit 639b08810d6ad74ded2c5f6e233c4fcb9d147168 ]

When accessing Xenstore in a transaction the user is specifying a
transaction id which he normally obtained from Xenstore when starting
the transaction. Xenstore is validating a transaction id against all
known transaction ids of the connection the request came in. As all
requests of a domain not being the one where Xenstore lives share
one connection, validation of transaction ids of different users of
Xenstore in that domain should be done by the kernel of that domain
being the multiplexer between the Xenstore users in that domain and
Xenstore.

In order to prohibit one Xenstore user "hijacking" a transaction from
another user the xenbus driver has to verify a given transaction id
against all known transaction ids of the user before forwarding it to
Xenstore.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-30 08:39:15 +00:00
..
events xen: Revert commits da72ff5bfcb0 and 72a9b18629 2017-05-14 14:00:22 +02:00
xen-pciback xen/pciback: support driver_override 2016-09-30 11:49:02 +01:00
xenbus xen: xenbus driver must not accept invalid transaction ids 2017-11-30 08:39:15 +00:00
xenfs
acpi.c
arm-device.c Xen: ARM: Zero reserved fields of xatp before making hypervisor call 2017-08-06 18:59:47 -07:00
balloon.c
biomerge.c xen: fix bio vec merging 2017-08-24 17:12:20 -07:00
cpu_hotplug.c
dbgp.c
efi.c XEN: EFI: Move x86 specific codes to architecture directory 2016-07-06 10:34:46 +01:00
evtchn.c xen/evtchn: use xen_vcpu_id mapping 2016-07-25 13:34:18 +01:00
fallback.c
features.c
gntalloc.c xen: use vma_pages(). 2016-07-06 10:34:47 +01:00
gntdev.c xen/gntdev: avoid out of bounds access in case of partial gntdev_mmap() 2017-11-02 09:49:13 +01:00
grant-table.c
Kconfig ARM64: XEN: Add a function to initialize Xen specific UEFI runtime services 2016-07-06 10:34:46 +01:00
Makefile Xen: ARM: Add support for mapping platform device mmio 2016-07-06 10:34:43 +01:00
manage.c xen: don't print error message in case of missing Xenstore entry 2017-11-08 10:08:37 +01:00
mcelog.c
pci.c
pcpu.c
platform-pci.c xen: Revert commits da72ff5bfcb0 and 72a9b18629 2017-05-14 14:00:22 +02:00
preempt.c
privcmd.c xen/privcmd: Support correctly 64KB page granularity when mapping memory 2017-06-14 15:05:58 +02:00
privcmd.h
swiotlb-xen.c swiotlb-xen: implement xen_swiotlb_dma_mmap callback 2017-10-05 09:44:05 +02:00
sys-hypervisor.c xen: rename xen_pmu_init() in sys-hypervisor.c 2016-08-24 18:45:25 +01:00
time.c xen: add static initialization of steal_clock op to xen_time_ops 2016-07-26 14:07:06 +01:00
tmem.c
xen-acpi-cpuhotplug.c
xen-acpi-memhotplug.c
xen-acpi-pad.c
xen-acpi-processor.c xen/acpi: upload PM state from init-domain to Xen 2017-03-30 09:41:26 +02:00
xen-balloon.c
xen-scsiback.c xen/scsiback: Fix a TMR related use-after-free 2017-07-27 15:07:59 -07:00
xen-selfballoon.c mm, frontswap: convert frontswap_enabled to static key 2016-07-26 16:19:19 -07:00
xen-stub.c
xlate_mmu.c Xen: xlate: Use page_to_xen_pfn instead of page_to_pfn 2016-07-06 10:34:42 +01:00