PT-2026-166678

CVE-2026-142941

·

تاريخ النشر

2026-12-03

·

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

2026-12-03

الوصف من

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

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

In the Linux kernel, the following vulnerability has been resolved:
ocfs2: fix deadlock in inline-data truncate transactions
Updating an inode xattr can cause an ABBA deadlock with inline file truncation:
ocfs2 truncate file() down write(&oi->ip alloc sem) ocfs2 truncate inline() ocfs2 start trans()
ocfs2 xattr set() ocfs2 start trans() ocfs2 xattr ibody set() down write(&oi->ip alloc sem)
The xattr set path starts the merged transaction before the inode-body xattr helper acquires ip alloc sem, reversing the ip alloc sem -> transaction order used by the allocation and truncate paths. The transaction merge in commit 85db90e77806 ("ocfs2/xattr: Merge xattr set transaction.") introduced this ordering.
Fix it by acquiring ip alloc sem once in ocfs2 xattr set(), before xattr preparation, allocation reservations and ocfs2 start trans(), and removing the per-helper acquisition from ocfs2 xattr ibody find(), ocfs2 xattr ibody set() and ocfs2 xattr create index block(). These helpers now assert via lockdep that the caller holds ip alloc sem.
ocfs2 xattr set handle(), which only sets initial ACL or security xattrs on unpublished inodes inside the create transaction, takes ip alloc sem under a dedicated lockdep subclass so that the assertions hold without creating a transaction -> ip alloc sem cycle against the ip alloc sem -> transaction order. The inode is unpublished, so the acquisition can never contend.
This keeps the established ip alloc sem -> transaction order and makes the locking unconditional, so lockdep can verify a single plain ordering instead of conditional acquisitions.
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾