diff options
author | Jan Beulich <JBeulich@novell.com> | 2009-09-30 11:22:11 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-10-01 11:24:26 +0200 |
commit | 24e35800cdc4350fc34e2bed37b608a9e13ab3b6 (patch) | |
tree | 0e592a3f097d101263c7da4fc529f86d03cf9f2a /arch/x86/kernel/cpu | |
parent | 4701472e441e41be2549a25228f703bc9cd13b5b (diff) |
x86: Don't leak 64-bit kernel register values to 32-bit processes
While 32-bit processes can't directly access R8...R15, they can
gain access to these registers by temporarily switching themselves
into 64-bit mode.
Therefore, registers not preserved anyway by called C functions
(i.e. R8...R11) must be cleared prior to returning to user mode.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: <stable@kernel.org>
LKML-Reference: <4AC34D73020000780001744A@vpn.id2.novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpu')
0 files changed, 0 insertions, 0 deletions