[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251203124228.6082-1-almaz.alexandrovich@paragon-software.com>
Date: Wed, 3 Dec 2025 13:42:28 +0100
From: Konstantin Komarov <almaz.alexandrovich@...agon-software.com>
To: <torvalds@...ux-foundation.org>
CC: <ntfs3@...ts.linux.dev>, <linux-fsdevel@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: [GIT PULL] ntfs3: bugfixes for 6.19
Please pull this branch containing ntfs3 code for 6.19. There are more
patches than usual this time.
Regards,
Konstantin
----------------------------------------------------------------
The following changes since commit 3a8660878839faadb4f1a6dd72c3179c1df56787:
Linux 6.18-rc1 (2025-10-12 13:42:36 -0700)
are available in the Git repository at:
https://github.com/Paragon-Software-Group/linux-ntfs3.git tags/ntfs3_for_6.19
for you to fetch changes up to 1b2ae190ea43bebb8c73d21f076addc8a8c71849:
fs/ntfs3: check for shutdown in fsync (2025-11-19 09:21:36 +0100)
----------------------------------------------------------------
Changes for 6.19-rc1
Added:
support timestamps prior to epoch;
do not overwrite uptodate pages;
disable readahead for compressed files;
setting of dummy blocksize to read boot_block when mounting;
the run_lock initialization when loading $Extend;
initialization of allocated memory before use;
support for the NTFS3_IOC_SHUTDOWN ioctl;
check for minimum alignment when performing direct I/O reads;
check for shutdown in fsync.
Fixed:
mount failure for sparse runs in run_unpack();
use-after-free of sbi->options in cmp_fnames;
KMSAN uninit bug after failed mi_read in mi_format_new;
uninit error after buffer allocation by __getname();
KMSAN uninit-value in ni_create_attr_list;
double free of sbi->options->nls and ownership of fc->fs_private;
incorrect vcn adjustments in attr_collapse_range();
mode update when ACL can be reduced to mode;
memory leaks in add sub record.
Changed:
refactor code, updated terminology, spelling;
do not kmap pages in (de)compression code;
after ntfs_look_free_mft(), code that fails must put mi;
default mount options for "acl" and "prealloc".
Replaced:
use unsafe_memcpy() to avoid memcpy size warning;
ntfs_bio_pages with page cache for compressed files.
----------------------------------------------------------------
Bartlomiej Kubik (1):
fs/ntfs3: Initialize allocated memory before use
Colin Ian King (1):
fs/ntfs3: Fix spelling mistake "recommened" -> "recommended"
Edward Adam Davis (3):
ntfs3: init run lock for extend inode
fs/ntfs3: out1 also needs to put mi
fs/ntfs3: Prevent memory leaks in add sub record
Konstantin Komarov (11):
fs/ntfs3: Support timestamps prior to epoch
fs/ntfs3: Reformat code and update terminology
fs/ntfs3: fix mount failure for sparse runs in run_unpack()
fs/ntfs3: disable readahead for compressed files
fs/ntfs3: remove ntfs_bio_pages and use page cache for compressed I/O
fs/ntfs3: correct attr_collapse_range when file is too fragmented
fs/ntfs3: implement NTFS3_IOC_SHUTDOWN ioctl
fs/ntfs3: check minimum alignment for direct I/O
fs/ntfs3: update mode in xattr when ACL can be reduced to mode
fs/ntfs3: change the default mount options for "acl" and "prealloc"
fs/ntfs3: check for shutdown in fsync
Lizhi Xu (1):
ntfs3: avoid memcpy size warning
Matthew Wilcox (Oracle) (3):
ntfs: Do not kmap pages used for reading from disk
ntfs: Do not kmap page cache pages for compression
ntfs: Do not overwrite uptodate pages
Nirbhay Sharma (1):
fs/ntfs3: fix KMSAN uninit-value in ni_create_attr_list
Pedro Demarchi Gomes (1):
ntfs: set dummy blocksize to read boot_block when mounting
Raphael Pinsonneault-Thibeault (1):
ntfs3: fix uninit memory after failed mi_read in mi_format_new
Sidharth Seela (1):
ntfs3: Fix uninit buffer allocated by __getname()
YangWen (2):
ntfs3: fix use-after-free of sbi->options in cmp_fnames
ntfs3: fix double free of sbi->options->nls and clarify ownership of fc->fs_private
fs/ntfs3/attrib.c | 88 ++++++++++-----------
fs/ntfs3/dir.c | 3 +-
fs/ntfs3/file.c | 109 ++++++++++++++++++++++----
fs/ntfs3/frecord.c | 219 +++++++++++++++++++----------------------------------
fs/ntfs3/fsntfs.c | 132 +++++++++++++++-----------------
fs/ntfs3/index.c | 3 +-
fs/ntfs3/inode.c | 27 ++++---
fs/ntfs3/namei.c | 6 +-
fs/ntfs3/ntfs_fs.h | 40 ++++++----
fs/ntfs3/record.c | 2 +-
fs/ntfs3/run.c | 17 ++++-
fs/ntfs3/super.c | 88 ++++++++++++++++-----
fs/ntfs3/xattr.c | 18 ++++-
13 files changed, 421 insertions(+), 331 deletions(-)
Powered by blists - more mailing lists