summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-09-27 15:08:34 +0200
committerGeert Uytterhoeven <geert@linux-m68k.org>2022-09-28 22:16:44 +0200
commit7c236d93c6764dcaca7ab66d76768a044647876d (patch)
treec8b9aad19088e7e39fe84e923966454aa01bf302 /block
parent15f9042311b0ab9c2904d50428f304a6229d6a02 (diff)
downloadlwn-7c236d93c6764dcaca7ab66d76768a044647876d.tar.gz
lwn-7c236d93c6764dcaca7ab66d76768a044647876d.zip
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: a1ee38ab1a75 ("m68k: virt: Use RNG seed from bootinfo block") Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Link: https://lore.kernel.org/r/20220927130835.1629806-1-Jason@zx2c4.com Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions