Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-89472

HIGH 7.8EPSS 4%

power: supply: charger-manager: register regulators before exposing sysfs

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 3950c7865cd7c963982a2c94457182b96732f4c9, < 5763750916d28a29f1375a14dd6dadd5f2d2e178; >= 3950c7865cd7c963982a2c94457182b96732f4c9, < 6e1645a6ee85d070c2d8dd847f1ce110dc2455c1; >= 3950c7865cd7c963982a2c94457182b96732f4c9, < af3ce383ba0d0d48957a22ac7058ff5698775898; >= 3950c7865cd7c963982a2c94457182b96732f4c9, < 86e4fa65368f3bbb506dddba8c9eedc75bd603b2; >= 3950c7865cd7c963982a2c94457182b96732f4c9, < 6d532582ff3c420598f02945b13184c738cc1581; >= 3950c7865cd7c963982a2c94457182b96732f4c9, < c57cb36f76eb7ced45f57af1a890d8f3a6d76342
  • Anyone running Linux 3.7

Vulnerability facts

Affected
Linux >= 3950c7865cd7c963982a2c94457182b96732f4c9, < 5763750916d28a29f1375a14dd6dadd5f2d2e178; >= 3950c7865cd7c963982a2c94457182b96732f4c9, < 6e1645a6ee85d070c2d8dd847f1ce110dc2455c1; >= 3950c7865cd7c963982a2c94457182b96732f4c9, < af3ce383ba0d0d48957a22ac7058ff5698775898; >= 3950c7865cd7c963982a2c94457182b96732f4c9, < 86e4fa65368f3bbb506dddba8c9eedc75bd603b2; >= 3950c7865cd7c963982a2c94457182b96732f4c9, < 6d532582ff3c420598f02945b13184c738cc1581; >= 3950c7865cd7c963982a2c94457182b96732f4c9, < c57cb36f76eb7ced45f57af1a890d8f3a6d76342; Linux 3.7
Fixed in
Linux 5763750916d28a29f1375a14dd6dadd5f2d2e178, Linux 6e1645a6ee85d070c2d8dd847f1ce110dc2455c1, Linux 86e4fa65368f3bbb506dddba8c9eedc75bd603b2, Linux 6d532582ff3c420598f02945b13184c738cc1581
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.17% chance of exploitation in 30 days (percentile 4, 2026-11-26)
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 3950c7865cd7c963982a2c94457182b96732f4c9, < 5763750916d28a29f1375a14dd6dadd5f2d2e178; >= 3950c7865cd7c963982a2c94457182b96732f4c9, < 6e1645a6ee85d070c2d8dd847f1ce110dc2455c1; >= 3950c7865cd7c963982a2c94457182b96732f4c9, < af3ce383ba0d0d48957a22ac7058ff5698775898; >= 3950c7865cd7c963982a2c94457182b96732f4c9, < 86e4fa65368f3bbb506dddba8c9eedc75bd603b2; >= 3950c7865cd7c963982a2c94457182b96732f4c9, < 6d532582ff3c420598f02945b13184c738cc1581; >= 3950c7865cd7c963982a2c94457182b96732f4c9, < c57cb36f76eb7ced45f57af1a890d8f3a6d76342—cvelist
Linux3.7—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-89472. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89472.md
Affected: Linux >= 3950c7865cd7c963982a2c94457182b96732f4c9, < 5763750916d28a29f1375a14dd6dadd5f2d2e178; >= 3950c7865cd7c963982a2c94457182b96732f4c9, < 6e1645a6ee85d070c2d8dd847f1ce110dc2455c1; >= 3950c7865cd7c963982a2c94457182b96732f4c9, < af3ce383ba0d0d48957a22ac7058ff5698775898; >= 3950c7865cd7c963982a2c9…
Fixed in: Linux 5763750916d28a29f1375a14dd6dadd5f2d2e178, Linux 6e1645a6ee85d070c2d8dd847f1ce110dc2455c1, Linux 86e4fa65368f3bbb506dddba8c9eedc75bd603b2, Linux 6d532582ff3c420598f02945b13184c738cc1581

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-89472 being exploited?

There is no confirmed exploitation: CVE-2026-89472 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-89472?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2026-89472?

Linux >= 3950c7865cd7c963982a2c94457182b96732f4c9, < 5763750916d28a29f1375a14dd6dadd5f2d2e178; >= 3950c7865cd7c963982a2c94457182b96732f4c9, < 6e1645a6ee85d070c2d8dd847f1ce110dc2455c1; >= 3950c7865cd7c963982a2c94457182b96732f4c9, < af3ce383ba0d0d48957a22ac7058ff5698775898; >= 3950c7865cd7c963982a2c94457182b96732f4c9, < 86e4fa65368f3bbb506dddba8c9eedc75bd603b2; >= 3950c7865cd7c963982a2c94457182b96732f4c9, < 6d532582ff3c420598f02945b13184c738cc1581; >= 3950c7865cd7c963982a2c94457182b96732f4c9, < c57cb36f76eb7ced45f57af1a890d8f3a6d76342; Linux 3.7.

Is there a fix for CVE-2026-89472?

Yes. Fixed in Linux 5763750916d28a29f1375a14dd6dadd5f2d2e178, Linux 6e1645a6ee85d070c2d8dd847f1ce110dc2455c1, Linux 86e4fa65368f3bbb506dddba8c9eedc75bd603b2, Linux 6d532582ff3c420598f02945b13184c738cc1581. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2026-89472?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors