Skip to main content
VulnerabilityPublished Updated

CVE-2026-89472: Linux kernel · power: supply: charger-manager: register regulators before exposing sysfs

Affects Linux kernelSource CVE Database V5

0

Not known to be exploited · CVSS 7.8 High · fixed in c57cb36f76eb7ced45f57af1a890d8f3a6d76342 : patch Linux kernel soon.

Data as of 26 Oct 2026, 13:47 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 6% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in c57cb36f76eb7ced45f57af1a890d8f3a6d76342, af3ce383ba0d0d48957a22ac7058ff5698775898, 86e4fa65368f3bbb506dddba8c9eedc75bd603b2 +2
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 11 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 3950c7865cd7c963982a2c94457182b96732f4c9, < c57cb36f76eb7ced45f57af1a890d8f3a6d76342
Fixed in
  • c57cb36f76eb7ced45f57af1a890d8f3a6d76342
LinuxLinuxAffected
  • ≥ 3950c7865cd7c963982a2c94457182b96732f4c9, < af3ce383ba0d0d48957a22ac7058ff5698775898
Fixed in
  • af3ce383ba0d0d48957a22ac7058ff5698775898
LinuxLinuxAffected
  • ≥ 3950c7865cd7c963982a2c94457182b96732f4c9, < 86e4fa65368f3bbb506dddba8c9eedc75bd603b2
Fixed in
  • 86e4fa65368f3bbb506dddba8c9eedc75bd603b2
LinuxLinuxAffected
  • ≥ 3950c7865cd7c963982a2c94457182b96732f4c9, < 6e1645a6ee85d070c2d8dd847f1ce110dc2455c1
Fixed in
  • 6e1645a6ee85d070c2d8dd847f1ce110dc2455c1
LinuxLinuxAffected
  • ≥ 3950c7865cd7c963982a2c94457182b96732f4c9, < 6d532582ff3c420598f02945b13184c738cc1581
Fixed in
  • 6d532582ff3c420598f02945b13184c738cc1581
LinuxLinuxAffected
  • =3.7
Fixed in–

Description

In the Linux kernel, the following vulnerability has been resolved: power: supply: charger-manager: register regulators before exposing sysfs charger_manager_remove() and the err_reg_extcon probe error path free each charger regulator with regulator_put() before tearing down the power_supply sysfs entries (power_supply_unregister()). charger_manager_remove() also calls try_charger_enable(cm, false) after the regulator_put() loop. A concurrent write to a charger's externally_control sysfs attribute that lands between regulator_put() and power_supply_unregister() can run charger_externally_control_store() and call try_charger_enable(), which, when charging is enabled, dereferences the already-freed consumer handle. When charging is enabled, try_charger_enable(cm, false) in .remove() also dereferences the freed handles directly. Both leave use-after-free windows. Symmetrically, probe registers the sysfs entries (power_supply_register) before acquiring the regulators (regulator_get, inside charger_manager_register_extcon), so userspace can reach externally_control before the regulators are available. Split charger_manager_register_extcon() on the sync/async boundary: charger_manager_get_regulators() (regulator_get only, no async producer) now runs before power_supply_register() so sysfs is not live before regulators are available, and charger_manager_register_extcon() keeps only the extcon notifier/work setup, still after power_supply_register() so a power_supply_register() failure cannot reach extcon setup. This keeps the sysfs setup/teardown ordering symmetric without introducing an asynchronous producer on the earlier probe-error path. Move power_supply_unregister() and try_charger_enable(cm, false) ahead of the regulator_put() loop on both teardown paths, and adjust err_reg_extcon (power_supply_unregister() then fall through err_regulator for regulator_put(); get_regulators self-rolls back on its own failure). This does not address the separate extcon-notifier-driven deref of the same handles, which needs its own synchronization design. Found by an in-house static analysis tool.

References

Community reviews

Loading reviews…