CVE-2026-99931
Description
In the Linux kernel, the following vulnerability has been resolved:
ocfs2/cluster: remove zero-address nodes from IP tree on teardown
o2nm_node_ipv4_address_store() accepts 0.0.0.0. It sets O2NM_NODE_ATTR_ADDRESS and links nd_ip_node into cl_node_ip_tree under cl_nodes_lock, but o2nm_node_group_drop_item() uses nd_ipv4_address as a membership test. A zero address therefore leaves the rbtree node linked when config_item_put() releases and frees struct o2nm_node. A later address store or IP lookup can then walk the stale node and dereference freed memory.
During teardown, drop_item takes cl_nodes_lock, skips rb_erase() for the zero key, and then calls config_item_put(). A later o2nm_node_ipv4_address_store() duplicate check or o2nm_get_node_by_ip() lookup takes the same lock and walks the stale cl_node_ip_tree entry. Use O2NM_NODE_ATTR_ADDRESS for teardown so every published nd_ip_node is erased before configfs can release the node, without rejecting 0.0.0.0 or changing lookup semantics.
Affected products
1Patches
Vulnerability mechanics
References
8- git.kernel.org/stable/c/4c533e1e5956566a6180d02be288f51239aebbb8nvd
- git.kernel.org/stable/c/50460b405a57ef6e095df3ab1b1ab49e18af1533nvd
- git.kernel.org/stable/c/55f101e2bdee564b65db95b40261d690a3b3c617nvd
- git.kernel.org/stable/c/5cbc38393b3c7f3c33cac18ed24d5a2213902db7nvd
- git.kernel.org/stable/c/5dd57e77eff4ba3e85b3df126a55417c88245708nvd
- git.kernel.org/stable/c/b0aa8efbcaa80293de872ce90b0dcd8d2fbfb5c6nvd
- git.kernel.org/stable/c/dbf03ebeb7ba83c7cf57508bafed9a8b19b9b877nvd
- git.kernel.org/stable/c/fa5ee143d0e6fa86c7173d4e6389f2b4bbd075a5nvd
News mentions
0No linked articles in our index yet.