[GIT PULL] ntfs update for 7.2-rc1

From: Namjae Jeon

Date: Thu Jun 18 2026 - 20:18:33 EST


Hi Linus,

This is ntfs update pull request for v7.2-rc1. I add a description of
this pull request below. Please pull ntfs with following ones.

Thanks!

The following changes since commit 8bc67e4db64aa72732c474b44ea8622062c903f0:

Merge tag 'erofs-for-7.1-rc5-fixes' of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs (2026-05-20
13:19:58 -0500)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/ntfs.git
tags/ntfs-for-7.2-rc1

for you to fetch changes up to 3802a666f37255cc8ddc5647390e6c590b947065:

docs/fs/ntfs: add mount options to support Windows native symbolic
links (2026-06-15 19:39:45 +0900)

----------------------------------------------------------------
Description for this pull request:
- Harden handling of malformed on-disk metadata. It adds stricter
validation for attributes, attribute lists, index roots and entries,
EA entries, mapping pairs, and $LogFile restart areas. These changes
fix several out-of-bounds access, integer overflow, and inconsistent
metadata handling issues.
- Preventing a writeback deadlock involving extent MFT records
- Fixing resource leaks in fill_super() failure paths and the name cache
- Serializing volume label access and improving its error handling
- Fixing mapping-pairs decoding bounds and LCN overflow checks
- Keeping resident index root metadata consistent during resize
- Fixing the reported size of symbolic links
- Avoiding an unnecessary allocation for resident inline data
- Adds support for following and creating Windows native symbolic links.
Relative links, absolute links, and junctions are handled, with new
mount options controlling native symlink creation and absolute target
translation. The existing WSL symlink behavior remains the default.
- The unsupported quota code is removed, along with several smaller
cleanups.

----------------------------------------------------------------
Bryam Vargas (4):
ntfs: validate resident attribute lists and harden the validator
ntfs: bound the look-ahead attribute-list entry in
ntfs_external_attr_find()
ntfs: bound the attribute-list entry in ntfs_read_inode_mount()
ntfs: fix u16 truncation of restart-area length check

Colin Ian King (1):
ntfs: Fix spelling mistake "etnry" -> "entry"

DaeMyung Kang (13):
ntfs: free volume-wide resources on fill_super failure
ntfs: only alias volume $UpCase to default on exact match
ntfs: avoid heap allocation for free-cluster readahead state
ntfs: remove unsupported quota handling
ntfs: free link name from ntfs_name_cache
ntfs: validate attribute values on lookup
ntfs: do not replace volume name after lookup errors
ntfs: reinit search context before volume information lookup
ntfs: validate resident volume name values on lookup
ntfs: reject non-resident records for resident-only attributes
ntfs: grow index root value before reparent header update
ntfs: update index root allocated size before shrink
ntfs: validate resident index root values on lookup

Hyunchul Lee (14):
ntfs: skip extent mft records in writeback to prevent deadlock
ntfs: validate index block header more strictly
ntfs: centalize $INDEX_ROOT header validation
ntfs: validate index entries on reading
ntfs: add bounds check before accessing EA entries
ntfs: not change 0-byte $DATA attribute to non-resident
ntfs: serialize volume label accesses
ntfs: fix incorrect size of symbolic link
ntfs: support following Windows native symlink with relative paths
ntfs: support following Windows native symlink with absolute paths
ntfs: add native_symlink mount option
ntfs: clean up target name conversion for WSL symlinks
ntfs: support creating Windows native symlinks
docs/fs/ntfs: add mount options to support Windows native symbolic links

Marco Crivellari (1):
ntfs: Add WQ_PERCPU to alloc_workqueue users

Namjae Jeon (3):
ntfs: remove unnecessary ternary boolean conversion
ntfs: remove unnecessary NULL checks before kfree
ntfs: use direct pointer for inline data to avoid redundant allocation

Ron de Bruijn (1):
ntfs: fix off-by-one in mapping pairs decoding bounds checks

Samuel Moelius (1):
ntfs: detect mapping-pairs LCN accumulator overflow

Thorsten Blum (1):
ntfs: use str_plural in ntfs_attr_make_non_resident

Documentation/filesystems/ntfs.rst | 13 +
fs/ntfs/Makefile | 2 +-
fs/ntfs/attrib.c | 312 +++++++++++++++++-------
fs/ntfs/attrib.h | 4 +
fs/ntfs/attrlist.c | 11 +-
fs/ntfs/dir.c | 64 +----
fs/ntfs/ea.c | 16 +-
fs/ntfs/file.c | 41 +++-
fs/ntfs/index.c | 293 +++++++++++++++--------
fs/ntfs/index.h | 12 +-
fs/ntfs/inode.c | 75 +++---
fs/ntfs/inode.h | 2 +
fs/ntfs/iomap.c | 77 +-----
fs/ntfs/layout.h | 19 ++
fs/ntfs/logfile.c | 5 +-
fs/ntfs/mft.c | 129 +---------
fs/ntfs/namei.c | 27 +--
fs/ntfs/quota.c | 95 --------
fs/ntfs/quota.h | 15 --
fs/ntfs/reparse.c | 476 +++++++++++++++++++++++++++++++++----
fs/ntfs/reparse.h | 6 +-
fs/ntfs/runlist.c | 24 +-
fs/ntfs/super.c | 224 ++++++-----------
fs/ntfs/volume.h | 14 +-
24 files changed, 1137 insertions(+), 819 deletions(-)
delete mode 100644 fs/ntfs/quota.c
delete mode 100644 fs/ntfs/quota.h