PT-2026-162930

CVE-2026-99963

·

Publicado

2026-11-30

·

Atualizado

2026-11-30

Descrição por

Pontuação
N/A
Não disponível

Não há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.

In the Linux kernel, the following vulnerability has been resolved:
ocfs2/cluster: initialize heartbeat regions before publishing them
A region on o2hb all regions must have an initialized config item and name. o2hb heartbeat group make item() currently links the zeroed region under o2hb live lock, drops the lock, and only then initializes hr item. The lock therefore protects the list without protecting initialization from readers of the published item.
With global heartbeat enabled, a DLM QUERY REGION from the current joining node can pass the existing-domain and protocol checks while a configfs mkdir creates another region. The DLM locks are not taken by the constructor, and the network worker does not take the configfs subsystem mutex. The following ordering is possible:
Configfs mkdir O2net receive worker

Allocate reg Lock o2hb live lock Link into o2hb all regions Unlock o2hb live lock dlm query region handler() dlm match regions() o2hb get all regions() Lock o2hb live lock Copy 32 bytes from NULL name Unlock o2hb live lock config item init type name()
The query thus dereferences NULL. Initialize hr item before linking the region so the existing list lock also orders name initialization before any reader. Reject a failed name allocation, since the initialization helper does not propagate that error.
Use config item put() on initialized constructor failures to release the name and respect references retained by o2hb region pin(). Initialize the list heads, mutex and delayed works needed by o2hb region release() before any such put, and leave the list node self-linked after rollback. Keep the existing handler drain before removing a failed published item.
KASAN report as below:
================================================================== BUG: KASAN: null-ptr-deref in o2hb get all regions+0xbb/0x1f0 Read of size 32 at addr 0000000000000000 by task kworker/u16:1/14
CPU: 2 UID: 0 PID: 14 Comm: kworker/u16:1 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 Workqueue: o2net o2net rx until empty Call Trace: dump stack lvl+0x93/0xd0 kasan report+0xe0/0x110 ? o2hb get all regions+0xbb/0x1f0 kasan check range+0x105/0x1b0 asan memcpy+0x23/0x60 o2hb get all regions+0xbb/0x1f0 dlm query region handler+0x4c2/0xc20 ? pfx dlm query region handler+0x10/0x10 ? srso alias return thunk+0x5/0xfbef5 ? srso alias return thunk+0x5/0xfbef5 ? trace hardirqs on+0x18/0x160 ? srso alias return thunk+0x5/0xfbef5 ? kvm clock get cycles+0x31/0x60 ? srso alias return thunk+0x5/0xfbef5 ? pfx dlm query region handler+0x10/0x10 o2net rx until empty+0x1a50/0x3200 ? reacquire held locks+0xdd/0x200 ? pfx o2net rx until empty+0x10/0x10 ? lock acquire+0x190/0x300 ? process one work+0x935/0x1b40 ? process one work+0x834/0x1b40 ? srso alias return thunk+0x5/0xfbef5 ? lock release+0xc8/0x290 ? srso alias return thunk+0x5/0xfbef5 process one work+0x9a8/0x1b40 ? pfx process one work+0x10/0x10 ? lock acquire+0x190/0x300 ? lock is held type+0x8f/0x100 ? srso alias return thunk+0x5/0xfbef5 worker thread+0x65c/0xe40 ? srso alias return thunk+0x5/0xfbef5 ? kthread parkme+0x177/0x220 ? srso alias return thunk+0x5/0xfbef5 ? pfx worker thread+0x10/0x10 kthread+0x351/0x460 ? srso alias return thunk+0x5/0xfbef5 ? pfx kthread+0x10/0x10
---truncated---
Fornecedores
Produtos afetados
Identificadores relacionados
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾