CVE-2026-139028

Source
https://cve.org/CVERecord?id=CVE-2026-139028
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139028.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139028
Downstream
Published
2026-11-30T13:27:12Z
Modified
2026-11-30T15:01:52Z
Summary
power: supply: bq27xxx: Ensure poll work is cancelled on remove
Details

In 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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139028.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

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"

Linux / Kernel

Package

Name
Kernel

Affected 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"