همهٔ گزارش‌ها
کم

kernel: clk: tegra: Fix refcount leak in tegra114_clock_init

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده
نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2022-50823

احتمال بهره‌برداری در ۳۰ روز آینده: 0.28%

FIRST EPSS · ۱۴۰۵/۰۸/۲۸

شرح آسیب‌پذیری

In the Linux kernel, the following vulnerability has been resolved: clk: tegra: Fix refcount leak in tegra114_clock_init of_find_matching_node() 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 reference count leak was found in the Linux kernel's Tegra114 clock driver. The tegra114_clock_init() function calls of_find_matching_node(), which returns a node pointer with an incremented reference count. The code fails to call of_node_put() when the node is no longer needed, resulting in a reference count leak that prevents proper resource cleanup.