PT-2026-163838
CVE-2026-139797
·
تاريخ النشر
2026-11-30
·
تاريخ التحديث
2026-11-30
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
ocfs2/cluster: hold a reference on the heartbeat thread
Since commit 688bc88e2046 ("ocfs2/cluster: keep heartbeat local node
stable"), o2hb thread() leaves its loop and returns when the local node
changes, for example after "echo 0 > node//local". The thread was
started with kthread run() and nothing holds a reference to its
task struct, so the task is freed once it exits, while reg->hr task still
points to it.
Reading the region's pid attribute then reads the freed task, and removing
the region calls kthread stop() on it:
BUG: KASAN: slab-use-after-free in o2hb region pid show+0xb3/0xc0
refcount t: addition on 0; use-after-free.
Oops: Oops: 0000 [#1] SMP KASAN NOPTI
RIP: 0010:kthread stop+0xb1/0x390
The thread could already return by itself before, when heartbeat start was
aborted or on an unclean stop, but the local node change makes it
reachable from userspace at any time.
Create the thread, take a reference on it and only then wake it, so the
reference cannot race with the thread exiting. Drop it with
kthread stop put().
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾