{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-142892","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-12-03T03:10:28.335Z","datePublished":"2026-12-03T03:25:44.197Z","dateUpdated":"2026-12-03T03:25:44.197Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-03T03:25:44.197Z"},"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":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/dir.c"],"versions":[{"version":"d62cf685d12e95cc0a4122c43cd9f0eb8bba0b4c","lessThan":"7298c7d60108c72400f4cdd028ae481265cd080a","status":"affected","versionType":"git"},{"version":"d62cf685d12e95cc0a4122c43cd9f0eb8bba0b4c","lessThan":"7a5aa6c45072b54c8d97c5d54bbdf18aabf0ee6d","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/ntfs3/dir.c"],"versions":[{"version":"7.2","status":"affected"},{"version":"0","lessThan":"7.2","status":"unaffected","versionType":"semver"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.2","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.2","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/7298c7d60108c72400f4cdd028ae481265cd080a"},{"url":"https://git.kernel.org/stable/c/7a5aa6c45072b54c8d97c5d54bbdf18aabf0ee6d"}],"title":"ntfs3: release ni_lock before dir_emit in ntfs_readdir to fix deadlocks","x_generator":{"engine":"bippy-1.2.0"}}}}