linux/drivers/gpu/drm/vmwgfx
Rob Clark 8a510a5c75 drm/vmwgfx: fix memory corruption with legacy/sou connectors
It looks like in all cases 'struct vmw_connector_state' is used.  But
only in stdu connectors, was atomic_{duplicate,destroy}_state() properly
subclassed.  Leading to writes beyond the end of the allocated connector
state block and all sorts of fun memory corruption related crashes.

Fixes: d7721ca711 "drm/vmwgfx: Connector atomic state"
Cc: <stable@vger.kernel.org>
Signed-off-by: Rob Clark <rclark@redhat.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
2018-01-17 16:27:45 +01:00
..
device_include License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vmwgfx_binding.c
vmwgfx_binding.h
vmwgfx_buffer.c drm/vmwgfx: dma-buf: Constify ttm_place structures. 2017-07-17 23:40:57 -07:00
vmwgfx_cmdbuf.c drm/vmwgfx: Fix incorrect command header offset at restart 2017-08-28 17:40:51 +02:00
vmwgfx_cmdbuf_res.c drm/vmwgfx: Fix NULL pointer comparison 2017-07-17 23:40:34 -07:00
vmwgfx_context.c Merge branch 'drm-vmwgfx-fixes' of git://people.freedesktop.org/~syeh/repos_linux into drm-fixes 2017-07-24 15:57:28 +10:00
vmwgfx_cotable.c Merge branch 'drm-vmwgfx-fixes' of git://people.freedesktop.org/~syeh/repos_linux into drm-fixes 2017-07-24 15:57:28 +10:00
vmwgfx_dmabuf.c
vmwgfx_drv.c drm/vmwgfx: Fix Ubuntu 17.10 Wayland black screen issue 2017-11-01 10:56:53 -07:00
vmwgfx_drv.h drm/vmwgfx: Bump the version for fence FD support 2017-08-28 17:53:32 +02:00
vmwgfx_execbuf.c drm/vmwgfx: Potential off by one in vmw_view_add() 2018-01-10 15:21:39 +01:00
vmwgfx_fb.c drm/<drivers>: Drop fbdev info flags 2017-07-26 13:22:40 +02:00
vmwgfx_fence.c drm/vmwgfx: constify vmw_fence_ops 2017-11-01 10:45:43 -07:00
vmwgfx_fence.h drm/vmwgfx: Add support for imported Fence File Descriptor 2017-08-28 17:51:38 +02:00
vmwgfx_fifo.c
vmwgfx_gmr.c
vmwgfx_gmrid_manager.c drm/ttm: make ttm_mem_type_manager_func debug more useful 2017-08-17 15:45:59 -04:00
vmwgfx_ioctl.c drm: Pass struct drm_file * to __drm_mode_object_find [v2] 2017-10-12 10:03:04 +10:00
vmwgfx_irq.c drm/vmwgfx: Move irq bottom half processing to threads 2017-08-28 17:40:43 +02:00
vmwgfx_kms.c drm/vmwgfx: Fix a boot time warning 2018-01-17 09:09:27 +01:00
vmwgfx_kms.h drm/vmwgfx: Don't cache framebuffer maps 2018-01-09 15:33:42 +01:00
vmwgfx_ldu.c drm/vmwgfx: fix memory corruption with legacy/sou connectors 2018-01-17 16:27:45 +01:00
vmwgfx_marker.c
vmwgfx_mob.c drm/vmwgfx: Fix NULL pointer comparison 2017-07-17 23:40:34 -07:00
vmwgfx_msg.c Merge branch 'drm-vmwgfx-fixes' of git://people.freedesktop.org/~syeh/repos_linux into drm-fixes 2017-07-24 15:57:28 +10:00
vmwgfx_msg.h
vmwgfx_overlay.c
vmwgfx_prime.c
vmwgfx_reg.h
vmwgfx_resource.c drm/vmwgfx: Fix NULL pointer comparison 2017-07-17 23:40:34 -07:00
vmwgfx_resource_priv.h
vmwgfx_scrn.c drm/vmwgfx: fix memory corruption with legacy/sou connectors 2018-01-17 16:27:45 +01:00
vmwgfx_shader.c Merge branch 'drm-vmwgfx-fixes' of git://people.freedesktop.org/~syeh/repos_linux into drm-fixes 2017-07-24 15:57:28 +10:00
vmwgfx_simple_resource.c
vmwgfx_so.c
vmwgfx_so.h
vmwgfx_stdu.c drm/vmwgfx: Don't cache framebuffer maps 2018-01-09 15:33:42 +01:00
vmwgfx_surface.c locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns to READ_ONCE()/WRITE_ONCE() 2017-10-25 11:01:08 +02:00
vmwgfx_ttm_glue.c
vmwgfx_va.c