From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Nathan Chancellor <nathan@kernel.org>
Cc: Sasha Levin <sashal@kernel.org>,
stable@vger.kernel.org, linux-crypto@vger.kernel.org,
Herbert Xu <herbert@gondor.apana.org.au>
Subject: Re: Please apply 4e4a08868f15897ca236528771c3733fded42c62 to linux-6.2.y
Date: Tue, 28 Feb 2023 17:21:28 +0100 [thread overview]
Message-ID: <Y/4qCFLSe5J7yK8z@kroah.com> (raw)
In-Reply-To: <Y/4pDMRFfQLyijQq@dev-arch.thelio-3990X>
On Tue, Feb 28, 2023 at 09:17:16AM -0700, Nathan Chancellor wrote:
> Hi Greg and Sasha,
>
> Please apply commit 4e4a08868f15 ("crypto: arm64/sm4-gcm - Fix possible crash
> in GCM cryption") to 6.2, as it fixes a crash that I see when booting Arch
> Linux ARM's aarch64 configuration [1] in QEMU:
>
> [ 1.512110] Unable to handle kernel paging request at virtual address fffffe000024d588
> [ 1.512357] Mem abort info:
> [ 1.512542] ESR = 0x0000000097c38004
> [ 1.512695] EC = 0x25: DABT (current EL), IL = 32 bits
> [ 1.512863] SET = 0, FnV = 0
> [ 1.512967] EA = 0, S1PTW = 0
> [ 1.513075] FSC = 0x04: level 0 translation fault
> [ 1.513236] Data abort info:
> [ 1.513343] Access size = 8 byte(s)
> [ 1.513618] SSE = 0, SRT = 3
> [ 1.513721] SF = 1, AR = 0
> [ 1.513824] CM = 0, WnR = 0
> [ 1.513964] swapper pgtable: 4k pages, 48-bit VAs, pgdp=0000000041ef8000
> [ 1.514162] [fffffe000024d588] pgd=0000000000000000, p4d=0000000000000000
> [ 1.514932] Internal error: Oops: 0000000097c38004 [#1] PREEMPT SMP
> [ 1.515206] Modules linked in:
> [ 1.515477] CPU: 0 PID: 113 Comm: cryptomgr_test Not tainted 6.2.1-ARCH #1
> [ 1.515755] Hardware name: linux,dummy-virt (DT)
> [ 1.516029] pstate: a1400009 (NzCv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=--)
> [ 1.516277] pc : kfree+0x30/0xb0
> [ 1.516766] lr : skcipher_walk_done+0x198/0x2b0
> [ 1.516934] sp : ffff80000ace3820
> [ 1.517042] x29: ffff80000ace3820 x28: 0000000000000000 x27: 0000000000000400
> [ 1.517316] x26: ffff80000937d880 x25: ffff0000034d0400 x24: ffff0000036efe00
> [ 1.517557] x23: ffff800008088730 x22: ffff0000036efd00 x21: ffff80000ace3998
> [ 1.517791] x20: 0000000000000000 x19: ffff80000ace3900 x18: ffffffffffffffff
> [ 1.518022] x17: 0000000000000000 x16: 0000000000000000 x15: ffffffffffffffff
> [ 1.518263] x14: ffff80008ace3ce7 x13: 0000000000000000 x12: 0000000000000000
> [ 1.518510] x11: ffff80000ace38c8 x10: ffff80000ace38d0 x9 : 0000000000000001
> [ 1.518757] x8 : 0000000000000000 x7 : ffff80000ace38a8 x6 : 0000000000000001
> [ 1.518993] x5 : ffff80000ace3998 x4 : fffffc0000000000 x3 : ffff80000ace3b00
> [ 1.519242] x2 : 000002000024d580 x1 : ffff800009356218 x0 : fffffe000024d580
> [ 1.519549] Call trace:
> [ 1.519654] kfree+0x30/0xb0
> [ 1.519785] skcipher_walk_done+0x198/0x2b0
> [ 1.519931] gcm_crypt+0xd8/0x170
> [ 1.520047] gcm_encrypt+0x90/0xbc
> [ 1.520153] crypto_aead_encrypt+0x24/0x40
> [ 1.520285] test_aead_vec_cfg+0x21c/0x770
> [ 1.520422] test_aead+0xb4/0x140
> [ 1.520538] alg_test_aead+0x94/0x190
> [ 1.520662] alg_test+0x34c/0x520
> [ 1.520770] cryptomgr_test+0x24/0x44
> [ 1.520889] kthread+0xe4/0xf0
> [ 1.520993] ret_from_fork+0x10/0x20
> [ 1.521300] Code: b25657e4 d34cfc42 d37ae442 8b040040 (f9400403)
> [ 1.521691] ---[ end trace 0000000000000000 ]---
>
> [1]: https://github.com/archlinuxarm/PKGBUILDs/raw/master/core/linux-aarch64/config
>
> Cheers,
> Nathan
Now queued up, thanks.
greg k-h
prev parent reply other threads:[~2023-02-28 16:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-28 16:17 Please apply 4e4a08868f15897ca236528771c3733fded42c62 to linux-6.2.y Nathan Chancellor
2023-02-28 16:21 ` Greg Kroah-Hartman [this message]
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=Y/4qCFLSe5J7yK8z@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=nathan@kernel.org \
--cc=sashal@kernel.org \
--cc=stable@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