diff options
author | Andy Lutomirski <[email protected]> | 2015-09-04 17:00:43 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-09-05 09:01:16 +0200 |
commit | 76fc5e7b2355af167dea1a32e93c57fc37900a5b (patch) | |
tree | 0db0ca6a7f1a689a7efdcf1539bacf330cc1715c /tools/perf/scripts/python/stackcollapse.py | |
parent | 95cd2ea7d54b41b0b2828587f108fe270d59eede (diff) |
x86/vm86: Block non-root vm86(old) if mmap_min_addr != 0
vm86 exposes an interesting attack surface against the entry
code. Since vm86 is mostly useless anyway if mmap_min_addr != 0,
just turn it off in that case.
There are some reports that vbetool can work despite setting
mmap_min_addr to zero. This shouldn't break that use case,
as CAP_SYS_RAWIO already overrides mmap_min_addr.
Suggested-by: Linus Torvalds <[email protected]>
Signed-off-by: Andy Lutomirski <[email protected]>
Cc: Arjan van de Ven <[email protected]>
Cc: Austin S Hemmelgarn <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Josh Boyer <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Matthew Garrett <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stas Sergeev <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions