{"id":"CVE-2026-89474","aliases":["CVE-2026-89474"],"related":[],"kind":"vulnerability","state":"published","title":"power: supply: bq256xx: drain usb_work before freeing the charger","summary":"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->charger). The reset devm action only unregisters\nthe notifier and was registered before the power supplies, so devm frees\nbq->charger 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->charger). The reset devm action only unregisters\nthe notifier and was registered before the power supplies, so devm frees\nbq->charger 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.","source":"cvelist"}],"published":"2026-09-11T19:43:31.882Z","modified":"2026-10-19T09:17:40.277Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"32e4978bb920d047fe5de3ea42d176f267c01f63","fixed":"9dcfdf6c598301b278f0b3490eb2bf4f600524e2","status":"affected"},{"type":"git","introduced":"32e4978bb920d047fe5de3ea42d176f267c01f63","fixed":"fd08d4dbbec07a44f01b0ddb041912be0dc88f8c","status":"affected"},{"type":"git","introduced":"32e4978bb920d047fe5de3ea42d176f267c01f63","fixed":"2cfb59dc9df8b5ebdd95e3d874a7f4690cee2bc8","status":"affected"},{"type":"git","introduced":"32e4978bb920d047fe5de3ea42d176f267c01f63","fixed":"9a467bd1e6811011026ad4c8de701b940d88a00c","status":"affected"},{"type":"git","introduced":"32e4978bb920d047fe5de3ea42d176f267c01f63","fixed":"9e1aba34df9a87d53460888e05718717c0f69343","status":"affected"},{"type":"git","introduced":"32e4978bb920d047fe5de3ea42d176f267c01f63","fixed":"c8addb842ae8dcf69c15fc976e33e3bd538a41d7","status":"affected"},{"type":"git","introduced":"32e4978bb920d047fe5de3ea42d176f267c01f63","fixed":"2dd6cd823777bea6d9a880a12a92a73ec76aee0b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.12","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.109","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/9dcfdf6c598301b278f0b3490eb2bf4f600524e2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fd08d4dbbec07a44f01b0ddb041912be0dc88f8c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2cfb59dc9df8b5ebdd95e3d874a7f4690cee2bc8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9a467bd1e6811011026ad4c8de701b940d88a00c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9e1aba34df9a87d53460888e05718717c0f69343","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c8addb842ae8dcf69c15fc976e33e3bd538a41d7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2dd6cd823777bea6d9a880a12a92a73ec76aee0b","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89474","url":"https://www.cve.org/CVERecord?id=CVE-2026-89474","licence":"CVE Terms of Use","modified":"2026-10-19T08:47:23.191Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89474","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89474","licence":"Public domain","modified":"2026-10-19T09:17:40.277Z"}],"updatedAt":"2026-11-25T22:59:38.031Z","epss":{"score":0.00173,"percentile":0.06983,"date":"2026-12-02T12:00:21.000Z"}}