5.5

CVE-2022-50158: mtd: partitions: Fix refcount leak in parse_redboot_of

Analyzed
AliasesUBUNTU-CVE-2022-50158DEBIAN-CVE-2022-50158
Published 18-06-2025Last modified 23-05-2026

Vulnerability summary

CVE-2022-50158 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 9.3% 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.20%
0%100%
Low · 0.00 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. 23-05-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: mtd: partitions: Fix refcount leak in parse_redboot_of of_get_child_by_name() 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.20%

Chance of exploitation in the next 30 days

Percentile

9%

Versus all other CVEs

30-day change

No change 0.00 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.

Ubuntu107 products
  • linux< 5.4.0-132.148 | < 5.15.0-53.59
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 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≥ 6490ed7c4684caf9851a0b98e0ab17a8d693dada, < f3cc27198c5d78cdda60a55ae749f815cd1fe5eb | ≥ 2f8824f556a3ebea9840c53326e55cc183316611, < 55d0f7da66dec93c4d53d0886a1555618079a900 | ≥ 237960880960863fb41888763d635b384cffb104, < 8ea607579d300b2f7fc997f3dd20949114565fcd | ≥ 237960880960863fb41888763d635b384cffb104, < 7ec48ac18d8f9e002ce9bfbad32741086739e499 | ≥ 237960880960863fb41888763d635b384cffb104, < e24af43d0cbe9f6aaa413c15ccce50bbbfd61e0e | ≥ 237960880960863fb41888763d635b384cffb104, < 9f7e62815cf3cbbcb1b8cb21649fb4dfdb3aa016 | fa132c7ea108eacc67357ffe3172d3e68fcd71a2 | d5023eb76f0dc651558b0c7ba04565891ff18435 | ≥ 5.4.132, < 5.4.211 | ≥ 5.10.50, < 5.10.137 | ≥ 5.12.17, < 5.13 | ≥ 5.13.2, < 5.14 | 5.14
  • linux_kernel≥ 5.4.132, < 5.4.211 | ≥ 5.10.50, < 5.10.137 | ≥ 5.12.17, < 5.13 | ≥ 5.13.2, < 5.15.61 | ≥ 5.16, < 5.18.18 | ≥ 5.19, < 5.19.2
Debian1 product
  • linux< 6.0.2-1

3 vendors · 110 products

References

9 links