{"api_version":"1","generated_at":"2026-09-12T10:56:36+00:00","cve":"CVE-2026-89474","urls":{"html":"https://cve.report/CVE-2026-89474","api":"https://cve.report/api/cve/CVE-2026-89474.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-89474","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-89474"},"summary":{"title":"power: supply: bq256xx: drain usb_work before freeing the charger","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-11 20:19:28","updated_at":"2026-09-11 20:19:28"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/9e1aba34df9a87d53460888e05718717c0f69343","name":"https://git.kernel.org/stable/c/9e1aba34df9a87d53460888e05718717c0f69343","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2dd6cd823777bea6d9a880a12a92a73ec76aee0b","name":"https://git.kernel.org/stable/c/2dd6cd823777bea6d9a880a12a92a73ec76aee0b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9a467bd1e6811011026ad4c8de701b940d88a00c","name":"https://git.kernel.org/stable/c/9a467bd1e6811011026ad4c8de701b940d88a00c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c8addb842ae8dcf69c15fc976e33e3bd538a41d7","name":"https://git.kernel.org/stable/c/c8addb842ae8dcf69c15fc976e33e3bd538a41d7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-89474","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89474","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 32e4978bb920d047fe5de3ea42d176f267c01f63 9a467bd1e6811011026ad4c8de701b940d88a00c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 32e4978bb920d047fe5de3ea42d176f267c01f63 9e1aba34df9a87d53460888e05718717c0f69343 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 32e4978bb920d047fe5de3ea42d176f267c01f63 c8addb842ae8dcf69c15fc976e33e3bd538a41d7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 32e4978bb920d047fe5de3ea42d176f267c01f63 2dd6cd823777bea6d9a880a12a92a73ec76aee0b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.12","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.12 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.109 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.50 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.4 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/power/supply/bq256xx_charger.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"9a467bd1e6811011026ad4c8de701b940d88a00c","status":"affected","version":"32e4978bb920d047fe5de3ea42d176f267c01f63","versionType":"git"},{"lessThan":"9e1aba34df9a87d53460888e05718717c0f69343","status":"affected","version":"32e4978bb920d047fe5de3ea42d176f267c01f63","versionType":"git"},{"lessThan":"c8addb842ae8dcf69c15fc976e33e3bd538a41d7","status":"affected","version":"32e4978bb920d047fe5de3ea42d176f267c01f63","versionType":"git"},{"lessThan":"2dd6cd823777bea6d9a880a12a92a73ec76aee0b","status":"affected","version":"32e4978bb920d047fe5de3ea42d176f267c01f63","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/power/supply/bq256xx_charger.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.12"},{"lessThan":"5.12","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.109","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.50","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.109","versionStartIncluding":"5.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.50","versionStartIncluding":"5.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.4","versionStartIncluding":"5.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc1","versionStartIncluding":"5.12","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-09-11T19:43:31.882Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/9a467bd1e6811011026ad4c8de701b940d88a00c"},{"url":"https://git.kernel.org/stable/c/9e1aba34df9a87d53460888e05718717c0f69343"},{"url":"https://git.kernel.org/stable/c/c8addb842ae8dcf69c15fc976e33e3bd538a41d7"},{"url":"https://git.kernel.org/stable/c/2dd6cd823777bea6d9a880a12a92a73ec76aee0b"}],"title":"power: supply: bq256xx: drain usb_work before freeing the charger","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-89474","datePublished":"2026-09-11T19:43:31.882Z","dateReserved":"2026-09-11T19:38:34.710Z","dateUpdated":"2026-09-11T19:43:31.882Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-11 20:19:28","lastModifiedDate":"2026-09-11 20:19:28","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"89474","Ordinal":"1","Title":"power: supply: bq256xx: drain usb_work before freeing the charge","CVE":"CVE-2026-89474","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"89474","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"power: supply: bq256xx: drain usb_work before freeing the charge"}]}}}