Linux Kernel Refcount Leak Vulnerability in Altera TSE MDIO Creation

Vulnerability

A refcount leak vulnerability has been identified in the Linux kernel's handling of Altera TSE MDIO creation. The issue arises because each iteration of the 'for_each_child_of_node()' function decreases the reference count of the previous node. When exiting the loop, the child node must be explicitly released using 'of_node_put()' to prevent a reference count leak. The vulnerability has been addressed by adding the missing 'of_node_put()' call.

Impact

Exploitation of this vulnerability could lead to a refcount leak, potentially causing memory management issues.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM