Re: [syzbot] [fs?] KASAN: slab-use-after-free Read in driver_remove_file

From: syzbot

Date: Sun Sep 21 2025 - 07:40:04 EST


Hello,

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

drivers/comedi/drivers/c6xdigio.c:246:35: error: expected ';' before ':' token


Tested on:

commit: f975f08c Merge tag 'for-6.17-rc6-tag' of git://git.ker..
git tree: upstream
kernel config: https://syzkaller.appspot.com/x/.config?x=8f01d8629880e620
dashboard link: https://syzkaller.appspot.com/bug?extid=a56aa983ce6a1bf12485
compiler: gcc (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40
patch: https://syzkaller.appspot.com/x/patch.diff?x=104f50e2580000