linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Adjust brk randomness
@ 2024-02-17  6:25 Kees Cook
  2024-02-17  6:25 ` [PATCH 1/2] x86: Increase brk randomness entropy on x86_64 Kees Cook
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Kees Cook @ 2024-02-17  6:25 UTC (permalink / raw)
  To: Jiri Kosina
  Cc: Kees Cook, Geert Uytterhoeven, Thomas Gleixner, Ingo Molnar,
	Borislav Petkov, Dave Hansen, H. Peter Anvin, Peter Zijlstra,
	Qi Zheng, Alexandre Ghiti, Al Viro, Christian Brauner, Jan Kara,
	Eric Biederman, Christophe Leroy, Josh Poimboeuf,
	Kirill A. Shutemov, Rick Edgecombe, Brian Gerst, Bjorn Helgaas,
	Tony Battersby, linux-kernel, y0un9n132, x86, linux-fsdevel,
	linux-mm, linux-hardening

Hi,

It was recently pointed out[1] that x86_64 brk entropy was not great,
and that on all architectures the brk can (when the random offset is 0)
be immediately adjacent to .bss, leaving no gap that could stop linear
overflows from the .bss. Address both issues.

-Kees

Link: https://lore.kernel.org/linux-hardening/CA+2EKTVLvc8hDZc+2Yhwmus=dzOUG5E4gV7ayCbu0MPJTZzWkw@mail.gmail.com [1]

Kees Cook (2):
  x86: Increase brk randomness entropy on x86_64
  binfmt_elf: Leave a gap between .bss and brk

 arch/x86/kernel/process.c | 5 ++++-
 fs/binfmt_elf.c           | 3 +++
 2 files changed, 7 insertions(+), 1 deletion(-)

-- 
2.34.1


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

end of thread, other threads:[~2024-04-24 19:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-17  6:25 [PATCH 0/2] Adjust brk randomness Kees Cook
2024-02-17  6:25 ` [PATCH 1/2] x86: Increase brk randomness entropy on x86_64 Kees Cook
2024-02-26 10:39   ` Jiri Kosina
2024-02-17  6:25 ` [PATCH 2/2] binfmt_elf: Leave a gap between .bss and brk Kees Cook
2024-04-24 19:20   ` (subset) " Kees Cook
2024-02-18  0:25 ` [PATCH 0/2] Adjust brk randomness H. Peter Anvin
2024-02-18  1:25   ` Kees Cook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).