PT-2026-163121

CVE-2026-139080

·

تاريخ النشر

2026-11-30

·

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

2026-11-30

الوصف من

CVSS 3.1
7.1
عالية
المقاييسAV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
In the Linux kernel, the following vulnerability has been resolved:
ocfs2: reject inconsistent local xattr entries
[BUG] A corrupt OCFS2 xattr entry can set OCFS2 XATTR ENTRY LOCAL while keeping xe value size larger than OCFS2 XATTR INLINE SIZE. When that entry reaches namevalue size xe(), the filesystem hits its BUG ON:
kernel BUG at fs/ocfs2/xattr.c:231! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI RIP: 0010:namevalue size xe fs/ocfs2/xattr.c:231 [inline] RIP: 0010:ocfs2 xa block wipe namevalue+0x2e4/0x330 fs/ocfs2/xattr.c:1638 Call Trace: ocfs2 xa wipe namevalue fs/ocfs2/xattr.c:1470 [inline] ocfs2 xa remove entry+0xae/0x1d0 fs/ocfs2/xattr.c:1941 ocfs2 xa remove fs/ocfs2/xattr.c:2043 [inline] ocfs2 xa set+0x11a8/0x30a0 fs/ocfs2/xattr.c:2247 ocfs2 xattr ibody set+0x302/0xc50 fs/ocfs2/xattr.c:2795 ocfs2 xattr set handle+0x7e6/0xdb0 fs/ocfs2/xattr.c:3416 ocfs2 xattr set+0x1447/0x2610 fs/ocfs2/xattr.c:3650 ocfs2 xattr security set+0x37/0x50 fs/ocfs2/xattr.c:7241 vfs removexattr+0x14d/0x1d0 fs/xattr.c:518 cap inode killpriv+0x29/0x50 security/commoncap.c:355 security inode killpriv+0x105/0x220 security/security.c:2724 setattr prepare+0x147/0x8a0 fs/attr.c:219 ocfs2 setattr+0x504/0x1fd0 fs/ocfs2/file.c:1148 notify change+0x4b5/0x1030 fs/attr.c:546 do truncate+0x1d2/0x230 fs/open.c:68 handle truncate fs/namei.c:3596 [inline] do open fs/namei.c:3979 [inline] path openat+0x260f/0x2ce0 fs/namei.c:4134 do filp open+0x1f6/0x430 fs/namei.c:4161 do sys openat2+0x117/0x1c0 fs/open.c:1437 ...
[CAUSE] namevalue size xe() assumes that local entries contain an inline value no larger than OCFS2 XATTR INLINE SIZE. Existing xattr metadata validation only checks whether the value fits the storage region, and cached entries can reach lookup and bucket maintenance paths without a semantic check. A corrupt entry can therefore be passed to namevalue size xe().
[FIX] Validate the local/value-size invariant in the existing flat and bucket metadata validators and before accepting matched entries or traversing bucket entries in paths that call namevalue size xe(). Return an OCFS2 corruption error instead of firing the assertion.
قابلية الاستغلال
إصلاح
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾