mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Replace invocations of prandom_u32_state, prandom_bytes_state with get_random_u32, get_random_bytes
@ 2022-12-13 10:34 david.keisarschm
  2022-12-13 10:34 ` [PATCH v2 1/3] Replace invocation of weak PRNG in mm/slab.c david.keisarschm
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: david.keisarschm @ 2022-12-13 10:34 UTC (permalink / raw)
  To: linux-kernel; +Cc: David, aksecurity, ilay.bahat1

From: David <david.keisarschm@mail.huji.ac.il>

 The security improvements for prandom_u32 done specifically in
commits c51f8f88d705e06bd696d7510aff22b33eb8e638 from October 2020
 and d4150779e60fb6c49be25572596b2cdfc5d46a09 from May 2022)
 didn't handle the cases when prandom_bytes_state() and prandom_u32_state()
  are used. We have now added the necessary changes to handle
   these cases as  well.

David (3):
  Replace invocation of weak PRNG in mm/slab.c
  Replace invocation of weak PRNG inside mm/slab_common.c
  Replace invocation of weak PRNG in arch/x86/mm/kaslr.c

 arch/x86/mm/kaslr.c |  5 +----
 mm/slab.c           | 20 ++++++++------------
 mm/slab_common.c    | 10 +++-------
 3 files changed, 12 insertions(+), 23 deletions(-)

-- 
2.38.0


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

end of thread, other threads:[~2022-12-13 15:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-13 10:34 [PATCH v2 0/3] Replace invocations of prandom_u32_state, prandom_bytes_state with get_random_u32, get_random_bytes david.keisarschm
2022-12-13 10:34 ` [PATCH v2 1/3] Replace invocation of weak PRNG in mm/slab.c david.keisarschm
2022-12-13 15:02   ` Matthew Wilcox
2022-12-13 10:34 ` [PATCH v2 2/3] Replace invocation of weak PRNG inside mm/slab_common.c david.keisarschm
2022-12-13 10:34 ` [PATCH v2 3/3] Replace invocation of weak PRNG in arch/x86/mm/kaslr.c david.keisarschm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®