Re: [random] 31ac294037: BUG:kernel_reboot-without-warning_in_test_sta

From: Jason A. Donenfeld
Date: Wed Jun 22 2022 - 05:28:57 EST


On Wed, Jun 22, 2022 at 02:48:59PM +0800, kernel test robot wrote:
> [ 61.471397][ T855] random: get_random_u32 called from arch_align_stack+0x33/0x4e with crng_init=0
> [ 61.471431][ T855] random: get_random_bytes called from create_elf_tables+0x14f/0x84c with crng_init=0
> [ 61.471493][ T855] random: get_random_u64 called from randomize_page+0x7f/0x93 with crng_init=0
> [ 61.474209][ T792] random: get_random_u32 called from arch_setup_additional_pages+0x9d/0xe1 with crng_init=0
> [ 61.474251][ T792] random: get_random_u32 called from arch_align_stack+0x33/0x4e with crng_init=0

If the DEBUG option, CONFIG_WARN_ALL_UNSEEDED_RANDOM=y, is set, then
this is exactly the intended behavior. Looking at your .config, it is
set. So no issue here.

Jason