{"id":"CVE-2026-89474","published":"2026-09-11T19:43:31Z","modified":"2026-10-19T08:47:23Z","title":"power: supply: bq256xx: drain usb_work before freeing the charger","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00173,"percentile":0.06635,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/9dcfdf6c598301b278f0b3490eb2bf4f600524e2","tags":[]},{"url":"https://git.kernel.org/stable/c/fd08d4dbbec07a44f01b0ddb041912be0dc88f8c","tags":[]},{"url":"https://git.kernel.org/stable/c/2cfb59dc9df8b5ebdd95e3d874a7f4690cee2bc8","tags":[]},{"url":"https://git.kernel.org/stable/c/9a467bd1e6811011026ad4c8de701b940d88a00c","tags":[]},{"url":"https://git.kernel.org/stable/c/9e1aba34df9a87d53460888e05718717c0f69343","tags":[]},{"url":"https://git.kernel.org/stable/c/c8addb842ae8dcf69c15fc976e33e3bd538a41d7","tags":[]},{"url":"https://git.kernel.org/stable/c/2dd6cd823777bea6d9a880a12a92a73ec76aee0b","tags":[]}],"priority":{"score":1.3,"factors":[{"name":"EPSS percentile","points":1.33}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 32e4978bb920d047fe5de3ea42d176f267c01f63, < 9dcfdf6c598301b278f0b3490eb2bf4f600524e2",">= 32e4978bb920d047fe5de3ea42d176f267c01f63, < fd08d4dbbec07a44f01b0ddb041912be0dc88f8c",">= 32e4978bb920d047fe5de3ea42d176f267c01f63, < 2cfb59dc9df8b5ebdd95e3d874a7f4690cee2bc8",">= 32e4978bb920d047fe5de3ea42d176f267c01f63, < 9a467bd1e6811011026ad4c8de701b940d88a00c",">= 32e4978bb920d047fe5de3ea42d176f267c01f63, < 9e1aba34df9a87d53460888e05718717c0f69343",">= 32e4978bb920d047fe5de3ea42d176f267c01f63, < c8addb842ae8dcf69c15fc976e33e3bd538a41d7",">= 32e4978bb920d047fe5de3ea42d176f267c01f63, < 2dd6cd823777bea6d9a880a12a92a73ec76aee0b"]},{"vendor":"Linux","product":"Linux","versions":["5.12"]}],"euvd":{"id":"EUVD-2026-76380","exploited":false,"provenance":"source"}}