lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 22 Jun 2022 14:48:59 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     "Jason A. Donenfeld" <Jason@...c4.com>
Cc:     Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        linux-kernel@...r.kernel.org, lkp@...ts.01.org, lkp@...el.com
Subject: [random]  31ac294037: BUG:kernel_reboot-without-warning_in_test_stage



Greeting,

FYI, we noticed the following commit (built with clang-15):

commit: 31ac294037be272967a4c8bc25d3178020580595 ("random: remove ratelimiting for in-kernel unseeded randomness")
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable-rc.git linux-5.10.y

in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):


we can reproduce 11 times out of 50 runs upon this commit, but cannot reproduce
from 50 runs upon parent.

b50f2830b3df0f50 31ac294037be272967a4c8bc25d
---------------- ---------------------------
       fail:runs  %reproduction    fail:runs
           |             |             |
           :50          22%          11:50    dmesg.BUG:kernel_reboot-without-warning_in_test_stage



If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang@...el.com>


[ 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 
BUG: kernel reboot-without-warning in test stage

Kboot worker: lkp-worker06
Elapsed time: 120

kvm=(


To reproduce:

        # build kernel
	cd linux
	cp config-5.10.118-00148-g31ac294037be .config
	make HOSTCC=clang-15 CC=clang-15 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage modules
	make HOSTCC=clang-15 CC=clang-15 ARCH=x86_64 INSTALL_MOD_PATH=<mod-install-dir> modules_install
	cd <mod-install-dir>
	find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz


        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp qemu -k <bzImage> -m modules.cgz job-script # job-script is attached in this email

        # if come across any failure that blocks the test,
        # please remove ~/.lkp and /lkp dir to run from a clean state.



-- 
0-DAY CI Kernel Test Service
https://01.org/lkp



View attachment "config-5.10.118-00148-g31ac294037be" of type "text/plain" (137283 bytes)

View attachment "job-script" of type "text/plain" (4819 bytes)

Download attachment "dmesg.xz" of type "application/x-xz" (46800 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ