]> git.ipfire.org Git - thirdparty/qemu.git/commit
pvrdma: Fix the ring init error flow (CVE-2021-3608)
authorMarcel Apfelbaum <marcel.apfelbaum@gmail.com>
Wed, 30 Jun 2021 11:52:46 +0000 (14:52 +0300)
committerMichael Roth <michael.roth@amd.com>
Mon, 18 Oct 2021 01:27:51 +0000 (20:27 -0500)
commit27c6f20d9d8725ddd4d0744022c4a66ec4878c6d
treee0e9e3c5995eb5e13bd6deacab823bc07097149f
parent46d3c9e9f5b067a784f24a40134ed9a97e145094
pvrdma: Fix the ring init error flow (CVE-2021-3608)

Do not unmap uninitialized dma addresses.

Fixes: CVE-2021-3608
Reviewed-by: VictorV (Kunlun Lab) <vv474172261@gmail.com>
Tested-by: VictorV (Kunlun Lab) <vv474172261@gmail.com>
Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
Message-Id: <20210630115246.2178219-1-marcel@redhat.com>
Tested-by: Yuval Shaia <yuval.shaia.ml@gmail.com>
Reviewed-by: Yuval Shaia <yuval.shaia.ml@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
(cherry picked from commit 66ae37d8cc313f89272e711174a846a229bcdbd3)
Signed-off-by: Michael Roth <michael.roth@amd.com>
hw/rdma/vmw/pvrdma_dev_ring.c