diff options
author | Andi Kleen <ak@suse.de> | 2006-04-07 19:50:00 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-09 11:53:52 -0700 |
commit | 7bf36bbc5e0c09271f9efe22162f8cc3f8ebd3d2 (patch) | |
tree | 9e97e2f5774824f0e2fbff1d4e7c49e9938285f5 /net/ax25/Kconfig | |
parent | 553f265fe883a23502ee351845f09334790f18b8 (diff) |
[PATCH] x86_64: When user could have changed RIP always force IRET
Intel EM64T CPUs handle uncanonical return addresses differently
from AMD CPUs.
The exception is reported in the SYSRET, not the next instruction.
This leads to the kernel exception handler running on the user stack
with the wrong GS because the kernel didn't expect exceptions
on this instruction.
This version of the patch has the teething problems that plagued an earlier
version fixed.
This is CVE-2006-0744
Thanks to Ernie Petrides and Asit B. Mallick for analysis and initial
patches.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/ax25/Kconfig')
0 files changed, 0 insertions, 0 deletions