{"id":"CVE-2026-98496","state":"PUBLISHED","title":"net: airoha: npu: cancel wdt_work after releasing the WDT IRQ","description":"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.","publishedAt":"2026-10-18T15:16:27.545Z","updatedAt":"2026-10-19T09:20:33.996Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"23290c7bc190def4e1ca61610992d9b7c32e33f3","status":"affected","lessThan":"aca91d8fa0ecbc990ebf9a688c684dda78a43c00","versionType":"git"},{"version":"23290c7bc190def4e1ca61610992d9b7c32e33f3","status":"affected","lessThan":"da9d42531f3a6dfea2e9c775b62a46185dbf280a","versionType":"git"},{"version":"23290c7bc190def4e1ca61610992d9b7c32e33f3","status":"affected","lessThan":"4bdee8060d1e4581624e68fbd369b1afb14df4bc","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/airoha/airoha_npu.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.18.55","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.9","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/airoha/airoha_npu.c"]}],"references":["https://git.kernel.org/stable/c/aca91d8fa0ecbc990ebf9a688c684dda78a43c00","https://git.kernel.org/stable/c/da9d42531f3a6dfea2e9c775b62a46185dbf280a","https://git.kernel.org/stable/c/4bdee8060d1e4581624e68fbd369b1afb14df4bc"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98496.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98496","state":"PUBLISHED","datePublished":"2026-10-18T15:16:27.545Z","dateUpdated":"2026-10-19T09:20:33.996Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.353Z"},"containers":{"cna":{"title":"net: airoha: npu: cancel wdt_work after releasing the WDT IRQ","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"23290c7bc190def4e1ca61610992d9b7c32e33f3","status":"affected","lessThan":"aca91d8fa0ecbc990ebf9a688c684dda78a43c00","versionType":"git"},{"version":"23290c7bc190def4e1ca61610992d9b7c32e33f3","status":"affected","lessThan":"da9d42531f3a6dfea2e9c775b62a46185dbf280a","versionType":"git"},{"version":"23290c7bc190def4e1ca61610992d9b7c32e33f3","status":"affected","lessThan":"4bdee8060d1e4581624e68fbd369b1afb14df4bc","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/airoha/airoha_npu.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.18.55","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.9","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/airoha/airoha_npu.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/aca91d8fa0ecbc990ebf9a688c684dda78a43c00"},{"url":"https://git.kernel.org/stable/c/da9d42531f3a6dfea2e9c775b62a46185dbf280a"},{"url":"https://git.kernel.org/stable/c/4bdee8060d1e4581624e68fbd369b1afb14df4bc"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:20:33.996Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.18.55"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.2.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}