Files
linux/arch/m68k
Jason A. Donenfeld 70a5a454cb m68k: Process bootinfo records before saving them
[ Upstream commit 7c236d93c6 ]

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: a1ee38ab1a ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-10-21 12:38:01 +02:00
..
2022-02-21 12:00:20 +01:00
2022-02-21 12:00:20 +01:00
2022-06-28 06:33:15 -06:00
2022-05-25 00:04:11 +10:00
2021-09-24 13:35:07 +02:00
2022-04-11 11:48:01 +02:00