CVE-2022-50158

mtd: partitions: Fix refcount leak in parse_redboot_of

published June 18, 2025

CVSS
—
EPSS
0%
Percentile
8.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00196 · 8.8th percentile
Published
2025-06-18T11:03Z
EPSS history
Timeline
  • 18 JUN 11:03Z
    mtd: partitions: Fix refcount leak in parse_redboot_of
    cvelistv5