aboutsummaryrefslogtreecommitdiff
path: root/event-loop-base.c
diff options
context:
space:
mode:
authorYuval Shaia <yuval.shaia.ml@gmail.com>2023-03-01 16:29:26 +0200
committerThomas Huth <thuth@redhat.com>2023-10-12 14:11:44 +0200
commit85fc35afa93c7320d1641d344d0c5dfbe341d087 (patch)
treea336fc87c991a6139c9b2c6a6f5ea14dce258ef7 /event-loop-base.c
parenta51e5124a655b3dad80b36b18547cb1eca2c5eb2 (diff)
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>
Diffstat (limited to 'event-loop-base.c')
0 files changed, 0 insertions, 0 deletions