Linux kernel bug fix: drm/vmwgfx: Keep a gem reference to user bos in surfaces
Subsystem: gpu (drivers/gpu/drm/vmwgfx/vmwgfx_resource.c)
Bug type: use-after-free, severity: high
Keywords: refcount;use after free
Files changed: drivers/gpu/drm/vmwgfx/vmwgfx_bo.c;drivers/gpu/drm/vmwgfx/vmwgfx_bo.h;drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c;drivers/gpu/drm/vmwgfx/vmwgfx_drv.h;drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c;drivers/gpu/drm/vmwgfx/vmwgfx_gem.c;drivers/gpu/drm/vmwgfx/vmwgfx_kms.c;drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c;drivers/gpu/drm/vmwgfx/vmwgfx_resource.c;drivers/gpu/drm/vmwgfx/vmwgfx_shader.c;drivers/gpu/drm/vmwgfx/vmwgfx_surface.c
Introduced by Zack Rusin on 2023-02-14 23:00:09 -0500; fixed by Zack Rusin on 2023-10-09 15:53:30 -0400 (lifetime: 236 days)