linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephan Mueller <smueller@chronox.de>
To: Linux Crypto List <linux-crypto@vger.kernel.org>
Subject: POWER8 BE: NX crypto driver caused oops
Date: Tue, 31 Mar 2020 14:48:15 +0200	[thread overview]
Message-ID: <6610324.mVlmhZnPjZ@tauon.chronox.de> (raw)

Hi,

with a 5.5 vanilla kernel, I got the following crash in the NX crypto driver 
on a POWER8 BE system.

When compiling out the NX driver, the boot is successful.

[    5.233403] pseries_rng: Registering IBM pSeries RNG driver
[    5.291347] BUG: Unable to handle kernel data access on read at 0x0488a000
[    5.291360] Faulting instruction address: 0xc0000000000b3530
[    5.291365] Oops: Kernel access of bad area, sig: 11 [#1]
[    5.291370] BE PAGE_SIZE=64K MMU=Hash SMP NR_CPUS=2048 NUMA pSeries
[    5.291375] Modules linked in: nx_crypto(+) pseries_rng
vmx_crypto(+) ip_tables xfs libcrc32c sd_mod ibmvscsi ibmveth
scsi_transport_srp dm_mirror dm_region_hash dm_log dm_mod
[    5.291392] CPU: 2 PID: 933 Comm: cryptomgr_test Not tainted 5.5.0 #1
[    5.291396] NIP:  c0000000000b3530 LR: c00000000036e84c CTR: 
0000000000000200
[    5.291401] REGS: c0000005f9bbb620 TRAP: 0380   Not tainted  (5.5.0)
[    5.291405] MSR:  800000010280b032
<SF,VEC,VSX,EE,FP,ME,IR,DR,RI,TM[E]>  CR: 44008420  XER: 20000010
[    5.291415] CFAR: c0000000000b34ec IRQMASK: 0
[    5.291415] GPR00: 0000000000000200 c0000005f9bbb8b0
c0000000018e6c00 000000000488a000
[    5.291415] GPR04: 0000000000000000 0000000000000000
000000000488a000 0000000000000000
[    5.291415] GPR08: 0000000000000000 c0000005f901d700
0000000000000000 c008000001565f80
[    5.291415] GPR12: c00000000036e810 c00000001ecad600
c000000000170e10 c0000005f7331f00
[    5.291415] GPR16: 0000000000000000 0000000000000000
0000000000000000 0000000000000000
[    5.291415] GPR20: 0000000000000000 0000000000000000
c000000001896ec8 c00000000d0b9c00
[    5.291415] GPR24: 0000000000000400 c000000000c2fec8
0000000000000000 c00000000ce3da28
[    5.291415] GPR28: c00000000d178800 c00000000ce3da00
c00000000ce3da28 000000000488a000
[    5.291461] NIP [c0000000000b3530] .memset+0x68/0x104
[    5.291466] LR [c00000000036e84c] .kzfree+0x3c/0x60
[    5.291469] Call Trace:
[    5.291473] [c0000005f9bbb8b0] [c00000000036e83c] .kzfree+0x2c/0x60
(unreliable)
[    5.291482] [c0000005f9bbb930] [c008000001561a44]
.nx_crypto_ctx_skcipher_exit+0x24/0x50 [nx_crypto]
[    5.291490] [c0000005f9bbb9b0] [c0000000005b8e5c]
.crypto_skcipher_exit_tfm+0x3c/0x60
[    5.291496] [c0000005f9bbba30] [c0000000005b3424]
.crypto_destroy_tfm+0x74/0x150
[    5.291502] [c0000005f9bbbac0] [c0000000005c6724]
.alg_test_skcipher+0xe4/0x1c0
[    5.291508] [c0000005f9bbbb70] [c0000000005c36bc] .alg_test+0x49c/0x590
[    5.291513] [c0000005f9bbbce0] [c0000000005c1df4] .cryptomgr_test+0x64/0x70
[    5.291519] [c0000005f9bbbd60] [c000000000170f60] .kthread+0x150/0x190
[    5.291526] [c0000005f9bbbe20] [c00000000000b644]
.ret_from_kernel_thread+0x58/0x74
[    5.291530] Instruction dump:
[    5.291534] 409e000c b0860000 38c60002 409d000c 90860000 38c60004
78a0d183 78a506a0
[    5.291541] 7c0903a6 41820034 60000000 60000000 <f8860000> f8860008
f8860010 f8860018
[    5.291551] ---[ end trace 06547fcdb2cf5b98 ]---
[    5.295565]
[    5.306315] sd 0:0:1:0: Attached scsi generic sg0 type 0
[    6.295575] Kernel panic - not syncing: Fatal exception

Ciao
Stephan



                 reply	other threads:[~2020-03-31 12:54 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=6610324.mVlmhZnPjZ@tauon.chronox.de \
    --to=smueller@chronox.de \
    --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 NNTP newsgroup(s).