PT-2026-162964

CVE-2026-99997

·

تاريخ النشر

2026-11-30

·

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

2026-11-30

الوصف من

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

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

In the Linux kernel, the following vulnerability has been resolved:
ntfs: do not map a vcn as a hole when its runlist lookup failed
ntfs attr vcn to rl() retries ntfs map runlist nolock() for any lcn up to LCN RL NOT MAPPED, which includes LCN ENOENT, but turns a failed retry into an error only for LCN RL NOT MAPPED. For LCN ENOENT the error is dropped and the read path maps the range as a hole.
An LCN ENOENT below allocated size comes from a base extent with a highest vcn of 0, which ntfs mapping pairs decompress() takes to map the whole attribute, so the runlist ends after its last mapping pair. If the pairs end early, the retry finds the same extent and fails with -ENOENT. On a crafted volume with 4 KiB clusters, a 64-cluster file whose mapping pairs stop after 16 clusters reads 48 clusters of zeros, with no error.
The same layout gets a crafted $MFT past the check from "ntfs: fail the mount when $MFT needs its own extent records". With 512-byte clusters and $MFT's mapping pairs ending at vcn 4, an unpatched kernel hangs on the folio lock reading records 0-3. With the check alone, the -EIO is dropped, records 2 and 3 read as zeros and the mount carries on until check mft mirror() finds the zeroed record 2.
Fail the lookup whenever the retry leaves @vcn unmapped below allocated size, -ENOENT included. At or beyond allocated size the end of the runlist is still returned as it is.
A failed expansion in ntfs non resident attr expand() or ntfs attrlist repack() truncates the runlist under the runlist lock but restores allocated size only after dropping it. A lookup in between would now fail, so restore allocated size before dropping the lock in both, under size lock, which ntfs attr vcn to rl() takes to read it.
The crafted file now fails from vcn 16 on with -EIO, and the crafted volume fails to mount with the check's message.
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾