PT-2026-151645
CVE-2026-99434
·
تاريخ النشر
2026-11-19
·
تاريخ التحديث
2026-11-19
الوصف من
الدرجة
N/A
غير متوفرلا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.
In the Linux kernel, the following vulnerability has been resolved:
ocfs2/heartbeat: unlink live slots when their node is missing
o2hb shutdown slot() returns immediately when its node is no longer in the
configfs registry. A slot can still be linked in o2hb live slots when
that lookup fails. Region teardown or startup-error cleanup then frees
the slot array without removing its embedded list member.
With the same peer live in another region, the next list update can follow
a predecessor into the freed array. Reusing the node number can also make
a later insertion encounter that stale member.
Always remove the slot under o2hb live lock, even when node lookup fails.
Preserve aggregate membership accounting and the last-region DOWN
callback: the existing callback interface explicitly permits a NULL node
for DOWN events. Only drop the node reference when lookup returned one.
This closes both normal release and startup-abort paths without changing
the publication or callback locking protocol.
Also require a configured node before admitting a new live slot in
o2hb check slot(). The early live-bitmap check is not held through
admission: the last live slot in another region can be removed in between.
Without a node, admission can then queue an UP event with a NULL argument
and hit the event helper's BUG ON. Existing live slots can still leave
and generate NULL-node DOWN events.
A controlled probe-instrumented test reproduced this while stopping one of
two regions after removing the peer from configfs. Its KASAN report
includes:
BUG: KASAN: slab-use-after-free in list del entry valid or report+0x1e0/0x210
Read of size 8 at addr ffff888106a4ac60 by task o2hb-pmbd0058 b/497
Call Trace:
dump stack lvl+0x93/0xd0
print report+0xce/0x630
kasan report+0xe0/0x110
list del entry valid or report+0x1e0/0x210
o2hb do disk heartbeat+0x1591/0x2c50
o2hb thread+0x1ed/0xe70
kthread+0x351/0x460
ret from fork+0x659/0x940
ret from fork asm+0x1a/0x30
Allocated by task 491:
kasan save stack+0x33/0x60
kasan save track+0x14/0x30
kasan kmalloc+0xaa/0xb0
kmalloc noprof+0x2de/0x780
o2hb region dev store+0x7c2/0x1b60
configfs write iter+0x2f9/0x4f0
vfs write+0x639/0x1010
ksys write+0x111/0x200
do syscall 64+0x114/0x620
entry SYSCALL 64 after hwframe+0x77/0x7f
Freed by task 491:
kasan save stack+0x33/0x60
kasan save track+0x14/0x30
kasan save free info+0x3b/0x60
kasan slab free+0x5f/0x80
kfree+0x308/0x580
o2hb unmap slot data+0x1db/0x330
o2hb region release+0x14b/0x4f0
config item cleanup+0x14b/0x230
config item put+0x79/0x90
configfs rmdir+0x58a/0x910
vfs rmdir+0x2e8/0x820
filename rmdir+0x3b1/0x520
x64 sys rmdir+0x4b/0x70
do syscall 64+0x114/0x620
entry SYSCALL 64 after hwframe+0x77/0x7f
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾