Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x86-64: Fill unused parts of the vsyscall page with 0xcc
Jumping to 0x00 might do something depending on the following bytes. Jumping to 0xcc is a trap. So fill the unused parts of the vsyscall page with 0xcc to make it useless for exploits to jump there. Signed-off-by: Andy Lutomirski <[email protected]> Cc: Jesper Juhl <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Arjan van de Ven <[email protected]> Cc: Jan Beulich <[email protected]> Cc: richard -rw- weinberger <[email protected]> Cc: Mikael Pettersson <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Brian Gerst <[email protected]> Cc: Louis Rilling <[email protected]> Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/ed54bfcfbe50a9070d20ec1edbe0d149e22a4568.1307292171.git.luto@mit.edu Signed-off-by: Ingo Molnar <[email protected]>
- Loading branch information