PT-2026-166982

CVE-2026-143124

·

تاريخ النشر

2026-12-03

·

تاريخ التحديث

2026-12-03

الوصف من

الدرجة
N/A
غير متوفر

لا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.

In the Linux kernel, the following vulnerability has been resolved:
ntfs: open the index allocation before reading or writing an index block
ntfs ib write() and ntfs ib read() use icx->ia ni without checking it. ntfs ir reparent() only opens the index allocation through ntfs ia add() when the root is a small index. For a root that is already marked as a large index it calls ntfs ib write() directly.
The lookup does not open the index allocation either when it ends in the root. If the last entry of the root has no child node, ia ni is still NULL when the root has to be moved into an index block, and the write dereferences it:
Oops: general protection fault, KASAN: null-ptr-deref in range [0x0000000000000128-0x000000000000012f] RIP: 0010:ntfs inode attr pwrite+0x52/0x1600 ntfs ir make space ntfs ie add ntfs index add filename ntfs link ntfs link vfs link
A single byte of an image from mkntfs is enough. In a directory that has one empty index block, clear INDEX ENTRY NODE (flags 3 -> 2) of the last entry of the $INDEX ROOT and link() a file into the directory.
Commit 9365c4a1357e ("ntfs: fix NULL dereference on index allocation open failure") covers the case where ntfs ia open() fails in the lookup. Here it was never tried. Open the index allocation on demand in both helpers and fail with -EIO if that does not work.
ntfs ia open() also succeeds for a directory that has no $INDEX ALLOCATION attribute. The inode it returns is then an empty resident stub that does not describe an index allocation, so reject that case too.
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾