{"id":"CVE-2026-142892","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-12-03T04:18:28.243","lastModified":"2026-12-03T04:18:28.243","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nntfs3: release ni_lock before dir_emit in ntfs_readdir to fix deadlocks\n\nntfs_readdir() holds ni_lock while calling ntfs_read_hdr(), which calls\ndir_emit() to copy directory entries to userspace.  If the user buffer\ntriggers a page fault, the fault handler may need mmap_lock or\nmapping->invalidate_lock, creating lock-order inversions with paths\nthat acquire those locks before ni_lock (e.g. ntfs_fallocate, mmap).\n\nFix by releasing ni_lock before calling ntfs_read_hdr():\n\n- For non-root index nodes, indx_read_ra() returns data in a kmalloc'd\n  buffer (node->index) that remains valid after ni_unlock.\n\n- For the root index header, the data lives in the main MFT record\n  whose lifetime is bound to the inode.  i_rwsem shared prevents\n  concurrent directory modifications, so it is safe to access after\n  ni_unlock."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/ntfs3/dir.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"d62cf685d12e95cc0a4122c43cd9f0eb8bba0b4c","lessThan":"7298c7d60108c72400f4cdd028ae481265cd080a","versionType":"git","status":"affected"},{"version":"d62cf685d12e95cc0a4122c43cd9f0eb8bba0b4c","lessThan":"7a5aa6c45072b54c8d97c5d54bbdf18aabf0ee6d","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/ntfs3/dir.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"7.2","status":"affected"},{"version":"0","lessThan":"7.2","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/7298c7d60108c72400f4cdd028ae481265cd080a","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/7a5aa6c45072b54c8d97c5d54bbdf18aabf0ee6d","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}