Commit 7c236d93 authored by Jason A. Donenfeld's avatar Jason A. Donenfeld Committed by Geert Uytterhoeven
Browse files

m68k: Process bootinfo records before saving them

The RNG seed boot record is memzeroed after processing, in order to
preserve forward secrecy. By saving the bootinfo for procfs prior to
that, forward secrecy is violated, since it becomes possible to recover
past states. So, save the bootinfo block only after first processing
them.

Fixes: a1ee38ab

 ("m68k: virt: Use RNG seed from bootinfo block")
Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>
Link: https://lore.kernel.org/r/20220927130835.1629806-1-Jason@zx2c4.com


Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent 15f90423
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment