CVE Database
/

CVE-2022-50161

Back to search

CVE-2022-50161

Published: Jun 18, 2025

Modified: May 11, 2026

PUBLISHED

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.

VendorProductVersions

Linux

Linux

affected
b0afd44bc192ff4c0e90a5fc1724350bcfc32b33 - < 3c8de6a838b7e0eb392754ac89dd66e698684342
affected
b0afd44bc192ff4c0e90a5fc1724350bcfc32b33 - < 79e57889aa0d92a6d769bad808fb105e7b6ea495
affected
b0afd44bc192ff4c0e90a5fc1724350bcfc32b33 - < 9124d51e01232a91da4034768a2a8d1688472179
affected
b0afd44bc192ff4c0e90a5fc1724350bcfc32b33 - < 52ae2b14f76ef2d490337ddc0037bc37125be7b8
affected
b0afd44bc192ff4c0e90a5fc1724350bcfc32b33 - < 4d67c8f74d804b20febf716ec96e9a475457ec60

+3 more versions

Linux

Linux

affected
4.7
unaffected
0 - < 4.7
unaffected
4.14.291 - <= 4.14.*
unaffected
4.19.256 - <= 4.19.*
unaffected
5.4.211 - <= 5.4.*

+5 more versions

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now