Re: [Bug report] kernel BUG at include/linux/scatterlist.h

Herbert Xu
2024-11-24T23:13:33Z

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.