Linux Kernel Refcount Leak Vulnerability in UART Driver

Vulnerability

A refcount leak vulnerability has been identified in the Linux kernel's UART driver, specifically within the 'ucc_uart.c' file. The issue arises in the 'soc_info()' function, where 'of_find_node_by_type()' returns a node pointer with an incremented refcount. The vulnerability occurs because the refcount is not properly decremented when the node is no longer needed, leading to a memory management issue.

Impact

Exploitation of this vulnerability causes a refcount leak, which can lead to memory management problems such as use-after-free conditions or memory exhaustion.

Added: Jun 18, 2025, 8:01 PM
Updated: Jun 18, 2025, 8:01 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
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.