]> git.hungrycats.org Git - linux/commitdiff
Merge tag 'ntfs3_for_7.4' of https://github.com/Paragon-Software-Group/linux-ntfs3
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 29 Oct 2026 23:31:48 +0000 (13:31 -1000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 29 Oct 2026 23:31:48 +0000 (13:31 -1000)
Pull ntfs3 updates from Konstantin Komarov:
 "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"

* tag 'ntfs3_for_7.4' of https://github.com/Paragon-Software-Group/linux-ntfs3: (52 commits)
  ntfs3: add file I/O tracepoints
  ntfs3: add iomap tracepoints
  ntfs3: add allocation tracepoints
  ntfs3: add directory index tracepoints
  ntfs3: add create inode tracepoint
  ntfs3: add namei tracepoints
  ntfs3: add mount and log replay tracepoints
  fs/ntfs3: validate the EA value length in ntfs_read_ea()
  fs/ntfs3: handle partial allocation in attr_data_get_block_locked()
  ntfs3: fix mapping pairs bounds check for alignment
  fs/ntfs3: bound DeleteAttribute asize against rec->used in do_action
  ntfs3: release ni_lock before dir_emit in ntfs_readdir to fix deadlocks
  fs/ntfs3: bound CreateAttribute asize against record_size in do_action
  fs/ntfs3: do not mark frame pages uptodate on read error
  fs/ntfs3: prevent positive E_NTFS_NONRESIDENT from reaching writeback error handling
  fs/ntfs3: fix ntfs_fnd leak when compare function is missing
  fs/ntfs3: fix stale attr_b in attr_allocate_frame()
  fs/ntfs3: reject unaligned hole punching on compressed files
  fs/ntfs3: take ni_lock() once in ntfs_readdir()
  fs/ntfs3: reserve a compression unit in maxbytes_sparse
  ...

1  2 
MAINTAINERS
fs/ntfs3/dir.c
fs/ntfs3/file.c
fs/ntfs3/inode.c
fs/ntfs3/namei.c
fs/ntfs3/ntfs_fs.h
fs/ntfs3/super.c
fs/ntfs3/xattr.c

diff --cc MAINTAINERS
Simple merge
diff --cc fs/ntfs3/dir.c
Simple merge
diff --cc fs/ntfs3/file.c
Simple merge
Simple merge
index ae88cb66fb7e7425acae898c090f8bc377caeceb,599434c9d714afb61fc7d835fdf95a8d52b714dd..f4286c642752ba2b49372ca26bb42a4e21480aab
@@@ -228,11 -231,11 +231,11 @@@ static int ntfs_symlink(const struct mn
  /*
   * ntfs_mkdir - inode_operations::mkdir
   */
 -static struct dentry *ntfs_mkdir(struct mnt_idmap *idmap, struct inode *dir,
 +static struct dentry *ntfs_mkdir(const struct mnt_idmap *idmap, struct inode *dir,
                                 struct dentry *dentry, umode_t mode)
  {
-       return ERR_PTR(ntfs_create_inode(idmap, dir, dentry, NULL,
-                                        mode, 0, NULL, 0, NULL));
+       return ERR_PTR(ntfs_create_inode(idmap, dir, dentry, NULL, mode, 0,
+                                        NULL, 0, NULL));
  }
  
  /*
Simple merge
Simple merge
Simple merge