mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] ntfs fixes for 7.4-rc3
@ 2026-11-14  5:46 Namjae Jeon
  2026-11-14 16:49 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Namjae Jeon @ 2026-11-14  5:46 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Linux Kernel Mailing List, Hyunchul Lee, open list:NTFS FILESYSTEM

Hi Linus,

This is ntfs fixes pull request for v7.4-rc3. I add the description of
this pull request below. Please pull the following ntfs fixes.

Thanks!

The following changes since commit fa4ad798f6f681031775266044ba1b0cf3c670bd:

  Merge tag 'for-7.4-rc1-tag' of
git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux (2026-11-07
13:52:02 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/ntfs.git
tags/ntfs-for-7.4-rc3

for you to fetch changes up to bada7bbb11aaa6feba8904cf38ff833453f5b5d9:

  ntfs: open the index allocation before reading or writing an index
block (2026-11-08 12:43:07 +0900)

----------------------------------------------------------------
- Validate that $INDEX_ALLOCATION is open and non-resident before reading
  or writing index blocks, preventing NULL pointer dereferences when an
  earlier index operation has not opened it.

- Check that index allocation inodes are non-resident and child VCNs are
  non-negative and within bounds before directory lookup reads, preventing
  a deadlock when $INDEX_ALLOCATION is missing or damaged.

- Validate file names against the index entry's key length, preventing
  out-of-bounds reads when directory enumeration resumes using a copied
  key.

- Return -ENOENT for NTFS_IOC_LIST_STREAMS on deleted base files and fix
  unsigned underflow in its buffer bounds check, preventing out-of-bounds
  writes when the sizing and filling passes disagree.

- Use kfree() for the temporary runlist allocated with kmalloc() on merge
  failure, resolving the Coccinelle allocation/free mismatch warning.

----------------------------------------------------------------
Namjae Jeon (1):
      ntfs: silence kmalloc/kvfree mismatch warning

Wahid Khan (3):
      ntfs: check the file name against the key length of an index entry
      ntfs: do not read an index block outside $INDEX_ALLOCATION
      ntfs: open the index allocation before reading or writing an index block

Xingyuan Mo (1):
      ntfs: fix out-of-bounds write race in NTFS_IOC_LIST_STREAMS

 fs/ntfs/dir.c          | 14 ++++++++++++++
 fs/ntfs/index.c        | 30 +++++++++++++++++++++++++++---
 fs/ntfs/iomap.c        |  2 +-
 fs/ntfs/named_stream.c |  6 +++++-
 4 files changed, 47 insertions(+), 5 deletions(-)

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

end of thread, other threads:[~2026-11-14 16:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-14  5:46 [GIT PULL] ntfs fixes for 7.4-rc3 Namjae Jeon
2026-11-14 16:49 ` 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®