Skip to main content
Network Thinking Solutions Logo

CVE-2022-50161

Linux kernel: mtd: maps: Fix refcount leak in of_flash_probe_versatile

All CVEs
CVE-2022-50161Published 6/18/2025

Linux kernel: mtd: maps: Fix refcount leak in of_flash_probe_versatile

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
6/18/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.7, < 4.14.291

Verify advisory

Source
linux kernel
linux
≥ 4.15, < 4.19.256

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.211

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.137

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.61

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 5.18.18

Verify advisory

Source
linux kernel
linux
≥ 5.19, < 5.19.2

Verify advisory

Source
Linux
Linux
≥ b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < 3c8de6a838b7e0eb392754ac89dd66e698684342

Verify advisory

Source
Linux
Linux
≥ b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < 79e57889aa0d92a6d769bad808fb105e7b6ea495

Verify advisory

Source
Linux
Linux
≥ b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < 9124d51e01232a91da4034768a2a8d1688472179

Verify advisory

Source
Linux
Linux
≥ b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < 52ae2b14f76ef2d490337ddc0037bc37125be7b8

Verify advisory

Source
Linux
Linux
≥ b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < 4d67c8f74d804b20febf716ec96e9a475457ec60

Verify advisory

Source
Linux
Linux
≥ b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < 5d5ddd8771fa9cabeb247fba5f6ab60d63f3fbce

Verify advisory

Source
Linux
Linux
≥ b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < f516fbb63873ee23cba5b7c3d239677c30f13df8

Verify advisory

Source
Linux
Linux
≥ b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < 33ec82a6d2b119938f26e5c8040ed5d92378eb54

Verify advisory

Source
Linux
Linux
4.7

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.