diff options
author | Li Qiang <liq3ea@163.com> | 2021-05-15 20:04:01 -0700 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-05-27 11:55:59 +0200 |
commit | 63736af5a6571d9def93769431e0d7e38c6677bf (patch) | |
tree | ddafc598da6ec506818a2c145e8bccd9a91563a8 /nbd | |
parent | f6091d86ba9ea05f4e111b9b42ee0005c37a6779 (diff) |
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>
Diffstat (limited to 'nbd')
0 files changed, 0 insertions, 0 deletions