qemu/contrib/vhost-user-gpu
Li Qiang b9f79858a6 vhost-user-gpu: fix memory leak in vg_resource_attach_backing (CVE-2021-3544)
Check whether the 'res' has already been attach_backing to avoid
memory leak.

Fixes: CVE-2021-3544
Reported-by: Li Qiang <liq3ea@163.com>
virtio-gpu fix: 204f01b309 ("virtio-gpu: 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-4-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 in vg_resource_attach_backing (CVE-2021-3544) 2021-05-27 11:55:59 +02:00
virgl.c vhost-user-gpu: fix memory disclosure in virgl_cmd_get_capset_info (CVE-2021-3545) 2021-05-27 11:55:59 +02:00
virgl.h
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