{"id":"CVE-2026-89465","aliases":["CVE-2026-89465"],"related":[],"kind":"vulnerability","state":"published","title":"power: supply: rt9455: quiesce delayed work before teardown","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: rt9455: quiesce delayed work before teardown\n\nThe threaded IRQ handler can queue pwr_rdy_work,\nmax_charging_time_work and batt_presence_work.  pwr_rdy_work and\nbatt_presence_work can also queue max_charging_time_work, while\nbatt_presence_work can requeue itself.\n\nrt9455_remove() cancels max_charging_time_work before\nbatt_presence_work.  The latter can therefore queue\nmax_charging_time_work after it has already been cancelled:\n\n  rt9455_remove()                   workqueue\n    cancel pwr_rdy_work\n    cancel max_charging_time_work\n                                      batt_presence_work queues\n                                        max_charging_time_work\n    cancel batt_presence_work\n    return\n    devres frees rt9455_info\n                                      max_charging_time_work dereferences\n                                        rt9455_info\n\nThe IRQ also remains registered until devres cleanup and can queue more\nwork after any of the cancellation calls.  If rt9455_hw_init() fails\nafter the IRQ has been requested, probe returns without cancelling work\nthat may already have been queued.  A pending callback can then access\nrt9455_info after it has been freed.\n\nRegister rt9455_cancel_all_delayed_works() through\ndevm_add_action_or_reset() right after devm_power_supply_register().\ndevres invokes the action in reverse registration order, after the\nmanaged IRQ has been freed and before rt9455_info is released, so the\ndelayed works are drained in both rt9455_remove() and the probe error\npath.  Cancel pwr_rdy_work and batt_presence_work before\nmax_charging_time_work because both can queue the latter.\n\nThis issue was found by an in-house static analysis tool.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\npower: supply: rt9455: quiesce delayed work before teardown\n\nThe threaded IRQ handler can queue pwr_rdy_work,\nmax_charging_time_work and batt_presence_work.  pwr_rdy_work and\nbatt_presence_work can also queue max_charging_time_work, while\nbatt_presence_work can requeue itself.\n\nrt9455_remove() cancels max_charging_time_work before\nbatt_presence_work.  The latter can therefore queue\nmax_charging_time_work after it has already been cancelled:\n\n  rt9455_remove()                   workqueue\n    cancel pwr_rdy_work\n    cancel max_charging_time_work\n                                      batt_presence_work queues\n                                        max_charging_time_work\n    cancel batt_presence_work\n    return\n    devres frees rt9455_info\n                                      max_charging_time_work dereferences\n                                        rt9455_info\n\nThe IRQ also remains registered until devres cleanup and can queue more\nwork after any of the cancellation calls.  If rt9455_hw_init() fails\nafter the IRQ has been requested, probe returns without cancelling work\nthat may already have been queued.  A pending callback can then access\nrt9455_info after it has been freed.\n\nRegister rt9455_cancel_all_delayed_works() through\ndevm_add_action_or_reset() right after devm_power_supply_register().\ndevres invokes the action in reverse registration order, after the\nmanaged IRQ has been freed and before rt9455_info is released, so the\ndelayed works are drained in both rt9455_remove() and the probe error\npath.  Cancel pwr_rdy_work and batt_presence_work before\nmax_charging_time_work because both can queue the latter.\n\nThis issue was found by an in-house static analysis tool.","source":"cvelist"}],"published":"2026-09-11T19:43:25.950Z","modified":"2026-10-30T13:20:16.893Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.4,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e86d69dd786e94046b8f5be7df1b9a8226a40b2a","fixed":"3def4721431f3e374e1e3124f4d32bb07ae8df1c","status":"affected"},{"type":"git","introduced":"e86d69dd786e94046b8f5be7df1b9a8226a40b2a","fixed":"c8645073876cbb1cdc8c2b995d093d08facfb187","status":"affected"},{"type":"git","introduced":"e86d69dd786e94046b8f5be7df1b9a8226a40b2a","fixed":"c09a2e4f8f101a44bd786a31696c958473469be0","status":"affected"},{"type":"git","introduced":"e86d69dd786e94046b8f5be7df1b9a8226a40b2a","fixed":"442c60c08ec23ac45da0a58877cab05e0a58f4ea","status":"affected"},{"type":"git","introduced":"e86d69dd786e94046b8f5be7df1b9a8226a40b2a","fixed":"df67c7a2fff8414aa766b8cd5ffe11ec1ca27d02","status":"affected"},{"type":"git","introduced":"e86d69dd786e94046b8f5be7df1b9a8226a40b2a","fixed":"1b9978433c61a9b46e48832a1ebceee1cf5c9eb4","status":"affected"},{"type":"git","introduced":"e86d69dd786e94046b8f5be7df1b9a8226a40b2a","fixed":"7323e562f6961e4b7bce3225cde4ecbc78260deb","status":"affected"},{"type":"git","introduced":"e86d69dd786e94046b8f5be7df1b9a8226a40b2a","fixed":"3e7a1ebc32fad5a558254a478efd401c17a24381","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.2","status":"unaffected"},{"type":"semver","introduced":"5.10.273","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","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/3def4721431f3e374e1e3124f4d32bb07ae8df1c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c8645073876cbb1cdc8c2b995d093d08facfb187","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c09a2e4f8f101a44bd786a31696c958473469be0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/442c60c08ec23ac45da0a58877cab05e0a58f4ea","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/df67c7a2fff8414aa766b8cd5ffe11ec1ca27d02","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1b9978433c61a9b46e48832a1ebceee1cf5c9eb4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7323e562f6961e4b7bce3225cde4ecbc78260deb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3e7a1ebc32fad5a558254a478efd401c17a24381","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89465","url":"https://www.cve.org/CVERecord?id=CVE-2026-89465","licence":"CVE Terms of Use","modified":"2026-10-30T12:31:47.294Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89465","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89465","licence":"Public domain","modified":"2026-10-30T13:20:16.893Z"}],"updatedAt":"2026-11-25T22:59:38.028Z","epss":{"score":0.00196,"percentile":0.0529,"date":"2026-11-30T12:00:22.000Z"}}