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 16DFF3CFF4C for ; Mon, 10 Aug 2026 12:10:51 +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=1786363852; cv=none; b=cp2SjxMgyQelIu6+z4x1vlP9D6PD8814noWfcWLt3+F6loVROaQqFp/9vYid7qbb1IYC887xKN+QPmL6sRFbNbjY/lpm9tCKfA+BvLUYBgsGAgyA2vXGlojYcHcUFuv5RIUzBde3HR4EnZtmFicflqIpz2XNNHCTXDyseswmOd4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786363852; c=relaxed/simple; bh=Bc3Gd50E88LDzRNAtqvlr8rCVK85FDG15WaGyKgB4ig=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=C+p9KWWamm+/YJdN/JreSNKGX1pbHeyYOXGNTp2skzsHm4qY3x09sSpLd8mO3B9A0N0JZXuv/U2rbFpAZzBRUhu9mdMRktBoMnnCODe8H28yLas6dTHcL7dEIn79q7pbshqSUHMf08i0dptPtYlBCKltE0GMUB0IbRXXRiKHeaE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qGb5cc3h; 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="qGb5cc3h" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8D25E1F000E9; Mon, 10 Aug 2026 12:10:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786363851; bh=AbKBdglIRDyOMRumP2rEgVD4SZ8p7VSbxzF3vCwoQsk=; h=From:To:Cc:Subject:Date:Reply-To; b=qGb5cc3hv+0+PFhtj/fGc/n6Ans60GaQHfuVW7rgDMokZnjJQGct6cnBKp+USH9JF yqlS4Qn6fbFaQc19R6qJhmayNk5O2/yN+f6+rP2PyCzD/QX52Y4P3qH0VGxGciXb7/ tXhdkUjyD0Q8noBYDVioWVyqmZF8tBM1xjAh4qxg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-68332: net: airoha: Fix potential use-after-free in airoha_ppe_deinit() Date: Mon, 10 Aug 2026 14:00:49 +0200 Message-ID: <2026081035-CVE-2026-68332-c88c@gregkh> X-Mailer: git-send-email 2.55.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=2803; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=FSONwDpn82yW+8NtHs0UiSLL7E/sJ74TGDISUcya84M=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmVe9YX7H0Tw6B+7NfRn/tYf9VyXJqrof1gk/MMH+YJx X1brMXKO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiO9oY5inZaK+f8rrs+KEP H0Nb+p/krlyuOIVhfqqNpV5H9LGre/lKtxzYrvfJfNXFtwA= 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: Fix potential use-after-free in airoha_ppe_deinit() airoha_ppe_deinit() replaces the NPU pointer with NULL via rcu_replace_pointer() but does not wait for existing RCU readers to exit before calling ppe_deinit() and airoha_npu_put(). This can cause a use-after-free if a reader in an RCU read-side critical section still holds a reference to the NPU when it is freed. The init path (airoha_ppe_init) already calls synchronize_rcu() after rcu_assign_pointer(), but the deinit path introduced in commit 6abcf751bc08 ("net: airoha: Fix schedule while atomic in airoha_ppe_deinit()") omitted the matching barrier when switching from rcu_read_lock()/rcu_dereference() to rcu_replace_pointer(). Add synchronize_rcu() before ppe_deinit() to ensure all existing RCU readers have completed before the NPU resources are released. The Linux kernel CVE team has assigned CVE-2026-68332 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18.6 with commit 72f93dc6d1a6b157e0c3d247085c74935893cca0 and fixed in 6.18.42 with commit 46e3bed4b071095ecc9384a7b349e1908728531f Issue introduced in 6.19 with commit 6abcf751bc084804a9e5b3051442e8a2ce67f48a and fixed in 7.1.6 with commit ad28c4f9e0eae4993cb3fde3e7cea330acd8b97c Issue introduced in 6.19 with commit 6abcf751bc084804a9e5b3051442e8a2ce67f48a and fixed in 7.2-rc5 with commit 2484568a335cd7bda951c75b3a7d95ea36161ae7 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-68332 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_ppe.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/46e3bed4b071095ecc9384a7b349e1908728531f https://git.kernel.org/stable/c/ad28c4f9e0eae4993cb3fde3e7cea330acd8b97c https://git.kernel.org/stable/c/2484568a335cd7bda951c75b3a7d95ea36161ae7