Linux Kernel Refcount Leak Vulnerability in OCMEM Handling

Vulnerability

A refcount leak vulnerability has been identified in the Linux kernel's handling of OCMEM (On-Chip Memory) references. The issue arises in the function 'of_get_ocmemof_parse_phandle()', which returns a node pointer with an incremented reference count. If the pointer is not needed anymore, the reference count should be decremented using 'of_node_put()' to prevent a memory leak. The vulnerability has been addressed by adding the missing 'of_node_put()' call, ensuring that the reference count is properly managed.

Impact

Exploitation of this vulnerability could lead to a memory leak, where reference counts are not properly decremented, potentially causing increased memory usage and degradation of system performance over time.

Added: Jun 18, 2025, 2:06 PM
Updated: Jun 18, 2025, 2:06 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.0
exploitability
4.0
remediation
0.0
relevance
0.2
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.