همهٔ گزارش‌ها
متوسط

kernel: power: supply: bq25890: Fix power_supply reference leak

متن اصلی

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

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

بهره‌برداری

CVE-2026-89473

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

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

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

In the Linux kernel, the following vulnerability has been resolved: power: supply: bq25890: Fix power_supply reference leak bq25890_fw_probe() acquires a reference to a secondary charger using power_supply_get_by_name(), but the reference is not released on later probe failures or on driver detach. In particular, failures after bq25890_fw_probe() returns successfully, such as a failure in bq25890_hw_init(), also leak the reference. Register a device-managed cleanup action immediately after acquiring the secondary charger. This releases the reference on all subsequent probe failures and on driver detach. Found by code review.

A flaw was found in the Linux kernel's bq25890 power supply driver. The bq25890_fw_probe() function acquires a reference to a secondary charger but fails to release it on subsequent probe failures or driver detach. This reference leak can lead to resource exhaustion over time, potentially allowing a local attacker to cause a Denial of Service (DoS) by making the system unstable or unresponsive.