Messages in this thread | | | Date | Thu, 16 Apr 2015 14:14:49 -0400 | From | Rik van Riel <> | Subject | Re: [PATCH] x86/fpu: Load xsave pointer *after* initialization |
| |
On 04/16/2015 02:05 PM, Borislav Petkov wrote: > From: Borislav Petkov <bp@suse.de> > > So I was playing with gdb today and did this simple thing: > > gdb /bin/ls > > ... > > (gdb) run > > Box exploded with the splat at the end because we do cache > &target->thread.fpu.state->xsave into the local variable xsave but > that pointer is NULL at that time and it gets initialized later, in > init_fpu(), see
> Signed-off-by: Borislav Petkov <bp@suse.de> > Cc: Oleg Nesterov <oleg@redhat.com> > Cc: Rik van Riel <riel@redhat.com> > Cc: Andy Lutomirski <luto@amacapital.net> > Cc: H. Peter Anvin <hpa@zytor.com> > Cc: Linus Torvalds <torvalds@linux-foundation.org> > Cc: Tavis Ormandy <taviso@google.com> > Cc: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Rik van Riel <riel@redhat.com>
| |