ocfs2/cluster: remove zero-address nodes from IP tree on teardown

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux0c83ed8eeb28a045cdbd0b216679938aa9e665fe to before 4c533e1e5956566a6180d02be288f51239aebbb8 Affected0c83ed8eeb28a045cdbd0b216679938aa9e665fe to before dbf03ebeb7ba83c7cf57508bafed9a8b19b9b877 Affected0c83ed8eeb28a045cdbd0b216679938aa9e665fe to before 55f101e2bdee564b65db95b40261d690a3b3c617 Affected0c83ed8eeb28a045cdbd0b216679938aa9e665fe to before 50460b405a57ef6e095df3ab1b1ab49e18af1533 Affected0c83ed8eeb28a045cdbd0b216679938aa9e665fe to before 5cbc38393b3c7f3c33cac18ed24d5a2213902db7 Affected0c83ed8eeb28a045cdbd0b216679938aa9e665fe to before fa5ee143d0e6fa86c7173d4e6389f2b4bbd075a5 Affected0c83ed8eeb28a045cdbd0b216679938aa9e665fe to before b0aa8efbcaa80293de872ce90b0dcd8d2fbfb5c6 Affected0c83ed8eeb28a045cdbd0b216679938aa9e665fe to before 5dd57e77eff4ba3e85b3df126a55417c88245708 Affected
Linux Linux2.6.16 Affectedbefore 2.6.16 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.