mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] ntfs3: changes for 7.4
@ 2026-10-28  7:36 Konstantin Komarov
  2026-10-30  0:03 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Konstantin Komarov @ 2026-10-28  7:36 UTC (permalink / raw)
  To: torvalds
  Cc: ntfs3, linux-fsdevel, linux-kernel, Aldo Ariel Panzardo,
	Alexandro Calo, Baolin Liu, Dmitry Morgun, Hongling Zeng,
	Hyeontae Lee, Ibrahim Hashimov, Konstantin Komarov, liyouhong,
	Matvey Kovalev, Michael Bommarito, Slawomir Stepien,
	Vidhu Sarwal, Weiming Shi, Xiang Mei, Yi Xie, Yousef Alhouseen,
	Yuejie Shi, Yun Zhou, Zhan Xusheng

Hello, please pull this branch containing ntfs3 code for 7.4.

Added a better description of changes in pull-request.
 
Regards,
Konstantin

----------------------------------------------------------------
The following changes since commit cee9395acd8043be0644b25c34bfa86623f2b935:

  Linux 7.3-rc1 (2026-08-30 13:34:40 -0700)

are available in the Git repository at:

  https://github.com/Paragon-Software-Group/linux-ntfs3.git tags/ntfs3_for_7.4

for you to fetch changes up to ee1cb3443cff5a800948b662756f75b17ca63fe2:

  ntfs3: add file I/O tracepoints (2026-10-28 08:09:20 +0100)

----------------------------------------------------------------
Changes for 7.4-rc1

The bulk of this cycle is hardening against corrupted or maliciously
crafted volumes. Most of these fixes come from fuzzing and KASAN
reports. The main areas are:

- $LogFile replay, where several unchecked on-disk sizes could make
  mount write past the MFT record buffer;
- MFT record and index parsing;
- extended attributes, where a bad $EA entry could leak up to 64K of
  kernel heap to userspace through getxattr().

Reading a damaged compressed file could also return uninitialized
page cache contents to userspace; that is fixed too.

A few fixes affect healthy volumes as well: a heap overflow in
fallocate(INSERT_RANGE) on small files, a use-after-free when a
WOF-compressed file is opened for writing during a concurrent read,
a lock-order deadlock in readdir, and stale disk data showing up in
newly allocated clusters of compressed files.

On the feature side there are new tracepoints covering mount, log
replay, lookup, directory index, allocation, iomap and file I/O.
There is also a new 'ugm' mount option (on by default): with ugm=0,
newly created files don't get the WSL uid/gid/mode extended
attributes, which Windows doesn't use.

The rest is smaller correctness fixes and cleanups.

----------------------------------------------------------------
Aldo Ariel Panzardo (1):
      fs/ntfs3: validate that EA entry size covers its name and value

Alexandro Calo (3):
      fs/ntfs3: Fix OOB write if ret == buf_len in ntfs_utf16_to_nls()
      fs/ntfs3: Fix heap overflow after ALIGN in mi_pack_runs()
      Fix OOB write if err == buflen in ntfs_readlink_hlp()

Baolin Liu (10):
      fs/ntfs3: update ctime only on successful setxattr
      fs/ntfs3: reject FS_IOC_SETFSLABEL on readonly mounts
      fs/ntfs3: return -ERANGE for short xattr buffers
      ntfs3: add mount and log replay tracepoints
      ntfs3: add namei tracepoints
      ntfs3: add create inode tracepoint
      ntfs3: add directory index tracepoints
      ntfs3: add allocation tracepoints
      ntfs3: add iomap tracepoints
      ntfs3: add file I/O tracepoints

Dmitry Morgun (1):
      fs/ntfs3: check return values in indx_delete_entry()

Hongling Zeng (1):
      ntfs3: fix mapping pairs bounds check for alignment

Hyeontae Lee (2):
      fs/ntfs3: bound CreateAttribute asize against record_size in do_action
      fs/ntfs3: bound DeleteAttribute asize against rec->used in do_action

Ibrahim Hashimov (1):
      fs/ntfs3: fix integer overflow in find_log_rec() causing OOB read

Konstantin Komarov (15):
      fs/ntfs3: document ads, nocase, and delalloc
      fs/ntfs3: convert to non-resident when the new size exceeds the record size
      fs/ntfs3: use MAX_LFS_FILESIZE for maxbytes with 64-bit clusters
      fs/ntfs3: validate EA entry layout against ef->size in ntfs_read_ea
      fs/ntfs3: show supported options when an unknown one is given
      fs/ntfs3: zero newly allocated clusters when the request is smaller than the frame
      fs/ntfs3: drop unused new_size argument from attr_make_nonresident()
      fs/ntfs3: minor code cleanups
      fs/ntfs3: do not force allocation for IOMAP_ZERO on a partial cluster
      fs/ntfs3: add 'ugm' mount option to control storing uid/gid/mode in xattrs
      fs/ntfs3: allow a zero cluster count for resident attributes
      fs/ntfs3: reserve a compression unit in maxbytes_sparse
      fs/ntfs3: take ni_lock() once in ntfs_readdir()
      fs/ntfs3: reject unaligned hole punching on compressed files
      fs/ntfs3: fix stale attr_b in attr_allocate_frame()

Matvey Kovalev (1):
      fs/ntfs3: remove redundant if-block in check_attr()

Michael Bommarito (1):
      fs/ntfs3: reject an oversized resident attribute on the inline iomap path

Slawomir Stepien (1):
      fs/ntfs3: handle partial allocation in attr_data_get_block_locked()

Vidhu Sarwal (1):
      fs/ntfs3: prevent positive E_NTFS_NONRESIDENT from reaching writeback error handling

Weiming Shi (4):
      fs/ntfs3: take run_lock when freeing offs_folio in ni_decompress_file
      fs/ntfs3: zero frame pages on read error
      ntfs3: fix out-of-bounds read in ntfs_read_mft()
      fs/ntfs3: do not mark frame pages uptodate on read error

Xiang Mei (1):
      fs/ntfs3: validate $SDH entry size in ntfs_insert_security

Xiang Mei (Microsoft) (2):
      fs/ntfs3: check INDEX_ROOT resident size before use in ntfs_read_mft()
      fs/ntfs3: fix slab-out-of-bounds write in attr_insert_range()

Yi Xie (1):
      ntfs3: fix resident attribute handling in run load paths

Yousef Alhouseen (2):
      ntfs3: reject empty iomap before reading its LCN
      ntfs3: bound index head insertions by buffer capacity

Yuejie Shi (1):
      fs/ntfs3: validate the EA value length in ntfs_read_ea()

Yun Zhou (1):
      ntfs3: release ni_lock before dir_emit in ntfs_readdir to fix deadlocks

Zhan Xusheng (1):
      fs/ntfs3: fix valid_size not being updated in attr_allocate_frame()

liyouhong (1):
      fs/ntfs3: fix ntfs_fnd leak when compare function is missing

 Documentation/filesystems/ntfs3.rst |  23 +++
 MAINTAINERS                         |   1 +
 fs/ntfs3/attrib.c                   | 189 +++++++++++-------
 fs/ntfs3/dir.c                      |  62 ++++--
 fs/ntfs3/file.c                     |   8 +
 fs/ntfs3/frecord.c                  |  16 +-
 fs/ntfs3/fslog.c                    |  35 +++-
 fs/ntfs3/fsntfs.c                   |   3 +
 fs/ntfs3/index.c                    |  40 +++-
 fs/ntfs3/inode.c                    |  37 +++-
 fs/ntfs3/namei.c                    |  11 +-
 fs/ntfs3/ntfs_fs.h                  |   5 +-
 fs/ntfs3/record.c                   |  16 +-
 fs/ntfs3/super.c                    |  44 +++-
 fs/ntfs3/xattr.c                    |  44 ++--
 include/trace/events/ntfs3.h        | 389 ++++++++++++++++++++++++++++++++++++
 16 files changed, 781 insertions(+), 142 deletions(-)
 create mode 100644 include/trace/events/ntfs3.h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-30  0:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-28  7:36 [GIT PULL] ntfs3: changes for 7.4 Konstantin Komarov
2026-10-30  0:03 ` pr-tracker-bot

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®