qemu/hw/rdma/vmw
Yuval Shaia 85fc35afa9 hw/pvrdma: Protect against buggy or malicious guest driver
Guest driver allocates and initialize page tables to be used as a ring
of descriptors for CQ and async events.
The page table that represents the ring, along with the number of pages
in the page table is passed to the device.
Currently our device supports only one page table for a ring.

Let's make sure that the number of page table entries the driver
reports, do not exceeds the one page table size.

Reported-by: Soul Chen <soulchen8650@gmail.com>
Signed-off-by: Yuval Shaia <yuval.shaia.ml@gmail.com>
Fixes: CVE-2023-1544
Message-ID: <20230301142926.18686-1-yuval.shaia.ml@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2023-10-12 14:11:44 +02:00
..
pvrdma_cmd.c hw/pvrdma: Protect against buggy or malicious guest driver 2023-01-16 18:49:38 +01:00
pvrdma_dev_ring.c Drop duplicate #include 2023-02-08 07:28:05 +01:00
pvrdma_dev_ring.h pvrdma: wean code off pvrdma_ring.h kernel header 2021-03-15 16:41:22 +08:00
pvrdma_main.c hw/pvrdma: Protect against buggy or malicious guest driver 2023-10-12 14:11:44 +02:00
pvrdma_qp_ops.c Drop more useless casts from void * to pointer 2022-12-14 16:19:35 +01:00
pvrdma_qp_ops.h Clean up header guards that don't match their file name 2019-05-13 08:58:55 +02:00
pvrdma.h include/hw/pci: Split pci_device.h off pci.h 2023-01-08 01:54:22 -05:00
trace-events docs: fix references to docs/devel/tracing.rst 2021-06-02 06:51:09 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00