In the Linux kernel, the following vulnerability has been resolved:
power: supply: charger-manager: fix refcount leak in is_full_charged()
In is_full_charged(), power_supply_get_by_name() is called to
obtain a reference to the fuel_gauge power supply. If the
voltage check (uV >= desc->fullbatt_uV) succeeds, the function
returns true directly without releasing the reference, leaking
the refcount.
Fix this by setting a flag and jumping to the out label where
power_supply_put() properly drops the reference.
from e132fc6bb89bd307cfcdb8ba24afcd1985261485 before afe3202c30bdff0635818ab525fe2694309d2692; from e132fc6bb89bd307cfcdb8ba24afcd1985261485 before 93b99b63ad5657225faf702670ddfeddf1f0ae29; from e132fc6bb89bd307cfcdb8ba24afcd1985261485 before 6f75912cc6ff4c05ff13af351c4eea49b6b3c078; from e132fc6bb89bd307cfcdb8ba24afcd1985261485 before e44ad91e9f75f3e3ccbdb85ffe699471f9675e5b; from e132fc6bb89bd307cfcdb8ba24afcd1985261485 before 3999f47e4bbf864e3c7fbfd813fb2f651e6b5714; from e132fc6bb89bd307cfcdb8ba24afcd1985261485 before 193e6471e985c2f25d09b3fe96ec52f4eab89bd4; from e132fc6bb89bd307cfcdb8ba24afcd1985261485 before e8631b883338ea4c3b5d8ddfbe16407af9f0b4b9; from e132fc6bb89bd307cfcdb8ba24afcd1985261485 before 4373cfa38ead58f980362c841b0d0bdf8c4d956c
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.
Printed from infosecsignals.com. Every record links back to the agency that published it.
Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.