PT-2026-162440
CVE-2026-99813
·
تاريخ النشر
2026-11-30
·
تاريخ التحديث
2026-11-30
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
fs/ntfs3: check INDEX ROOT resident size before use in ntfs read mft()
When ntfs read mft() parses an ATTR ROOT attribute it computes
root = Add2Ptr(attr, roff);using the on-disk resident data offset (roff = attr->res.data off) and
then dereferences root->type and root->rule, and later passes root on to
indx init(). Unlike the ATTR STD and ATTR NAME cases, which validate that
the resident data is large enough (asize >= sizeof(struct X) + roff and
rsize >= sizeof(struct X)) before accessing it, the ATTR ROOT case has no
such check.
mi enum attr() only guarantees data off + data size <= attribute size, so
a crafted image can set data off such that root lands at (or past) the end
of the MFT record's slab allocation while still passing that check (e.g.
data size == 0). The subsequent read of root->type is then a
slab-out-of-bounds read, reported by KASAN when mounting the image:
BUG: KASAN: slab-out-of-bounds in ntfs iget5 (fs/ntfs3/inode.c:283)
Read of size 4 at addr ffff88800c06a400 by task exploit/142
Call Trace:
... [KASAN report internals]
ntfs iget5 (fs/ntfs3/inode.c:283 fs/ntfs3/inode.c:542)
ntfs fill super (fs/ntfs3/super.c:1690)
get tree bdev flags (fs/super.c:1634)
vfs get tree (fs/super.c:1694)
fc mount (fs/namespace.c:1198)
path mount (fs/namespace.c:3765 ...)
x64 sys mount (fs/namespace.c:4174 ...)
do syscall 64 (arch/x86/entry/syscall 64.c:63)
entry SYSCALL 64 after hwframe (arch/x86/entry/entry 64.S:121)
The buggy address is located 0 bytes to the right of
allocated 1024-byte region [ffff88800c06a000, ffff88800c06a400)
which belongs to the cache kmalloc-1k of size 1024
Validate the resident data size in the ATTR ROOT case the same way the
neighbouring cases do, so that a truncated or mis-offset INDEX ROOT is
rejected before root is dereferenced.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾