1. Home
  2. Vulnerabilities
  3. CVE-2022-50158

CVE-2022-50158

In the Linux kernel, the following vulnerability has been resolved: mtd: partitions: Fix refcount leak in…

Published 18 Jun 2025 · modified 17 Jun 2026 · Sources: NVD, EPSS (FIRST)

Low 25/100

Summary

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.

Affected products and versions

Linux (6 line(s))
Linux
ProductVersionsFixed inSource
Linux kernel from 5.4.132 (included) to 5.4.211 (excluded) — NVD
Linux kernel from 5.10.50 (included) to 5.10.137 (excluded) — NVD
Linux kernel from 5.12.17 (included) to 5.13 (excluded) — NVD
Linux kernel from 5.13.2 (included) to 5.15.61 (excluded) — NVD
Linux kernel from 5.16 (included) to 5.18.18 (excluded) — NVD
Linux kernel from 5.19 (included) to 5.19.2 (excluded) — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
NVD
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Weakness
NVD-CWE-Other · Non classé

How this data is obtained and calculated