From mboxrd@z Thu Jan 1 00:00:00 1970 From: panand@redhat.com (Pratyush Anand) Date: Wed, 4 Jan 2017 19:33:04 +0530 Subject: arm64: virt_to_page() does not return right page for a kernel image address In-Reply-To: References: <20170104111119.GD8329@leverpostej> <20170104120602.GG8329@leverpostej> Message-ID: <5399661f-4486-aca4-09a4-5530406988cb@redhat.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wednesday 04 January 2017 06:54 PM, Ard Biesheuvel wrote: >> sg_init_one(&src, ctemplate[i].input, ilen); >> > This is the bug right here, and it is fixed already upstream. The > crypto test vectors are part of the kernel image, and should not be > used in scatterlists. > Thanks a lot Ard for bringing it. I see the following commit now in 4.10-rc2. 02608e02fbec crypto: testmgr - Use heap buffer for acomp test input CONFIG_DEBUG_SG enabled kernel would have blown it right here. ~Pratyush