NetSight
medium5.5

CVE-2022-50158

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 nod…

Impact

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

VendorProductAffected versions
LinuxLinux Kernel
from 5.4.132 before 5.4.211
from 5.10.50 before 5.10.137
from 5.12.17 before 5.13
from 5.13.2 before 5.15.61
from 5.16 before 5.18.18
from 5.19 before 5.19.2

References