Commit 68271fbe7d14 for kernel
commit 68271fbe7d14b6397e90df730c3967d3a481902b
Merge: cba88960471a bada7bbb11aa
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date: Sat Nov 14 08:27:30 2026 -0800
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