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]
Message-ID: <MW2PR2101MB0892C9A8BF670DEC3628CFAFBF7E9@MW2PR2101MB0892.namprd21.prod.outlook.com>
Date:   Mon, 29 Mar 2021 21:56:18 +0000
From:   Dexuan Cui <decui@...rosoft.com>
To:     "linux-crypto@...r.kernel.org" <linux-crypto@...r.kernel.org>
CC:     "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: v5.12.0-rc5: the kernel panics if FIPS mode is on

Hi all,
The v5.12.0-rc5 kernel (1e43c377a79f) panics with fips=1.

Please refer to the below panic call-trace. The kernel config file and
the full kernel messages are also attached.

Is this a known issue?

Thanks,
-- Dexuan

         Starting dracut pre-udev hook...
[    7.260424] alg: self-tests for sha512-generic (sha512) passed
[    7.265917] alg: self-tests for sha384-generic (sha384) passed
[    7.272426] alg: self-tests for sha512-ssse3 (sha512) passed
[    7.276500] alg: self-tests for sha384-ssse3 (sha384) passed
[    7.281722] alg: self-tests for sha512-avx (sha512) passed
[    7.286579] alg: self-tests for sha384-avx (sha384) passed
[    7.291631] alg: self-tests for sha512-avx2 (sha512) passed
[    7.296950] alg: self-tests for sha384-avx2 (sha384) passed
[    7.321040] alg: self-tests for sha3-224-generic (sha3-224) passed
[    7.330291] alg: self-tests for sha3-256-generic (sha3-256) passed
[    7.335918] alg: self-tests for sha3-384-generic (sha3-384) passed
[    7.341508] alg: self-tests for sha3-512-generic (sha3-512) passed
[    7.381918] alg: self-tests for crc32c-intel (crc32c) passed
[    7.396694] alg: self-tests for crct10dif-pclmul (crct10dif) passed
[    7.453515] alg: self-tests for ghash-clmulni (ghash) passed
[    7.469558] alg: self-tests for des3_ede-asm (des3_ede) passed
[    7.475355] alg: self-tests for ecb-des3_ede-asm (ecb(des3_ede)) passed
[    7.481361] alg: self-tests for cbc-des3_ede-asm (cbc(des3_ede)) passed
[    7.488656] alg: self-tests for des3_ede-generic (des3_ede) passed
[    7.304930] dracut-pre-udev[502]: modprobe: ERROR: could not insert 'padlock_aes': No such device
[    7.579580] alg: No test for fips(ansi_cprng) (fips_ansi_cprng)
[    7.606547] alg: self-tests for sha1 (sha1) passed
[    7.610624] alg: self-tests for ecb(des3_ede) (ecb(des3_ede)) passed
[    7.615746] alg: self-tests for cbc(des3_ede) (cbc(des3_ede)) passed
[    7.638067] alg: self-tests for ctr(des3_ede-asm) (ctr(des3_ede)) passed
[    7.644781] alg: self-tests for ctr(des3_ede) (ctr(des3_ede)) passed
[    7.653810] alg: self-tests for sha256 (sha256) passed
[    7.658945] alg: self-tests for ecb(aes) (ecb(aes)) passed
[    7.663493] alg: self-tests for cbc(aes) (cbc(aes)) passed
[    7.668421] alg: self-tests for xts(aes) (xts(aes)) passed
[    7.672389] alg: self-tests for ctr(aes) (ctr(aes)) passed
[    7.692973] alg: self-tests for rfc3686(ctr-aes-aesni) (rfc3686(ctr(aes))) passed
[    7.699446] alg: self-tests for rfc3686(ctr(aes)) (rfc3686(ctr(aes))) passed
[    7.730149] alg: skcipher: failed to allocate transform for ofb(aes): -2
[    7.735959] Kernel panic - not syncing: alg: self-tests for ofb(aes) (ofb(aes)) failed in fips mode!
[    7.736952] CPU: 13 PID: 560 Comm: modprobe Tainted: G        W         5.12.0-rc5+ #3
[    7.736952] Hardware name: Microsoft Corporation Virtual Machine/Virtual Machine, BIOS 090008  12/07/2018
[    7.736952] Call Trace:
[    7.736952]  dump_stack+0x64/0x7c
[    7.736952]  panic+0xfb/0x2d7
[    7.736952]  alg_test+0x42d/0x460
[    7.736952]  ? __kernfs_new_node+0x175/0x1d0
[    7.736952]  do_test+0x3248/0x57ea [tcrypt]
[    7.736952]  do_test+0x1f2c/0x57ea [tcrypt]
[    7.736952]  ? 0xffffffffc031d000
[    7.736952]  tcrypt_mod_init+0x55/0x1000 [tcrypt]
[    7.736952]  ? 0xffffffffc031d000
[    7.736952]  do_one_initcall+0x44/0x1d0
[    7.736952]  ? __cond_resched+0x15/0x30
[    7.736952]  ? kmem_cache_alloc_trace+0x3d/0x410
[    7.736952]  do_init_module+0x5a/0x230
[    7.736952]  load_module+0x1a5b/0x1bc0
[    7.736952]  ? __do_sys_finit_module+0xad/0x110
[    7.736952]  __do_sys_finit_module+0xad/0x110
[    7.736952]  do_syscall_64+0x33/0x40
[    7.736952]  entry_SYSCALL_64_after_hwframe+0x44/0xae
[    7.736952] RIP: 0033:0x7ff2e760978d
[    7.736952] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d cb 56 2c 00 f7 d8 64 89 01 48
[    7.736952] RSP: 002b:00007ffd80204308 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[    7.736952] RAX: ffffffffffffffda RBX: 0000563dcfe8f030 RCX: 00007ff2e760978d
[    7.736952] RDX: 0000000000000000 RSI: 0000563dcf41d7b6 RDI: 0000000000000003
[    7.736952] RBP: 0000563dcf41d7b6 R08: 0000000000000000 R09: 0000000000000000
[    7.736952] R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000000
[    7.736952] R13: 0000563dcfe934c0 R14: 0000000000040000 R15: 0000000000000000
[    7.736952] Kernel Offset: 0x10800000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[    7.736952] ---[ end Kernel panic - not syncing: alg: self-tests for ofb(aes) (ofb(aes)) failed in fips mode! ]---

Download attachment "v5.12-rc5.kernel.config.txt.tar.gz" of type "application/x-gzip" (50156 bytes)

View attachment "kernel.message.txt" of type "text/plain" (42061 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ