drm/radeon/kms: fix potential segfault in r600_ioctl_wait_idle

Ben Hutchings ben at decadent.org.uk
Mon Oct 11 01:06:17 UTC 2010


You'll probably want to apply this on top of 2.6.32.24.10:

commit 9a865de8e9ff9ce3d8ff7f4cd6cead7bfde9ca31
Author: Alex Deucher <alexdeucher at gmail.com>
Date:   Mon Sep 27 10:53:34 2010 -0400

    drm/radeon/kms: fix potential segfault in r600_ioctl_wait_idle
    
    radeon_gem_wait_idle_ioctl can apparently get called prior to
    the vram page being set up or even if accel if false, so make
    sure it's valid before using it.
    
    Should fix:
    http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597636
    https://bugs.freedesktop.org/show_bug.cgi?id=29834
    
    Signed-off-by: Alex Deucher <alexdeucher at gmail.com>
    Cc: stable at kernel.org

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20101011/c8bd48a2/attachment.sig>


More information about the kernel-team mailing list