power: supply: bq27xxx: Ensure poll work is cancelled on remove

Summary

CVECVE-2026-139028
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:18:06 UTC
Updated2026-11-30 14:18:06 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: power: supply: bq27xxx: Ensure poll work is cancelled on remove The di->work poll work is queued from the poll callback itself and from bq27xxx_external_power_changed(). The cancel_delayed_work_sync() in bq27xxx_battery_teardown() runs while the power_supply is still registered, so external_power_changed() can re-arm the work after the cancel, and it runs after the driver data has been freed. Register a devm_delayed_work_autocancel() before devm_power_supply_register(), so on unwind the power_supply is unregistered first, after which no new external_power_changed() callback can be dispatched, and the poll work is cancelled only then. Drop the now-redundant cancel from bq27xxx_battery_teardown(). This issue was found by an in-house static analysis tool.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 740b755a3b3433f5ee5f9ef54de5d1b4c08223cc f70fc2186da6eaf93e22c9eb6d8cb0b14c9bdace git Not specified
CNA Linux Linux affected 740b755a3b3433f5ee5f9ef54de5d1b4c08223cc f0826debc931fad54f228ed7fc0b0a69a3ac84aa git Not specified
CNA Linux Linux affected 740b755a3b3433f5ee5f9ef54de5d1b4c08223cc a8a4d1d89dfc925b4437ba66fde9790ab1c4f285 git Not specified
CNA Linux Linux affected 740b755a3b3433f5ee5f9ef54de5d1b4c08223cc 0187e06729fd3fd1e86ce52f51c512bbd0c39e6c git Not specified
CNA Linux Linux affected 740b755a3b3433f5ee5f9ef54de5d1b4c08223cc 63181ae0a49b52dfcb30f41bfef45aa004177e39 git Not specified
CNA Linux Linux affected 740b755a3b3433f5ee5f9ef54de5d1b4c08223cc bc717d870fb6b6e15e386ea80ec9356a15d36792 git Not specified
CNA Linux Linux affected 740b755a3b3433f5ee5f9ef54de5d1b4c08223cc db560f4b1c5253853f978385db066220e0c218dc git Not specified
CNA Linux Linux affected 2.6.39 Not specified
CNA Linux Linux unaffected 2.6.39 semver Not specified
CNA Linux Linux unaffected 5.15.226 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.118 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.63 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.4 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/f70fc2186da6eaf93e22c9eb6d8cb0b14c9bdace 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f0826debc931fad54f228ed7fc0b0a69a3ac84aa 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/63181ae0a49b52dfcb30f41bfef45aa004177e39 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/bc717d870fb6b6e15e386ea80ec9356a15d36792 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0187e06729fd3fd1e86ce52f51c512bbd0c39e6c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/db560f4b1c5253853f978385db066220e0c218dc 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a8a4d1d89dfc925b4437ba66fde9790ab1c4f285 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report