Re: [syzbot] [exfat?] KMSAN: uninit-value in vfat_rename2

From: Andrew Morton
Date: Fri Oct 04 2024 - 18:53:42 EST


On Fri, 04 Oct 2024 15:20:34 +0900 OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> wrote:

> syzbot <syzbot+ef0d7bc412553291aa86@xxxxxxxxxxxxxxxxxxxxxxxxx> writes:
>
> > Hello,
> >
> > syzbot found the following issue on:
> >
> > HEAD commit: e7ed34365879 Merge tag 'mailbox-v6.12' of git://git.kernel..
> > git tree: upstream
> > console+strace: https://syzkaller.appspot.com/x/log.txt?x=11b54ea9980000
> > kernel config: https://syzkaller.appspot.com/x/.config?x=92da5062b0d65389
> > dashboard link: https://syzkaller.appspot.com/bug?extid=ef0d7bc412553291aa86
> > compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
> > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=14b7ed07980000
> > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=101dfd9f980000
> >
> > Downloadable assets:
> > disk image: https://storage.googleapis.com/syzbot-assets/66cc3d8c5c10/disk-e7ed3436.raw.xz
> > vmlinux: https://storage.googleapis.com/syzbot-assets/c7769a88b445/vmlinux-e7ed3436.xz
> > kernel image: https://storage.googleapis.com/syzbot-assets/c1fe4c6ee436/bzImage-e7ed3436.xz
> > mounted in repro #1: https://storage.googleapis.com/syzbot-assets/2ab98c65fd49/mount_0.gz
> > mounted in repro #2: https://storage.googleapis.com/syzbot-assets/7ffc0eb73060/mount_5.gz
> >
> > IMPORTANT: if you fix the issue, please add the following tag to the commit:
> > Reported-by: syzbot+ef0d7bc412553291aa86@xxxxxxxxxxxxxxxxxxxxxxxxx
>
> The patch fixes this bug. Please apply.
> Thanks.
>
>
> From: OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
> Subject: [PATCH] fat: Fix uninitialized variable
> Date: Fri, 04 Oct 2024 15:03:49 +0900
>
> Reported-by: syzbot+ef0d7bc412553291aa86@xxxxxxxxxxxxxxxxxxxxxxxxx
> Signed-off-by: OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>

Could we please have some description? Seems that an IO error triggers this?