[GIT PULL] exfat update for 6.19-rc1

From: Namjae Jeon

Date: Thu Dec 04 2025 - 04:04:18 EST


Hi Linus,

This is exfat update pull request for v6.19-rc1. I add a description of
this pull request below. Please pull exfat with following ones.

Thanks!

The following changes since commit d61f1cc5db799f4e44a63418b2dc19396787427b:

Merge tag 'x86_cpu_for_6.19-rc1' of
git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (2025-12-02
14:48:08 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat.git
tags/exfat-for-6.19-rc1

for you to fetch changes up to 51fc7b4ce10ccab8ea5e4876bcdc42cf5202a0ef:

exfat: fix remount failure in different process environments
(2025-12-03 10:00:17 +0900)

----------------------------------------------------------------
Description for this pull request:
- Fix a remount failure caused by differing process masks by inheriting
the original mount options during the remount process.
- Fix a potential divide-by-zero error and system crash in
exfat_allocate_bitmap that occurred when the readahead count was zero.
- Add validation for directory cluster bitmap bits to prevent directory
and root cluster from being incorrectly zeroed out on corrupted images.
- Clear the post-EOF page cache when extending a file to prevent stale
mmap data from becoming visible, addressing an generic/363 failure.
- Fix a reference count leak in exfat_find by properly releasing
the dentry set in specific error paths.

----------------------------------------------------------------
Namjae Jeon (2):
exfat: validate the cluster bitmap bits of directory
exfat: fix divide-by-zero in exfat_allocate_bitmap

Shuhao Fu (1):
exfat: fix refcount leak in exfat_find

Yuezhang Mo (2):
exfat: zero out post-EOF page cache on file extension
exfat: fix remount failure in different process environments

fs/exfat/balloc.c | 30 +++++++++++++++++++++++++-----
fs/exfat/dir.c | 5 +++++
fs/exfat/exfat_fs.h | 5 +++--
fs/exfat/fatent.c | 6 +++---
fs/exfat/file.c | 5 +++++
fs/exfat/namei.c | 20 ++++++++++----------
fs/exfat/super.c | 30 ++++++++++++++++++++++++++----
7 files changed, 77 insertions(+), 24 deletions(-)