From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
To: guibing <guibing@nucleisys.com>
Cc: hqfang@nucleisys.com, linkinjeon@kernel.org,
linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
sj1557.seo@samsung.com, syzkaller-bugs@googlegroups.com
Subject: Re: [BUG] fat: race between fat32_ent_put FAT update and mmc_spi transmit on shared page
Date: Thu, 30 Jul 2026 18:55:50 +0900 [thread overview]
Message-ID: <87h5lg2449.fsf@mail.parknet.co.jp> (raw)
In-Reply-To: <976A3274AE66DB00+9877ce61-dcab-40c0-bcb3-08fbf30548b7@nucleisys.com>
guibing <guibing@nucleisys.com> 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 <hirofumi@mail.parknet.co.jp>
prev parent reply other threads:[~2026-07-30 9:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-30 7:27 guibing
2026-07-30 8:28 ` OGAWA Hirofumi
2026-07-30 9:05 ` guibing
2026-07-30 9:55 ` OGAWA Hirofumi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h5lg2449.fsf@mail.parknet.co.jp \
--to=hirofumi@mail.parknet.co.jp \
--cc=guibing@nucleisys.com \
--cc=hqfang@nucleisys.com \
--cc=linkinjeon@kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sj1557.seo@samsung.com \
--cc=syzkaller-bugs@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®