CVE Database›Document archive›CVE-2022-50539

CVE-2022-50539

kernel: ARM: OMAP2+: omap4-common: Fix refcount leak bug

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · October 7, 2025

Updated · June 30, 2026

Description

A reference leak flaw was found in the Linux kernel's OMAP4 platform code in the SRAM initialization logic. A local user on ARM OMAP4 systems can trigger this issue during system initialization when of_find_compatible_node returns a device tree node pointer with an incremented reference count that is never released. This results in a permanent reference leak preventing proper device tree node cleanup and leading to resource exhaustion or denial of service.

Statement

The omap4_sram_init function uses of_find_compatible_node to locate compatible device tree nodes for SRAM configuration. This function increments the node's reference count when returning a match, requiring the caller to balance this with of_node_put when finished. The OMAP4 code fails to release this reference after using the node, violating device tree reference counting conventions. While this occurs during early boot initialization rather than runtime, the leaked reference persists for the system's lifetime and represents a resource management violation. The issue affects ARM OMAP4 platforms, which are primarily embedded systems and older mobile devices.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-911 · Improper Update of Reference Count