# CVE-2026-139028

- Bağlantı: https://www.allsafe.com.tr/cve-2026-139028/
- Yayımlanma: 2026-11-30T17:18:06+03:00
- Yazar: Postmaster

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.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-139028)
