Linux-Crypto Archive mirror
 help / color / mirror / Atom feed
From: Changhui Zhong <czhong@redhat.com>
To: linux-crypto@vger.kernel.org
Subject: [bug report] Kernel panic - not syncing: alg: self-tests for xxhash64 (xxhash64) failed in fips mode!
Date: Fri, 10 May 2024 17:21:56 +0800	[thread overview]
Message-ID: <CAGVVp+X7_k_a561s6dZX0tHoM2j8cg2D_AnE6UJ9HMyAbAiXjQ@mail.gmail.com> (raw)

Hello,

I hit the kernel panic on recent upstream, please help check it and
let me know if you need any info/testing for it, thanks.

repo:https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git
branch:for-next
commit HEAD: d7c9295b12e267bd9b6623bd6e23637f4bb5ceb2

reproducer:
# fips-mode-setup --enable

[   15.665335] alg: hash: failed to allocate transform for xxhash64: -2
[   15.671682] Kernel panic - not syncing: alg: self-tests for
xxhash64 (xxhash64) failed in fips mode!
[   15.680800] CPU: 33 PID: 1416 Comm: modprobe Not tainted 6.9.0-rc4+ #1
[   15.687315] Hardware name: GIGABYTE R152-P31-00/MP32-AR1-00, BIOS
F31n (SCP: 2.10.20220810) 09/30/2022
[   15.696607] Call trace:
[   15.699040]  dump_backtrace+0x9c/0x130
[   15.702780]  show_stack+0x1c/0x30
[   15.706082]  dump_stack_lvl+0x34/0xe0
[   15.709733]  dump_stack+0x14/0x20
[   15.713035]  panic+0x390/0x3d8
[   15.716079]  alg_test+0x574/0x580
[   15.719382]  do_test+0x4ad0/0x7468 [tcrypt]
[   15.723556]  do_test+0x744c/0x7468 [tcrypt]
[   15.727729]  tcrypt_mod_init+0x64/0xfff8 [tcrypt]
[   15.732423]  do_one_initcall+0x50/0x2e8
[   15.736246]  do_init_module+0x5c/0x280
[   15.739984]  load_module+0x1f48/0x2008
[   15.743721]  init_module_from_file+0x90/0xd0
[   15.747979]  __arm64_sys_finit_module+0x168/0x3a8
[   15.752670]  invoke_syscall.constprop.4+0x50/0xe0
[   15.757363]  do_el0_svc+0x78/0xc0
[   15.760666]  el0_svc+0x40/0x1b8
[   15.763795]  el0t_64_sync_handler+0x98/0xc0
[   15.767966]  el0t_64_sync+0x160/0x168
[   15.771616] SMP: stopping secondary CPUs
[   15.775842] Kernel Offset: 0x276185f00000 from 0xffff800080000000
[   15.781922] PHYS_OFFSET: 0x80000000
[   15.785397] CPU features: 0x0,0000000b,80140528,4241720b
[   15.790696] Memory Limit: none
[   15.793737] ---[ end Kernel panic - not syncing: alg: self-tests
for xxhash64 (xxhash64) failed in fips mode! ]---

--
Best Regards,
     Changhui


                 reply	other threads:[~2024-05-10  9:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAGVVp+X7_k_a561s6dZX0tHoM2j8cg2D_AnE6UJ9HMyAbAiXjQ@mail.gmail.com \
    --to=czhong@redhat.com \
    --cc=linux-crypto@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).