Skip to content

Commit

Permalink
x86-64: Pad vDSO to a page boundary
Browse files Browse the repository at this point in the history
This avoids an information leak to userspace.

Signed-off-by: Andy Lutomirski <luto@mit.edu>
Link: http://lkml.kernel.org/r/a63380a3c58a0506a2f5a18ba1b12dbde1f25e58.1312378163.git.luto@mit.edu
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
  • Loading branch information
Andy Lutomirski authored and H. Peter Anvin committed Aug 4, 2011
1 parent 17b0436 commit 1bdfac1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/x86/vdso/vdso.S
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ __PAGE_ALIGNED_DATA
vdso_start:
.incbin "arch/x86/vdso/vdso.so"
vdso_end:
.align PAGE_SIZE /* extra data here leaks to userspace. */

.previous

Expand Down

0 comments on commit 1bdfac1

Please sign in to comment.