Files
Linus Torvalds 68271fbe7d Merge tag 'ntfs-for-7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/ntfs
Pull ntfs fixes from Namjae Jeon:

 - 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

* tag 'ntfs-for-7.4-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/ntfs:
  ntfs: open the index allocation before reading or writing an index block
  ntfs: do not read an index block outside $INDEX_ALLOCATION
  ntfs: silence kmalloc/kvfree mismatch warning
  ntfs: check the file name against the key length of an index entry
  ntfs: fix out-of-bounds write race in NTFS_IOC_LIST_STREAMS
2026-11-14 08:27:30 -08:00
..
2026-02-19 21:50:56 +09:00
2026-10-20 18:41:57 +09:00
2026-02-19 21:48:05 +09:00
2026-02-19 21:50:56 +09:00
2026-08-21 19:06:38 +09:00