CVE-2026-99931: ocfs2/cluster: remove zero-address nodes from IP tree on teardown
In the Linux kernel, the following vulnerability has been resolved:
ocfs2/cluster: remove zero-address nodes from IP tree on teardown
o2nmnodeipv4addressstore() accepts 0.0.0.0. It sets O2NMNODEATTRADDRESS and links ndipnode into clnodeiptree under clnodeslock, but o2nmnodegroupdropitem() uses ndipv4address as a membership test. A zero address therefore leaves the rbtree node linked when configitemput() releases and frees struct o2nmnode. A later address store or IP lookup can then walk the stale node and dereference freed memory.
During teardown, dropitem takes clnodeslock, skips rberase() for the zero key, and then calls configitemput(). A later o2nmnodeipv4addressstore() duplicate check or o2nmgetnodebyip() lookup takes the same lock and walks the stale clnodeiptree entry. Use O2NMNODEATTRADDRESS for teardown so every published ndipnode is erased before configfs can release the node, without rejecting 0.0.0.0 or changing lookup semantics.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Remove zero-address nodes from the IP tree during teardown before config_item_put() releases the node.