Re: [Dri-devel] 2.6.1-rc2-mm1: drm/sis_mm.c compile error

From: Alan Cox
Date: Thu Jan 08 2004 - 19:03:08 EST


On Iau, 2004-01-08 at 15:36, Adrian Bunk wrote:
> On Wed, Jan 07, 2004 at 11:28:31PM -0800, Andrew Morton wrote:
> >...
> > - Added the latest code drop from DRM CVS. People who use DRM, please test
> > it.
> >...
>
> I got the following compile error:

I got it to crash the kernel. Build with no sis_fb compiled in, hack the
dri userspace (client non priviledged code) to pass random numbers to
FB_ALLOC/FREE and it oopses.

The checks in the sis_drm for which memory allocator to use also come
out with bogus answers for some module/non-module combinations. Probably
the sis_mm one should be a seperate module since the alternate mm in the
4.3.99x DRM seems exploitable and insufficiently sanity checked.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/