Re: [syzbot] [crypto?] KASAN: slab-out-of-bounds Read in arc4_crypt

From: syzbot
Date: Wed Dec 20 2023 - 08:16:11 EST


Hello,

syzbot tried to test the proposed patch but the build/boot failed:

crypto/algif_skcipher.c:120:39: error: 'crypto_skcipher_type' undeclared (first use in this function); did you mean 'crypto_skcipher_tfm'?


Tested on:

commit: 17cb8a20 Add linux-next specific files for 20231215
git tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
kernel config: https://syzkaller.appspot.com/x/.config?x=ec104439b5dbc583
dashboard link: https://syzkaller.appspot.com/bug?extid=8ffb0839a24e9c6bfa76
compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
patch: https://syzkaller.appspot.com/x/patch.diff?x=1546519ee80000