Skip to main content
Network Thinking Solutions Logo

CVE-2022-50160

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

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

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

Vendor advisory
CVSS5.5Medium

Overview

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.

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, < 995fb2874bb5696357846a91e59181c600e6aac8

Verify advisory

Source
Linux
Linux
≥ b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < d10855876a6f47add6ff621cef25cc0171dac162

Verify advisory

Source
Linux
Linux
≥ b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < 80b1465b2ae81ebb59bbe62bcb7a7f7d4e9ece6f

Verify advisory

Source
Linux
Linux
≥ b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < 941ef6997f9db704fe4fd62fc01e420fdd5048b2

Verify advisory

Source
Linux
Linux
≥ b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < d5730780e9ea84e5476752a47c749036c6a74af5

Verify advisory

Source
Linux
Linux
≥ b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < a74322d4b897ddc268b340c4a397f6066c2f945d

Verify advisory

Source
Linux
Linux
≥ b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < babd7b0124650ab71a6487e38588b8659b3aa2dc

Verify advisory

Source
Linux
Linux
≥ b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < 77087a04c8fd554134bddcb8a9ff87b21f357926

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.