5.5

CVE-2022-50161: mtd: maps: Fix refcount leak in of_flash_probe_versatile

Analyzed
AliasesUBUNTU-CVE-2022-50161DEBIAN-CVE-2022-50161
Published 18-06-2025Last modified 11-05-2026

Vulnerability summary

CVE-2022-50161 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.19% chance of exploitation in the next 30 days, higher than 9.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.19%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 6 · Related 6

Timeline

  1. 18-06-2025
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.19%

Chance of exploitation in the next 30 days

Percentile

9%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.19% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu110 products
  • linux< 4.15.0-197.208 | < 5.4.0-132.148 | < 5.15.0-53.59
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 4.15.0-1143.155 | < 5.4.0-1089.97 | < 5.15.0-1023.27
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < 3c8de6a838b7e0eb392754ac89dd66e698684342 | ≥ b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < 79e57889aa0d92a6d769bad808fb105e7b6ea495 | ≥ b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < 9124d51e01232a91da4034768a2a8d1688472179 | ≥ b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < 52ae2b14f76ef2d490337ddc0037bc37125be7b8 | ≥ b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < 4d67c8f74d804b20febf716ec96e9a475457ec60 | ≥ b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < 5d5ddd8771fa9cabeb247fba5f6ab60d63f3fbce | ≥ b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < f516fbb63873ee23cba5b7c3d239677c30f13df8 | ≥ b0afd44bc192ff4c0e90a5fc1724350bcfc32b33, < 33ec82a6d2b119938f26e5c8040ed5d92378eb54 | 4.7
  • linux_kernel≥ 4.7, < 4.14.291 | ≥ 4.15, < 4.19.256 | ≥ 4.20, < 5.4.211 | ≥ 5.5, < 5.10.137 | ≥ 5.11, < 5.15.61 | ≥ 5.16, < 5.18.18 | ≥ 5.19, < 5.19.2
Debian1 product
  • linux< 6.0.2-1

3 vendors · 113 products

References

11 links
Show all 11 references