CVE-2022-50155 Details
Description
In the Linux kernel, the following vulnerability has been resolved: mtd: parsers: ofpart: Fix refcount leak in bcm4908_partitions_fw_offset of_find_node_by_path() 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.
A refcount leak vulnerability has been identified in the Linux kernel's MTD (Memory Technology Device) parsers, specifically within the 'ofpart' parser for BCM4908 partitions. The issue arises because the 'offsetof_find_node_by_path()' function returns a node pointer with an incremented reference count, which is not properly decremented when the node is no longer needed. This oversight can lead to a memory management issue, where the reference count does not accurately reflect the node's usage, potentially causing resource leaks.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/01bc3840d943cf725dea6ca13e11ffda82bad49a | kernel.org | Patch |
| https://git.kernel.org/stable/c/3193c3a3f4fca65cb06d9d48d07fb96bc1f5b2bd | kernel.org | Patch |
| https://git.kernel.org/stable/c/762475464982b15014f364ec0cf2a843407f5af1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/e607879b0da18c451de5e91daf239cc2f2f8ff2d | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-Other | Weakness Not in a Standard CWE Category | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.13, < 5.15.61 >= 5.16, < 5.18.18 >= 5.19, < 5.19.2 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 21, 2025 | Initial Analysis | [email protected] |
| Jun 18, 2025 | New CVE Received | kernel.org |