Re: KCSAN: data-race in __fat_write_inode / fat12_ent_get
From: OGAWA Hirofumi
Date: Tue Apr 07 2020 - 09:03:22 EST
Dmitry Vyukov <dvyukov@xxxxxxxxxx> writes:
>> You meant I can regenerate a disk image from that log (if so, how)?
>>
>> If not, for next time, it would be helpful if syzkaller provides the log
>> to regenerate the corrupted image (or saving a corrupted image) to
>> reproduce this, then I can try to detect the corruption pattern early.
>
>
> I've converted the program to C using syz-prog2c:
> https://github.com/google/syzkaller/blob/master/docs/syzbot.md#syzkaller-reproducers
> then slightly changed the generated program to dump the file to disk
> rather than mounting.
>
> The resulting image is attached (archived because it's mostly zeros).
Thank you! I think I can see now why the generated image became the
cause of this.
--
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>