[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250925155306.394763-1-pedrodemargomes@gmail.com>
Date: Thu, 25 Sep 2025 12:53:06 -0300
From: Pedro Demarchi Gomes <pedrodemargomes@...il.com>
To: linkinjeon@...nel.org,
sj1557.seo@...sung.com,
yuezhang.mo@...y.com
Cc: linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org,
Pedro Demarchi Gomes <pedrodemargomes@...il.com>,
syzbot+3e9cb93e3c5f90d28e19@...kaller.appspotmail.com
Subject: [PATCH] exfat: check for utf8 option change in exfat_reconfigure
Check for utf8 option change since it depends on iocharset
Reported-by: syzbot+3e9cb93e3c5f90d28e19@...kaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=3e9cb93e3c5f90d28e19
Signed-off-by: Pedro Demarchi Gomes <pedrodemargomes@...il.com>
---
fs/exfat/super.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/exfat/super.c b/fs/exfat/super.c
index e1cffa46eb73..500eb9c20657 100644
--- a/fs/exfat/super.c
+++ b/fs/exfat/super.c
@@ -762,6 +762,7 @@ static int exfat_reconfigure(struct fs_context *fc)
* inodes or dentries, they cannot be modified dynamically.
*/
if (strcmp(new_opts->iocharset, cur_opts->iocharset) ||
+ new_opts->utf8 != cur_opts->utf8 ||
new_opts->keep_last_dots != cur_opts->keep_last_dots ||
new_opts->sys_tz != cur_opts->sys_tz ||
new_opts->time_offset != cur_opts->time_offset ||
--
2.43.0
Powered by blists - more mailing lists