{"id":"CVE-2026-139028","summary":"power: supply: bq27xxx: Ensure poll work is cancelled on remove","details":"In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: bq27xxx: Ensure poll work is cancelled on remove\n\nThe di-\u003ework poll work is queued from the poll callback itself and from\nbq27xxx_external_power_changed(). The cancel_delayed_work_sync() in\nbq27xxx_battery_teardown() runs while the power_supply is still\nregistered, so external_power_changed() can re-arm the work after the\ncancel, and it runs after the driver data has been freed.\n\nRegister a devm_delayed_work_autocancel() before\ndevm_power_supply_register(), so on unwind the power_supply is\nunregistered first, after which no new external_power_changed()\ncallback can be dispatched, and the poll work is cancelled only then.\nDrop the now-redundant cancel from bq27xxx_battery_teardown().\n\nThis issue was found by an in-house static analysis tool.","modified":"2026-11-30T15:01:52.625099867Z","published":"2026-11-30T13:27:12.155Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139028.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0187e06729fd3fd1e86ce52f51c512bbd0c39e6c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/63181ae0a49b52dfcb30f41bfef45aa004177e39"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a8a4d1d89dfc925b4437ba66fde9790ab1c4f285"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bc717d870fb6b6e15e386ea80ec9356a15d36792"},{"type":"WEB","url":"https://git.kernel.org/stable/c/db560f4b1c5253853f978385db066220e0c218dc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f0826debc931fad54f228ed7fc0b0a69a3ac84aa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f70fc2186da6eaf93e22c9eb6d8cb0b14c9bdace"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139028.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139028"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"740b755a3b3433f5ee5f9ef54de5d1b4c08223cc"},{"fixed":"f70fc2186da6eaf93e22c9eb6d8cb0b14c9bdace"},{"fixed":"f0826debc931fad54f228ed7fc0b0a69a3ac84aa"},{"fixed":"a8a4d1d89dfc925b4437ba66fde9790ab1c4f285"},{"fixed":"0187e06729fd3fd1e86ce52f51c512bbd0c39e6c"},{"fixed":"63181ae0a49b52dfcb30f41bfef45aa004177e39"},{"fixed":"bc717d870fb6b6e15e386ea80ec9356a15d36792"},{"fixed":"db560f4b1c5253853f978385db066220e0c218dc"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139028.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.39"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.118"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139028.json"}}],"schema_version":"1.9.2"}