[GIT PULL] exfat fixes for 6.13-rc7
From: Namjae Jeon
Date: Mon Jan 06 2025 - 05:58:41 EST
Hi Linus,
This is exfat fixes pull request for v6.13-rc7. I add description of
this pull request on below. Please pull exfat with following fixes.
Thanks!
The following changes since commit feffde684ac29a3b7aec82d2df850fbdbdee55e4:
Merge tag 'for-6.13-rc1-tag' of
git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux (2024-12-03
11:02:17 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat.git
tags/exfat-for-6.13-rc7
for you to fetch changes up to a5324b3a488d883aa2d42f72260054e87d0940a0:
exfat: fix the infinite loop in __exfat_free_cluster() (2024-12-31
17:51:21 +0900)
----------------------------------------------------------------
Description for this pull request:
All fixes are for issues reported by syzbot.
- Fix wrong error return in exfat_find_empty_entry().
- Fix a endless loop by self-linked chain.
- fix a KMSAN uninit-value issue in exfat_extend_valid_size().
----------------------------------------------------------------
Yuezhang Mo (4):
exfat: fix exfat_find_empty_entry() not returning error on failure
exfat: fix the infinite loop in exfat_readdir()
exfat: fix the new buffer was not zeroed before writing
exfat: fix the infinite loop in __exfat_free_cluster()
fs/exfat/dir.c | 3 ++-
fs/exfat/fatent.c | 10 ++++++++++
fs/exfat/file.c | 6 ++++++
fs/exfat/namei.c | 4 ++--
4 files changed, 20 insertions(+), 3 deletions(-)