Linux Kernel Refcount Leak Vulnerability in LPC32XX USB Gadget Driver

Vulnerability

A refcount leak vulnerability has been identified in the Linux kernel's LPC32XX USB gadget driver. The issue arises in the 'lpc32xx_udc_probeof_parse_phandle()' function, which returns a node pointer with an incremented reference count. The driver fails to release this reference properly when the node is no longer needed, leading to a memory leak. The missing reference count management has been addressed by adding the necessary 'of_node_put()' calls to prevent the leak.

Impact

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

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

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
4.0
remediation
0.0
relevance
0.0
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.