All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] split ET_DYN ASLR from mmap ASLR
@ 2015-03-03  0:19 ` Kees Cook
  0 siblings, 0 replies; 72+ messages in thread
From: Kees Cook @ 2015-03-03  0:19 UTC (permalink / raw)
  To: akpm
  Cc: Kees Cook, linux-kernel, Russell King, Catalin Marinas,
	Will Deacon, Ralf Baechle, Benjamin Herrenschmidt,
	Paul Mackerras, Michael Ellerman, Martin Schwidefsky,
	Heiko Carstens, linux390, x86, Alexander Viro, Oleg Nesterov,
	Andy Lutomirski, David A. Long, Andrey Ryabinin, Arun Chandran,
	Yann Droneaud, Min-Hua Chen, Paul Burton, Alex Smith,
	Markos Chandras, Jeff Bailey, Vineeth Vijayan, Michael Holzheu,
	Ben Hutchings, Hector Marco-Gisbert, Borislav Petkov,
	Jan-Simon Möller, linux-arm-kernel, linux-mips,
	linuxppc-dev, linux-s390, linux-fsdevel

To address the "offset2lib" ASLR weakness[1], this separates ET_DYN
ASLR from mmap ASLR, as already done on s390. The architectures
that are already randomizing mmap (arm, arm64, mips, powerpc, s390,
and x86), have their various forms of arch_mmap_rnd() made available
via the new CONFIG_ARCH_HAS_ELF_RANDOMIZE. For these architectures,
arch_randomize_brk() is collapsed as well.

This is an alternative to the solutions in:
https://lkml.org/lkml/2015/2/23/442

Thanks!

-Kees

[1] http://cybersecurity.upv.es/attacks/offset2lib/offset2lib.html

---
v2:
- verbosified the commit logs, especially 4/5 (akpm)


^ permalink raw reply	[flat|nested] 72+ messages in thread
* [PATCH 0/5] split ET_DYN ASLR from mmap ASLR
@ 2015-02-27  3:07 Kees Cook
  2015-02-27  3:07   ` Kees Cook
  0 siblings, 1 reply; 72+ messages in thread
From: Kees Cook @ 2015-02-27  3:07 UTC (permalink / raw)
  To: akpm
  Cc: Kees Cook, Russell King, Catalin Marinas, Will Deacon,
	Ralf Baechle, Benjamin Herrenschmidt, Paul Mackerras,
	Michael Ellerman, Martin Schwidefsky, Heiko Carstens, linux390,
	x86, Alexander Viro, Oleg Nesterov, Andy Lutomirski,
	David A. Long, Andrey Ryabinin, Arun Chandran, Yann Droneaud,
	Min-Hua Chen, Paul Burton, Alex Smith, Markos Chandras,
	Vineeth Vijayan, Jeff Bailey, Michael Holzheu, Ben Hutchings,
	Behan Webster, Ismael Ripoll, Hector Marco-Gisbert,
	Jan-Simon Möller, linux-kernel, linux-arm-kernel,
	linux-mips, linuxppc-dev, linux-s390, linux-fsdevel

This separates ET_DYN ASLR from mmap ASLR, as already done on s390. The
various architectures that are already randomizing mmap (arm, arm64, mips,
powerpc, s390, and x86), have their various forms of arch_mmap_rnd()
made available via the new CONFIG_ARCH_HAS_ELF_RANDOMIZE. For these
architectures, arch_randomize_brk() is collapsed as well.

This is an alternative to the solutions in:
https://lkml.org/lkml/2015/2/23/442

Thanks!

-Kees


^ permalink raw reply	[flat|nested] 72+ messages in thread

end of thread, other threads:[~2015-03-09 15:15 UTC | newest]

Thread overview: 72+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-03  0:19 [PATCH v2 0/5] split ET_DYN ASLR from mmap ASLR Kees Cook
2015-03-03  0:19 ` Kees Cook
2015-03-03  0:19 ` Kees Cook
2015-03-03  0:19 ` Kees Cook
2015-03-03  0:19 ` [PATCH 1/5] arm: factor out mmap ASLR into mmap_rnd Kees Cook
2015-03-03  0:19   ` Kees Cook
2015-03-03  0:19   ` Kees Cook
2015-03-03  0:19   ` Kees Cook
2015-03-09 14:48   ` Russell King - ARM Linux
2015-03-09 14:48     ` Russell King - ARM Linux
2015-03-09 14:48     ` Russell King - ARM Linux
2015-03-09 14:48     ` Russell King - ARM Linux
2015-03-03  0:19 ` [PATCH 2/5] mm: expose arch_mmap_rnd when available Kees Cook
2015-03-03  0:19   ` Kees Cook
2015-03-03  0:19   ` Kees Cook
2015-03-03  0:19   ` Kees Cook
2015-03-09 14:49   ` Russell King - ARM Linux
2015-03-09 14:49     ` Russell King - ARM Linux
2015-03-09 14:49     ` Russell King - ARM Linux
2015-03-09 14:49     ` Russell King - ARM Linux
2015-03-03  0:19 ` [PATCH 3/5] mm: move randomize_et_dyn into ELF_ET_DYN_BASE Kees Cook
2015-03-03  0:19   ` Kees Cook
2015-03-03  0:19   ` Kees Cook
2015-03-03  0:19   ` Kees Cook
2015-03-03  0:19 ` [PATCH 4/5] mm: split ET_DYN ASLR from mmap ASLR Kees Cook
2015-03-03  0:19   ` Kees Cook
2015-03-03  0:19   ` Kees Cook
2015-03-03  0:19   ` Kees Cook
2015-03-04  4:16   ` Michael Ellerman
2015-03-04  4:16     ` Michael Ellerman
2015-03-04  4:16     ` Michael Ellerman
2015-03-04  4:16     ` Michael Ellerman
2015-03-04 21:13     ` Kees Cook
2015-03-04 21:13       ` Kees Cook
2015-03-04 21:13       ` Kees Cook
2015-03-04 21:13       ` Kees Cook
2015-03-04 23:56       ` Michael Ellerman
2015-03-04 23:56         ` Michael Ellerman
2015-03-04 23:56         ` Michael Ellerman
2015-03-04 23:56         ` Michael Ellerman
2015-03-09 15:13   ` Russell King - ARM Linux
2015-03-09 15:13     ` Russell King - ARM Linux
2015-03-09 15:13     ` Russell King - ARM Linux
2015-03-09 15:13     ` Russell King - ARM Linux
2015-03-03  0:19 ` [PATCH 5/5] mm: fold arch_randomize_brk into ARCH_HAS_ELF_RANDOMIZE Kees Cook
2015-03-03  0:19   ` Kees Cook
2015-03-03  0:19   ` Kees Cook
2015-03-03  0:19   ` Kees Cook
2015-03-09 14:51   ` Russell King - ARM Linux
2015-03-09 14:51     ` Russell King - ARM Linux
2015-03-09 14:51     ` Russell King - ARM Linux
2015-03-09 14:51     ` Russell King - ARM Linux
2015-03-03  7:31 ` [PATCH v2 0/5] split ET_DYN ASLR from mmap ASLR Ingo Molnar
2015-03-03  7:31   ` Ingo Molnar
2015-03-03  7:31   ` Ingo Molnar
2015-03-03  7:31   ` Ingo Molnar
2015-03-03 18:03   ` Kees Cook
2015-03-03 18:03     ` Kees Cook
2015-03-03 18:03     ` Kees Cook
2015-03-03 18:03     ` Kees Cook
2015-03-04  4:20     ` Ingo Molnar
2015-03-04  4:20       ` Ingo Molnar
2015-03-04  4:20       ` Ingo Molnar
2015-03-04  4:20       ` Ingo Molnar
2015-03-09 15:15 ` Russell King - ARM Linux
2015-03-09 15:15   ` Russell King - ARM Linux
2015-03-09 15:15   ` Russell King - ARM Linux
2015-03-09 15:15   ` Russell King - ARM Linux
  -- strict thread matches above, loose matches on Subject: below --
2015-02-27  3:07 [PATCH " Kees Cook
2015-02-27  3:07 ` [PATCH 4/5] mm: " Kees Cook
2015-02-27  3:07   ` Kees Cook
2015-02-27  3:07   ` Kees Cook
2015-02-27  3:07   ` Kees Cook

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.