vhost-user-gpu: fix several security issues
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest8 patches 2 repliesIn review
- v17 patches 20 repliesSuperseded
Changes in v2 from the cover letter
Add the CVE information:
Several memory leak issues is combined assigned CVE-2021-3544. Information disclosure is assigned CVE-2021-3545. OOB memory write access is assigned CVE-2021-3545.
Patches in v2 No applies recorded yet
Reviews trailers per patch
3 of 8 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Prasad J Pandit | Marc-André Lureau |
|---|---|---|
| Series | R-b | |
| 1/8 | ||
| 2/8 | R-b | |
| 3/8 | ||
| 4/8 | R-b | |
| 5/8 | ||
| 6/8 | ||
| 7/8 | R-b | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/8] vhost-user-gpu: fix several security issues
These security issue is low severity and is similar with the virtio-vga/virtio-gpu device. All of them can be triggered by the guest user.
Change since v1:
Add the CVE information:
Several memory leak issues is combined assigned CVE-2021-3544. Information disclosure is assigned CVE-2021-3545. OOB memory write access is assigned CVE-2021-3545.
Abstract 'vg_cleanup_mapping_iov' to make code more clearly.
Li Qiang (8):
vhost-user-gpu: fix memory disclosure in virgl_cmd_get_capset_info
(CVE-2021-3545)
vhost-user-gpu: fix resource leak in 'vg_resource_create_2d'
(CVE-2021-3544)
vhost-user-gpu: fix memory leak in vg_resource_attach_backing
(CVE-2021-3544)
vhost-user-gpu: fix memory leak while calling 'vg_resource_unref'
(CVE-2021-3544)
vhost-user-gpu: fix memory leak in 'virgl_cmd_resource_unref'
(CVE-2021-3544)
vhost-user-gpu: fix memory leak in 'virgl_resource_attach_backing'
(CVE-2021-3544)
vhost-user-gpu: fix OOB write in 'virgl_cmd_get_capset'
(CVE-2021-3546) vhost-user-gpu: abstract vg_cleanup_mapping_iov
contrib/vhost-user-gpu/vhost-user-gpu.c | 29 ++++++++++++++++++++++--- contrib/vhost-user-gpu/virgl.c | 20 +++++++++++++++-- contrib/vhost-user-gpu/vugpu.h | 2 +- 3 files changed, 45 insertions(+), 6 deletions(-)
Signature · 1 line
2.25.1