VYPR
Unrated severityNVD Advisory· Published Jun 18, 2025

mtd: maps: Fix refcount leak in of_flash_probe_versatile

CVE-2022-50161

Description

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

mtd: maps: Fix refcount leak in of_flash_probe_versatile

of_find_matching_node_and_match() 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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

118

Patches

Vulnerability mechanics

References

8

News mentions

0

No linked articles in our index yet.