Re: [BUG] fat: race between fat32_ent_put FAT update and mmc_spi transmit on shared page
OGAWA Hirofumi <[email protected]>
| Newsgroups | org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
guibing <[email protected]> writes: > Hi Hirofumi, > > Thanks for the explanation. I noticed that syzbot has also reported > similar data race issues related to this. I was wondering if there are > any plans to support stable pages for FAT in the future? > > Could you help me to review the workaround ? Are there any potential > issues with it? Your change is unconditionally waiting the condition. However, if it doesn't need the checksum or such, later overwrite will fix temporary corruption. And the issue would not be only that function. All metadata would be target of same issue. Also, no need to wait whole page, just a buffer. Thanks. -- OGAWA Hirofumi <[email protected]>