Re: [syzbot] [netfs?] KASAN: slab-use-after-free Read in iov_iter_advance

From: syzbot
Date: Sat Sep 21 2024 - 05:04:13 EST


Hello,

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

./include/linux/sprintf.h:11:54: error: unknown type name 'va_list'
./include/linux/sprintf.h:13:71: error: unknown type name 'va_list'
./include/linux/sprintf.h:15:72: error: unknown type name 'va_list'
./include/linux/sprintf.h:17:70: error: unknown type name 'va_list'
./include/linux/sprintf.h:18:73: error: unknown type name 'va_list'
./include/linux/sprintf.h:21:55: error: unknown type name 'va_list'
./include/linux/fs.h:2666:9: error: implicit declaration of function 'vsnprintf' [-Werror=implicit-function-declaration]


Tested on:

commit: 1868f9d0 Merge tag 'for-linux-6.12-ofs1' of git://git...
git tree: upstream
kernel config: https://syzkaller.appspot.com/x/.config?x=d85e1e571a820894
dashboard link: https://syzkaller.appspot.com/bug?extid=7c48153a9d788824044b
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=165bee9f980000