CVE Database›Document archive›CVE-2022-50160

CVE-2022-50160

kernel: mtd: maps: Fix refcount leak in ap_flash_init

Loading…

Severity

Unknown

Red Hat Product Security

—

CVSS

Review impact separately from score.

Published · June 18, 2025

Updated · June 30, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

mtd: maps: Fix refcount leak in ap_flash_init

of_find_matching_node() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CWE not specified