]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
i386: fixup TRACE_IRQ breakage (CVE-2007-3731)
authorPeter Zijlstra <peterz@infradead.org>
Thu, 7 Feb 2008 20:03:18 +0000 (21:03 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 25 Feb 2008 23:59:19 +0000 (15:59 -0800)
commit40606733c750e2ce350490cac151188c97fae229
tree4d0a55b3e9bca995dc0d61c787bb41db4cdbc135
parent318d99d5da9c2f90eb436b2e9cbc38a3ef0d2e39
i386: fixup TRACE_IRQ breakage (CVE-2007-3731)

mainline: a10d9a71bafd3a283da240d2868e71346d2aef6f

The TRACE_IRQS_ON function in iret_exc: calls a C function without
ensuring that the segments are set properly. Move the trace function and
the enabling of interrupt into the C stub.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Acked-by: Jeff Mahoney <jeffm@suse.com>
CC: Oliver Pinter <oliver.pntr@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/i386/kernel/entry.S
arch/i386/kernel/traps.c