Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AD4614C150B for ; Sun, 18 Oct 2026 15:22:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792336966; cv=none; b=YBWJi11gaYSdGOsKw8nqPlSo/b321AdWxlpKlwnXxvpDQXt/K3dV2L6fgamYZLUGblT4qgEwsSLEBIXEAKVGE3oMOCQqvl0JaGWc+ShuTfh4a8v+1CHcQgqUhWbi060sSQETiVXPT2sXMHqCTxqhvMHtnwi04v7A7gxJyUhupDo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792336966; c=relaxed/simple; bh=aC4kRJP6QyyNK7T1PvgnByB3dQarisECmF7Mg426gJk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BRdCYtELjbMg0Zd5t+tXnd35jp4QnL/VvSpPH6b/Lb7eR9cz/K/26gFqnDini0U/1Oh3RLlMbJFSvXQiGuy+4/oOFERe2BTOyK2YC6jM/EKQ8Ko+QaQdRU5lpwzPysuJCkC7yf1B2HPISFoNB83qO3oO1YsxI67CIa4gS2USEpQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=JJHA0YKF; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="JJHA0YKF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 695EF1F000C4; Sun, 18 Oct 2026 15:22:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792336965; bh=ocKreNJX2w0lZrIMy2CLuajMWU5rz+TkWp8P5Tu0zqg=; h=From:To:Cc:Subject:Date:Reply-To; b=JJHA0YKFRZydwMXz7CzgVwWnE/ITVyJ+NnLeWnwZ1EcKli33dIU+jwKreYbUqUO9M tt6wpXit37YKBR0eAHQVcfVoz9CI15HdSZ5b9HjCUY52pGQsZ0I0fbpiS/5r4kb2Nf wABq6GSPhCbg7LInvB50v7ES3/PQaUDEly9/f+Bo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98496: net: airoha: npu: cancel wdt_work after releasing the WDT IRQ Date: Sun, 18 Oct 2026 17:16:00 +0200 Message-ID: <2026101817-CVE-2026-98496-9036@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2976; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=N+LwJ8SQxGCDit5yzIzWE1jYQo/YiIWYzElIDxq89nU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHrVeP1POKPf/MPefpvSHp432X2zQz4g7+NiFt/iN1 yoeHdVHHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRjHiGBRsPyc50YP9w4YW3 yVHRapdNK2OX72GYxXR6y6reNuVriwRtDZfG3nW59W2mGgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: net: airoha: npu: cancel wdt_work after releasing the WDT IRQ airoha_npu_remove() calls cancel_work_sync() on each core's wdt_work, but the watchdog IRQ that queues it is requested with devm_request_irq() and is freed only after .remove() returns. airoha_npu_wdt_handler() can therefore schedule_work() again once the cancel has returned. struct airoha_npu, which contains the work, is devm_kzalloc()'d and is freed in that same unwind, so the late work dereferences freed memory. Register the work with devm_work_autocancel() before devm_request_irq() and drop .remove(). Devres runs in reverse order, so the IRQ is freed before cancel_work_sync(), including when probe fails. A cancel left in .remove() cannot get that order. Initializing the work first also stops a pending watchdog interrupt from queuing an uninitialized work item. Probe currently calls INIT_WORK() only after devm_request_irq(). This issue was identified during our ongoing static-analysis research while reviewing kernel code. The Linux kernel CVE team has assigned CVE-2026-98496 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit 23290c7bc190def4e1ca61610992d9b7c32e33f3 and fixed in 6.18.55 with commit aca91d8fa0ecbc990ebf9a688c684dda78a43c00 Issue introduced in 6.15 with commit 23290c7bc190def4e1ca61610992d9b7c32e33f3 and fixed in 7.2.9 with commit da9d42531f3a6dfea2e9c775b62a46185dbf280a Issue introduced in 6.15 with commit 23290c7bc190def4e1ca61610992d9b7c32e33f3 and fixed in 7.3-rc5 with commit 4bdee8060d1e4581624e68fbd369b1afb14df4bc Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-98496 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/net/ethernet/airoha/airoha_npu.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/aca91d8fa0ecbc990ebf9a688c684dda78a43c00 https://git.kernel.org/stable/c/da9d42531f3a6dfea2e9c775b62a46185dbf280a https://git.kernel.org/stable/c/4bdee8060d1e4581624e68fbd369b1afb14df4bc