{"id":"CVE-2026-89474","summary":"power: supply: bq256xx: drain usb_work before freeing the charger","details":"In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: bq256xx: drain usb_work before freeing the charger\n\nThe USB-PHY notifier queues usb_work, whose handler calls\npower_supply_changed(bq-\u003echarger). The reset devm action only unregisters\nthe notifier and was registered before the power supplies, so devm frees\nbq-\u003echarger on unwind before the action runs; a usb_work still queued can\nthen dereference it.\n\nRegister the reset action after the power supplies, so it unregisters\nthe notifiers and drains usb_work before the supplies are released.\nInitialize usb_work and obtain the PHY references before registering\nthe notifiers, so the worker cannot run before the supplies exist.\n\nFound by static analysis.","modified":"2026-09-13T03:47:18.078644496Z","published":"2026-09-11T19:43:31.882Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89474.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2dd6cd823777bea6d9a880a12a92a73ec76aee0b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9a467bd1e6811011026ad4c8de701b940d88a00c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9e1aba34df9a87d53460888e05718717c0f69343"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c8addb842ae8dcf69c15fc976e33e3bd538a41d7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89474.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89474"},{"type":"PACKAGE","url":"https://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":"32e4978bb920d047fe5de3ea42d176f267c01f63"},{"fixed":"9a467bd1e6811011026ad4c8de701b940d88a00c"},{"fixed":"9e1aba34df9a87d53460888e05718717c0f69343"},{"fixed":"c8addb842ae8dcf69c15fc976e33e3bd538a41d7"},{"fixed":"2dd6cd823777bea6d9a880a12a92a73ec76aee0b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89474.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.12.0"},{"fixed":"6.12.109"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.50"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89474.json"}}],"schema_version":"1.9.0"}