{"id":"CVE-2026-98496","aliases":["CVE-2026-98496"],"related":[],"kind":"vulnerability","state":"published","title":"net: airoha: npu: cancel wdt_work after releasing the WDT IRQ","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: airoha: npu: cancel wdt_work after releasing the WDT IRQ\n\nairoha_npu_remove() calls cancel_work_sync() on each core's wdt_work,\nbut the watchdog IRQ that queues it is requested with devm_request_irq()\nand is freed only after .remove() returns.  airoha_npu_wdt_handler() can\ntherefore schedule_work() again once the cancel has returned.  struct\nairoha_npu, which contains the work, is devm_kzalloc()'d and is freed in\nthat same unwind, so the late work dereferences freed memory.\n\nRegister the work with devm_work_autocancel() before devm_request_irq()\nand drop .remove().  Devres runs in reverse order, so the IRQ is freed\nbefore cancel_work_sync(), including when probe fails.  A cancel left in\n.remove() cannot get that order.  Initializing the work first also stops\na pending watchdog interrupt from queuing an uninitialized work item.\nProbe currently calls INIT_WORK() only after devm_request_irq().\n\nThis issue was identified during our ongoing static-analysis research\nwhile reviewing kernel code.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: airoha: npu: cancel wdt_work after releasing the WDT IRQ\n\nairoha_npu_remove() calls cancel_work_sync() on each core's wdt_work,\nbut the watchdog IRQ that queues it is requested with devm_request_irq()\nand is freed only after .remove() returns.  airoha_npu_wdt_handler() can\ntherefore schedule_work() again once the cancel has returned.  struct\nairoha_npu, which contains the work, is devm_kzalloc()'d and is freed in\nthat same unwind, so the late work dereferences freed memory.\n\nRegister the work with devm_work_autocancel() before devm_request_irq()\nand drop .remove().  Devres runs in reverse order, so the IRQ is freed\nbefore cancel_work_sync(), including when probe fails.  A cancel left in\n.remove() cannot get that order.  Initializing the work first also stops\na pending watchdog interrupt from queuing an uninitialized work item.\nProbe currently calls INIT_WORK() only after devm_request_irq().\n\nThis issue was identified during our ongoing static-analysis research\nwhile reviewing kernel code.","source":"cvelist"}],"published":"2026-10-18T15:16:27.545Z","modified":"2026-10-19T10:19:02.170Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"23290c7bc190def4e1ca61610992d9b7c32e33f3","fixed":"aca91d8fa0ecbc990ebf9a688c684dda78a43c00","status":"affected"},{"type":"git","introduced":"23290c7bc190def4e1ca61610992d9b7c32e33f3","fixed":"da9d42531f3a6dfea2e9c775b62a46185dbf280a","status":"affected"},{"type":"git","introduced":"23290c7bc190def4e1ca61610992d9b7c32e33f3","fixed":"4bdee8060d1e4581624e68fbd369b1afb14df4bc","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"6.18.55","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.9","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/aca91d8fa0ecbc990ebf9a688c684dda78a43c00","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/da9d42531f3a6dfea2e9c775b62a46185dbf280a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4bdee8060d1e4581624e68fbd369b1afb14df4bc","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98496","url":"https://www.cve.org/CVERecord?id=CVE-2026-98496","licence":"CVE Terms of Use","modified":"2026-10-19T09:20:33.996Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98496","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98496","licence":"Public domain","modified":"2026-10-19T10:19:02.170Z"}],"updatedAt":"2026-11-25T22:59:45.201Z","epss":{"score":0.00198,"percentile":0.10045,"date":"2026-12-01T12:00:22.000Z"}}