PT-2026-162447
CVE-2026-99820
·
تاريخ النشر
2026-11-30
·
تاريخ التحديث
2026-11-30
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
ocfs2: fix array out of bound access in ocfs2 find path()
ocfs2 find path() walks down the extent tree and records path by calling
find path ins(), which appends entry to path->p node[]. It only has 5
spots.
A corrupted ocfs2 image whose extent block is pointing to itself causes
ocfs2 find path() descent endlessly, writing past the end of
path->p node[] array.
UBSAN: array-index-out-of-bounds in fs/ocfs2/alloc.c:677:14
index 5 is out of range for type 'ocfs2 path item [5]'
Call Trace:
find path ins (fs/ocfs2/alloc.c:677 fs/ocfs2/alloc.c:1914)
ocfs2 find path.constprop.0 (fs/ocfs2/alloc.c:1882)
ocfs2 commit truncate (fs/ocfs2/alloc.c:1924 fs/ocfs2/alloc.c:7286)
ocfs2 truncate file (fs/ocfs2/file.c:515)
ocfs2 setattr (fs/ocfs2/file.c:1224)
notify change (fs/attr.c:556)
do truncate (fs/open.c:68)
do ftruncate (fs/open.c:194 (discriminator 1))
ksys ftruncate (fs/open.c:206)
x64 sys ftruncate (fs/open.c:211 fs/open.c:209 fs/open.c:209)
Commit a406aff8c051 ("ocfs2: validate l tree depth to avoid out-of-bounds
access") already restricts el->l tree depth to be less than
OCFS2 MAX PATH DEPTH, which is equal to 5. However, does not handle the
infinite descent case.
Check if the el->l tree depth decreases on each descent. Maximum descents
are restricted to 4 and the path->p node[] array does not overflow.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾