Re: [Bug report] kernel BUG at include/linux/scatterlist.h
From: Herbert Xu
Date: Sun Nov 24 2024 - 18:13:44 EST
On Sun, Nov 24, 2024 at 05:24:12PM +0100, Lukas Wunner wrote:
>
> Hm, my impression is that this needs to be fixed in arm64's
> virt_addr_valid() macro.
Regardless of what happens on arm64, you can't put a virtual
address into an SG list in general. It's just not allowed.
In any case, we don't even need SG lists here since the correct
interface to use in rsassa-pkcs1.c is crypto_akcipher_sync_encrypt.
Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt