CVE-2022-50161: mtd: maps: Fix refcount leak in of_flash_probe_versatile
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.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 6 · Related 6Timeline
- 18-06-2025PublishedVulnerability first disclosed.
- 11-05-2026Last 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- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
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