[<prev] [next>] [day] [month] [year] [list]
Message-ID: <YsGW7/+EFX7BcfQH@xsang-OptiPlex-9020>
Date: Sun, 3 Jul 2022 21:17:35 +0800
From: kernel test robot <oliver.sang@...el.com>
To: David Howells <dhowells@...hat.com>
Cc: Simo Sorce <simo@...hat.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
LKML <linux-kernel@...r.kernel.org>, keyrings@...r.kernel.org,
lkp@...ts.01.org, lkp@...el.com
Subject: [certs] 3cde3174eb:
Kernel_panic-not_syncing:Certs_selftest#:pkcs7_validate_trust()=
Greeting,
FYI, we noticed the following commit (built with clang-15):
commit: 3cde3174eb910513d32a9ec8a9b95ea59be833df ("certs: Add FIPS selftests")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
in testcase: boot
on test machine: qemu-system-i386 -enable-kvm -cpu SandyBridge -smp 2 -m 4G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang@...el.com>
[ 5.369952][ T1] Running certificate verification selftests
[ 5.454149][ T1] Problem loading in-kernel X.509 certificate (-2)
[ 5.454225][ T1] Kernel panic - not syncing: Certs selftest 0: pkcs7_validate_trust() = -126
[ 5.455667][ T1] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.19.0-rc2-00002-g3cde3174eb91 #1
[ 5.462350][ T1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.0-debian-1.16.0-4 04/01/2014
[ 5.462350][ T1] Call Trace:
[ 5.462350][ T1] dump_stack_lvl+0x55/0x7f
[ 5.462350][ T1] dump_stack+0xd/0x12
[ 5.462350][ T1] panic+0xeb/0x299
[ 5.462350][ T1] fips_signature_selftest+0x131/0x131
[ 5.462350][ T1] ? ca_keys_setup+0x8a/0x8a
[ 5.462350][ T1] x509_key_init+0x1d/0x1f
[ 5.462350][ T1] do_one_initcall+0xb6/0x193
[ 5.462350][ T1] ? ca_keys_setup+0x8a/0x8a
[ 5.462350][ T1] do_initcall_level+0x80/0x92
[ 5.462350][ T1] do_initcalls+0x41/0x62
[ 5.462350][ T1] do_basic_setup+0x31/0x34
[ 5.462350][ T1] kernel_init_freeable+0xc3/0xf4
[ 5.462350][ T1] ? rest_init+0x165/0x165
[ 5.462350][ T1] kernel_init+0x17/0x103
[ 5.462350][ T1] ret_from_fork+0x1c/0x30
[ 5.462350][ T1] Kernel Offset: disabled
To reproduce:
# build kernel
cd linux
cp config-5.19.0-rc2-00002-g3cde3174eb91 .config
make HOSTCC=clang-15 CC=clang-15 ARCH=i386 olddefconfig prepare modules_prepare bzImage modules
make HOSTCC=clang-15 CC=clang-15 ARCH=i386 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.19.0-rc2-00002-g3cde3174eb91" of type "text/plain" (169091 bytes)
View attachment "job-script" of type "text/plain" (4674 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (10396 bytes)
Powered by blists - more mailing lists