original_kernel/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
Kbuild drm: Install drm_fourcc.h 2011-12-20 10:02:02 +00:00
drm.h drm: add an fb creation ioctl that takes a pixel format v5 2011-11-15 19:53:23 +00:00
drmP.h drm: Fix authentication kernel crash 2012-01-25 09:27:45 +00:00
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 Merge tag 'v3.2-rc6' of /home/airlied/devel/kernel/linux-2.6 into drm-core-next 2011-12-20 14:43:53 +00:00
drm_os_linux.h
drm_pciids.h drm/radeon/kms: add some new pci ids 2011-12-14 12:29:03 +00:00
drm_sarea.h
drm_sysfs.h
drm_usb.h
exynos_drm.h drm/exynos: added hdmi display support 2011-12-29 11:21:42 +09:00
gma_drm.h gma500: Move the API 2011-12-06 09:54:23 +00:00
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
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