diff options
author | Andy Lutomirski <luto@amacapital.net> | 2014-12-04 16:48:16 -0800 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-12-14 08:50:31 +0100 |
commit | 41bdc78544b8a93a9c6814b8bbbfef966272abbe (patch) | |
tree | 9c947f48aa4a6e357fc96a4a695271192252f480 /arch/x86/kernel/asm-offsets_64.c | |
parent | f0905c5a32ce6e9b743b4d9c70e53d1ce447852d (diff) | |
download | op-kernel-dev-41bdc78544b8a93a9c6814b8bbbfef966272abbe.zip op-kernel-dev-41bdc78544b8a93a9c6814b8bbbfef966272abbe.tar.gz |
x86/tls: Validate TLS entries to protect espfix
Installing a 16-bit RW data segment into the GDT defeats espfix.
AFAICT this will not affect glibc, Wine, or dosemu at all.
Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Cc: stable@vger.kernel.org
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: security@kernel.org <security@kernel.org>
Cc: Willy Tarreau <w@1wt.eu>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/asm-offsets_64.c')
0 files changed, 0 insertions, 0 deletions