qemu/contrib/vhost-user-gpu
Li Qiang 63736af5a6 vhost-user-gpu: fix memory leak in 'virgl_resource_attach_backing' (CVE-2021-3544)
If 'virgl_renderer_resource_attach_iov' failed, the 'res_iovs' will
be leaked.

Fixes: CVE-2021-3544
Reported-by: Li Qiang <liq3ea@163.com>
virtio-gpu fix: 33243031da ("virtio-gpu-3d: fix memory leak
in resource attach backing")

Signed-off-by: Li Qiang <liq3ea@163.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20210516030403.107723-7-liq3ea@163.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2021-05-27 11:55:59 +02:00
..
50-qemu-gpu.json.in vhost-user-gpu: Drop trailing json comma 2019-12-20 06:56:37 +01:00
meson.build vhost-user-gpu: glFlush before notifying clients 2021-03-26 06:37:03 +01:00
vhost-user-gpu.c vhost-user-gpu: fix memory leak while calling 'vg_resource_unref' (CVE-2021-3544) 2021-05-27 11:55:59 +02:00
virgl.c vhost-user-gpu: fix memory leak in 'virgl_resource_attach_backing' (CVE-2021-3544) 2021-05-27 11:55:59 +02:00
virgl.h Clean up a header guard symbols (again) 2019-06-12 13:20:21 +02:00
vugbm.c vhost-user-gpu: fix vugbm_device_init fallback 2021-03-26 06:37:03 +01:00
vugbm.h vhost-user-gpu: fix vugbm_device_init fallback 2021-03-26 06:37:03 +01:00
vugpu.h vhost-user-gpu: use an extandable state enum for commands 2021-02-04 15:58:54 +01:00