linux/include/drm
Thomas Hellstrom 598781d711 drm: Fix authentication kernel crash
If the master tries to authenticate a client using drm_authmagic and
that client has already closed its drm file descriptor,
either wilfully or because it was terminated, the
call to drm_authmagic will dereference a stale pointer into kmalloc'ed memory
and corrupt it.

Typically this results in a hard system hang.

This patch fixes that problem by removing any authentication tokens
(struct drm_magic_entry) open for a file descriptor when that file
descriptor is closed.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-01-25 09:27:45 +00:00
..
i2c
ttm ttm: fix agp since ttm tt rework 2012-01-06 09:34:03 +00:00
drm.h
drm_buffer.h
drm_cache.h
drm_core.h
drm_crtc.h drm: bump DRM_CONNECTOR_MAX_ENCODER from 2 to 3 2012-01-13 09:01:09 +00:00
drm_crtc_helper.h drm: Add drm_format_num_planes() utility function 2011-12-20 20:34:32 +00:00
drm_dp_helper.h
drm_edid.h
drm_encoder_slave.h
drm_fb_helper.h
drm_fixed.h
drm_fourcc.h drm: Add multi buffer plane pixel formats 2011-12-29 11:21:42 +09:00
drm_global.h
drm_hashtab.h
drm_mem_util.h
drm_memory.h
drm_mm.h
drm_mode.h
drm_os_linux.h
drm_pciids.h
drm_sarea.h
drm_sysfs.h
drm_usb.h
drmP.h drm: Fix authentication kernel crash 2012-01-25 09:27:45 +00:00
exynos_drm.h drm/exynos: added hdmi display support 2011-12-29 11:21:42 +09:00
gma_drm.h
i810_drm.h
i915_drm.h drm/i915: Add support for resetting the SO write pointers on gen7. 2012-01-03 09:31:18 -08:00
intel-gtt.h
Kbuild
mga_drm.h
nouveau_drm.h
r128_drm.h
radeon_drm.h drm/radeon/kms: remove pointless CS flags priority struct 2012-01-09 12:10:13 +00:00
savage_drm.h
sis_drm.h drm/sis: track obj->drm_fd relations in the driver 2011-12-22 00:33:15 +01:00
via_drm.h drm/via: track obj->drm_fd relations in the driver 2011-12-22 00:33:19 +01:00
vmwgfx_drm.h