PT-2026-166601

CVE-2026-142878

·

تاريخ النشر

2026-12-03

·

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

2026-12-03

الوصف من

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

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

In the Linux kernel, the following vulnerability has been resolved:
ocfs2: wait for filecheck kobject release after a failed add
The filecheck kobject and its release completion are embedded in ocfs2 super, so the osb must outlive the kobject. On a failed kobject init and add(), creation clears fs fcheck and calls kobject put(), but returns without waiting for the release callback.
With CONFIG DEBUG KOBJECT RELEASE, the last put queues delayed cleanup. Mount failure can then free the containing osb before the embedded release timer expires:
Mount failure Delayed cleanup

ocfs2 filecheck create sysfs() kobject init and add() fails fs fcheck = NULL kobject put() queue delayed release return to mount error cleanup ocfs2 dismount volume() remove sysfs() skips the wait kfree(osb) expire embedded release timer access freed osb
The normal removal path waits for fs kobj unregister, but it returns early when fs fcheck is NULL. The failed-add path therefore leaves the delayed work and its completion in freed storage.
Wait for the existing release completion after the failed-add kobject put(), before returning to mount error cleanup. This keeps the enclosing osb alive until the kobject has finished releasing, matching the normal teardown path.
KASAN report as below:
BUG: KASAN: slab-use-after-free in run timers+0xa6d/0xa90 Write of size 8 at addr ffff8881178a5658 by task swapper/0/0
CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 7.3.0-rc4-next-20260921-pmb-ocfs2-functional-v1+ #1 PREEMPT(lazy) Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch caps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: dump stack lvl+0x93/0xd0 print report+0xce/0x630 ? run timers+0xa6d/0xa90 ? srso alias return thunk+0x5/0xfbef5 ? virt addr valid+0x20e/0x420 ? run timers+0xa6d/0xa90 kasan report+0xe0/0x110 ? run timers+0xa6d/0xa90 run timers+0xa6d/0xa90 ? srso alias return thunk+0x5/0xfbef5 ? pfx run timers+0x10/0x10 ? lock acquire+0x5a3/0x2140 ? pfx do raw spin lock+0x10/0x10 ? srso alias return thunk+0x5/0xfbef5 timer expire remote+0xfa/0x160 ? pfx timer expire remote+0x10/0x10 ? srso alias return thunk+0x5/0xfbef5 ? srso alias return thunk+0x5/0xfbef5 ? trace hardirqs on+0x18/0x160 tmigr handle remote up+0x4ba/0x9d0 ? pfx tmigr handle remote up+0x10/0x10 ? tmigr handle remote+0x21a/0x340 ? srso alias return thunk+0x5/0xfbef5 ? lock release+0xc8/0x290 ? pfx tmigr handle remote up+0x10/0x10 walk groups from+0x5a/0x160 tmigr handle remote+0x24f/0x340 ? pfx tmigr handle remote+0x10/0x10 ? lock acquire+0x190/0x300 ? srso alias return thunk+0x5/0xfbef5 ? lock release+0xc8/0x290 run timer softirq+0x222/0x270 ? pfx run timer softirq+0x10/0x10 ? srso alias return thunk+0x5/0xfbef5 ? srso alias return thunk+0x5/0xfbef5 ? lockdep hardirqs on prepare+0xb8/0x1a0 ? srso alias return thunk+0x5/0xfbef5 handle softirqs+0x1fa/0x8d0 ? pfx handle softirqs+0x10/0x10 ? srso alias return thunk+0x5/0xfbef5 ? raw spin unlock+0x23/0x40 ? srso alias return thunk+0x5/0xfbef5 ? hrtimer rearm deferred+0x1fb/0x5d0 irq exit rcu+0x113/0x1e0 irq exit rcu+0xe/0x20 sysvec apic timer interrupt+0x6c/0x80 asm sysvec apic timer interrupt+0x1a/0x20 RIP: 0010:pv native safe halt+0xf/0x20 Code: fa 18 01 e9 ee 37 ff fa 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa eb 07 0f 00 2d 23 c7 14 00 fb f4 c7 37 ff fa 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 RSP: 0018:ffffffff87c07cf8 EFLAGS: 00000206 R ---truncated---
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾