[PATCH] powerpc: Make alignment exception always check exception table

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu Nov 2 07:43:15 EST 2006


On Tue, 2006-10-31 at 22:34 -0800, Greg KH wrote:
> On Wed, Nov 01, 2006 at 02:09:30PM +1100, Benjamin Herrenschmidt wrote:
> > The alignment exception used to only check the exception table for
> > -EFAULT, not for other errors. That opens an oops window if we can
> > coerce the kernel into getting an alignment exception for other reasons
> > in what would normally be a user-protected accessor, which can be done
> > via some of the futex ops. This fixes it by always checking the
> > exception tables.
> > 
> > Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> > ---
> > 
> > This is 2.6.19 material and should probably go into stable as well.
> > (Greg: take it if paulus acks it and it applies :)
> 
> Please forward the final patch (which ever version it is :) to the
> stable at kernel.org address when this goes into mainline.

Ok, will do. I wan't sure what the proper procedure was.

Cheers,
Ben.





More information about the Linuxppc-dev mailing list