CVE-2022-50158 - CVE House
Back to Database
Status published Medium CVE-2022-50158

mtd: partitions: Fix refcount leak in parse_redboot_of

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-50158

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

Linux
Vulnerable Versions:
6490ed7c4684caf9851a0b98e0ab17a8d693dada, 2f8824f556a3ebea9840c53326e55cc183316611, 237960880960863fb41888763d635b384cffb104, fa132c7ea108eacc67357ffe3172d3e68fcd71a2, d5023eb76f0dc651558b0c7ba04565891ff18435, 5.4.132, 5.10.50, 5.12.17, 5.13.2, 5.14, 0, 5.4.211, 5.10.137, 5.15.61, 5.18.18, 5.19.2, 6.0

Timeline

Official Publish: June 18th, 2025
Last Modified: May 23rd, 2026
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.