{"id":"CVE-2026-98496","revision":"54d49168a28e4c87a0ac369961d105cb","records":[{"revision":"54d49168a28e4c87a0ac369961d105cb","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-98496","aliases":[],"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.","state":0,"publishedAt":"2026-10-18T15:16:27.545+00:00","modifiedAt":"2026-10-19T09:20:33.996+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/ethernet/airoha/airoha_npu.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"23290c7bc190def4e1ca61610992d9b7c32e33f3\",\n                            \"lessThan\": \"aca91d8fa0ecbc990ebf9a688c684dda78a43c00\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"23290c7bc190def4e1ca61610992d9b7c32e33f3\",\n                            \"lessThan\": \"da9d42531f3a6dfea2e9c775b62a46185dbf280a\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"23290c7bc190def4e1ca61610992d9b7c32e33f3\",\n                            \"lessThan\": \"4bdee8060d1e4581624e68fbd369b1afb14df4bc\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/ethernet/airoha/airoha_npu.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.15\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.15\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.55\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.9\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/aca91d8fa0ecbc990ebf9a688c684dda78a43c00","https://git.kernel.org/stable/c/da9d42531f3a6dfea2e9c775b62a46185dbf280a","https://git.kernel.org/stable/c/4bdee8060d1e4581624e68fbd369b1afb14df4bc"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98496","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-98496","identifiers":["CVE-2026-98496"]},"retained":false,"historicalAffected":[]}],"coverage":[]}