Skip to main content
Network Thinking Solutions Logo

CVE-2022-50158

Linux kernel: mtd: partitions: Fix refcount leak in parse_redboot_of

All CVEs
CVE-2022-50158Published 6/18/2025

Linux kernel: mtd: partitions: Fix refcount leak in parse_redboot_of

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
6/18/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.4.132, < 5.4.211

Verify advisory

Source
linux kernel
linux
≥ 5.10.50, < 5.10.137

Verify advisory

Source
linux kernel
linux
≥ 5.12.17, < 5.13

Verify advisory

Source
linux kernel
linux
≥ 5.13.2, < 5.15.61

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 5.18.18

Verify advisory

Source
linux kernel
linux
≥ 5.19, < 5.19.2

Verify advisory

Source
Linux
Linux
≥ 6490ed7c4684caf9851a0b98e0ab17a8d693dada, < f3cc27198c5d78cdda60a55ae749f815cd1fe5eb

Verify advisory

Source
Linux
Linux
≥ 2f8824f556a3ebea9840c53326e55cc183316611, < 55d0f7da66dec93c4d53d0886a1555618079a900

Verify advisory

Source
Linux
Linux
≥ 237960880960863fb41888763d635b384cffb104, < 8ea607579d300b2f7fc997f3dd20949114565fcd

Verify advisory

Source
Linux
Linux
≥ 237960880960863fb41888763d635b384cffb104, < 7ec48ac18d8f9e002ce9bfbad32741086739e499

Verify advisory

Source
Linux
Linux
≥ 237960880960863fb41888763d635b384cffb104, < e24af43d0cbe9f6aaa413c15ccce50bbbfd61e0e

Verify advisory

Source
Linux
Linux
≥ 237960880960863fb41888763d635b384cffb104, < 9f7e62815cf3cbbcb1b8cb21649fb4dfdb3aa016

Verify advisory

Source
Linux
Linux
fa132c7ea108eacc67357ffe3172d3e68fcd71a2

Verify advisory

Source
Linux
Linux
d5023eb76f0dc651558b0c7ba04565891ff18435

Verify advisory

Source
Linux
Linux
≥ 5.4.132, < 5.4.211

Verify advisory

Source
Linux
Linux
≥ 5.10.50, < 5.10.137

Verify advisory

Source
Linux
Linux
≥ 5.12.17, < 5.13

Verify advisory

Source
Linux
Linux
≥ 5.13.2, < 5.14

Verify advisory

Source
Linux
Linux
5.14

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.