Booting process on RHEL 7 ppc64le fails with "Kernel panic - not syncing: cbc(des3_ede): cbc(des3_ede) alg self test failed in fips mode!"
Issue
- It has been reported that the booting process on RHEL 7 ppc64le server fails if "FIPS" is enabled. The error messages are as follows :
[ 1.965582] 6alg: self-tests for ecb(des3_ede-generic) (ecb(des3_ede)) passed
[ 1.966122] 6alg: self-tests for ecb(des3_ede) (ecb(des3_ede)) passed
[ 1.970228] alg: skcipher: Failed to load transform for cbc(des3_ede): -80
[ 1.972670] alg: skcipher: Failed to load transform for cbc(des3_ede): -80
[ 1.972678] Kernel panic - not syncing: cbc(des3_ede): cbc(des3_ede) alg self test failed in fips mode!
[ 1.972685] CPU: 6 PID: 857 Comm: modprobe Not tainted 3.10.0-957.12.2.el7.ppc64le #1
[ 1.972688] Call Trace:
[ 1.972695] [c0000000318876e0] [c00000000001c968] show_stack+0x88/0x330 (unreliable)
[ 1.972702] [c000000031887790] [c000000000aa4140] dump_stack+0x30/0x44
[ 1.972707] [c0000000318877b0] [c000000000a997b4] panic+0x148/0x2e0
[ 1.972712] [c000000031887840] [c0000000004e19dc] alg_test+0x55c/0x580
[ 1.972720] [c000000031887940] [d00000000dd37104] do_test+0x41a4/0x4a2c [tcrypt]
[ 1.972724] [c0000000318879d0] [d00000000dd372ac] do_test+0x434c/0x4a2c [tcrypt]
[ 1.972729] [c000000031887a60] [d00000000dd37a2c] tcrypt_mod_init+0xa0/0x134 [tcrypt]
[ 1.972733] [c000000031887ae0] [c00000000000c66c] do_one_initcall+0x12c/0x2c0
[ 1.972737] [c000000031887b70] [c0000000001ada0c] load_module+0x2f7c/0x3ac0
[ 1.972741] [c000000031887d50] [c0000000001ae7a0] SyS_finit_module+0xd0/0x130
[ 1.972745] [c000000031887e30] [c00000000000a284] system_call+0x38/0xfc
[ 1.976249] Rebooting in 10 seconds..
Environment
-
Red Hat Enterprise Linux 7
-
Observed on PPC64LE architecture with
FIPS
enabled -
Observed on kernel version
3.10.0-957.12.2.el7.ppc64le
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.