PT-2026-166629
CVE-2026-142892
·
Published
2026-12-03
·
Updated
2026-12-03
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
ntfs3: release ni lock before dir emit in ntfs readdir to fix deadlocks
ntfs readdir() holds ni lock while calling ntfs read hdr(), which calls
dir emit() to copy directory entries to userspace. If the user buffer
triggers a page fault, the fault handler may need mmap lock or
mapping->invalidate lock, creating lock-order inversions with paths
that acquire those locks before ni lock (e.g. ntfs fallocate, mmap).
Fix by releasing ni lock before calling ntfs read hdr():
-
For non-root index nodes, indx read ra() returns data in a kmalloc'd buffer (node->index) that remains valid after ni unlock.
-
For the root index header, the data lives in the main MFT record whose lifetime is bound to the inode. i rwsem shared prevents concurrent directory modifications, so it is safe to access after ni unlock.
Found an issue in the description? Have something to add? Feel free to write us 👾