drm/radeon/kms: fix potential segfault in r600_ioctl_wait_idle

Stefan Bader stefan.bader at canonical.com
Mon Oct 11 10:03:48 UTC 2010

On 10/11/2010 02:06 AM, Ben Hutchings wrote:
> You'll probably want to apply this on top of
> 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.

Thanks for the pointer Ben. I think there also have been a few stable patches
that went into .32 and .35 which makes them likely to be suitable for .33 as
well. We had been a little busy with other things but I think I will have a look
over those and send them to the list when I get back (which will be tomorrow).


More information about the kernel-team mailing list