Back
CVE-2022-50160
mtd: maps: Fix refcount leak in ap_flash_init
Medium5.5EPSS 0.19%
- Published
- Updated
- Reserved
- Assigned by
- Linux
Description
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.
Timeline
ID reserved
By Linux
Published
- 11 months later
· 11 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.19% · top 91% of all CVEs (7 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected b0afd44bc192ff4c0e90a5fc1724350bcfc32b33 – < 995fb2874bb5696357846a91e59181c600e6aac8
- affected b0afd44bc192ff4c0e90a5fc1724350bcfc32b33 – < d10855876a6f47add6ff621cef25cc0171dac162
- affected b0afd44bc192ff4c0e90a5fc1724350bcfc32b33 – < 80b1465b2ae81ebb59bbe62bcb7a7f7d4e9ece6f
- affected b0afd44bc192ff4c0e90a5fc1724350bcfc32b33 – < 941ef6997f9db704fe4fd62fc01e420fdd5048b2
- affected b0afd44bc192ff4c0e90a5fc1724350bcfc32b33 – < d5730780e9ea84e5476752a47c749036c6a74af5
- affected b0afd44bc192ff4c0e90a5fc1724350bcfc32b33 – < a74322d4b897ddc268b340c4a397f6066c2f945d
- affected b0afd44bc192ff4c0e90a5fc1724350bcfc32b33 – < babd7b0124650ab71a6487e38588b8659b3aa2dc
- affected b0afd44bc192ff4c0e90a5fc1724350bcfc32b33 – < 77087a04c8fd554134bddcb8a9ff87b21f357926
- affected 4.7
- unaffected < 4.7
- unaffected 4.14.291 – ≤ 4.14.*
- unaffected 4.19.256 – ≤ 4.19.*
- unaffected 5.4.211 – ≤ 5.4.*
- unaffected 5.10.137 – ≤ 5.10.*
- unaffected 5.15.61 – ≤ 5.15.*
- unaffected 5.18.18 – ≤ 5.18.*
- unaffected 5.19.2 – ≤ 5.19.*
- unaffected 6.0 – ≤ *
References (8)
- https://git.kernel.org/stable/c/995fb2874bb5696357846a91e59181c600e6aac8 (opens in a new tab)
- https://git.kernel.org/stable/c/d10855876a6f47add6ff621cef25cc0171dac162 (opens in a new tab)
- https://git.kernel.org/stable/c/80b1465b2ae81ebb59bbe62bcb7a7f7d4e9ece6f (opens in a new tab)
- https://git.kernel.org/stable/c/941ef6997f9db704fe4fd62fc01e420fdd5048b2 (opens in a new tab)
- https://git.kernel.org/stable/c/d5730780e9ea84e5476752a47c749036c6a74af5 (opens in a new tab)
- https://git.kernel.org/stable/c/a74322d4b897ddc268b340c4a397f6066c2f945d (opens in a new tab)
- https://git.kernel.org/stable/c/babd7b0124650ab71a6487e38588b8659b3aa2dc (opens in a new tab)
- https://git.kernel.org/stable/c/77087a04c8fd554134bddcb8a9ff87b21f357926 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-50160)Record last updated .