Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 D101B36921E for ; Thu, 2 Apr 2026 11:41:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775130068; cv=none; b=ROroqr9JGuEVEvp8+/ijjjJOgZcMyMb4D85A+dYs+cVslcyotZKaUSdvJOfNGtUBHKLlhB3FxZ2S1WBwxEz2mhLzFWioAOBxD5LGREy8GvWUqjwt2lzVVj0TKFiR/8OCEptWssmbzyf+G/RsElVBdI24SjT3C9kje0/jbWI8mf8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775130068; c=relaxed/simple; bh=ylooYtUaJ8+tMwt1Xcc50fZHSz/5kShWh7zT6zPgP1w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pFnUlNPvDza/mlrIzI6DPksvBGbEqc4lA2CCm8Qh41b6fRD6qQcCtlmW7tM0+HnkNhE0t/QiprtcAED9/YYyhTi6WinrbcgOPoHhr3dC+w97/9riMfsH1CtUywWAF22+LViIo9Cx+1RiosjxPpzO+HQ3zr/0WfO32KFBdlzy4AA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vZKu8T5C; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="vZKu8T5C" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E7530C116C6; Thu, 2 Apr 2026 11:41:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1775130068; bh=ylooYtUaJ8+tMwt1Xcc50fZHSz/5kShWh7zT6zPgP1w=; h=From:To:Cc:Subject:Date:Reply-To:From; b=vZKu8T5CYHXnUMSXuMg98qglbMr6JwpAvo+J803E+Sj0cMZM66gHKcHceXrtZww4A 7RuX95lCPzsOIkmWL2xlHk+kuQ+qBhZw5nFyyOa11zL8CyP+HbaoTe5t88J5tMe6FO JqJ0AMP7MmsxtGUctdEQTolYTX+eMwiFPdjdIW4U= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23412: netfilter: bpf: defer hook memory release until rcu readers are done Date: Thu, 2 Apr 2026 13:41:02 +0200 Message-ID: <2026040201-CVE-2026-23412-4daa@gregkh> X-Mailer: git-send-email 2.53.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=2874; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xxiFGf9wVqp9ijRF0lt3tl/EKnvF/FTz/7SM3fBFDvQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnnQs+aN5Y6b+xLObX9+fzo4AUzTKYayiaZz4y7NJlf/ vrCM2eqOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAir6sY5incD5x+4FJT8BuJ npPXwhW6asysvRnmu6hs/rmRyyb5zxLL/ef3Wri//82cCQA= 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: netfilter: bpf: defer hook memory release until rcu readers are done Yiming Qian reports UaF when concurrent process is dumping hooks via nfnetlink_hooks: BUG: KASAN: slab-use-after-free in nfnl_hook_dump_one.isra.0+0xe71/0x10f0 Read of size 8 at addr ffff888003edbf88 by task poc/79 Call Trace: nfnl_hook_dump_one.isra.0+0xe71/0x10f0 netlink_dump+0x554/0x12b0 nfnl_hook_get+0x176/0x230 [..] Defer release until after concurrent readers have completed. The Linux kernel CVE team has assigned CVE-2026-23412 to this issue. Affected and fixed versions =========================== Issue introduced in 6.4 with commit 84601d6ee68ae820dec97450934797046d62db4b and fixed in 6.6.130 with commit d016c216bc75c45128160593a77b864a04dbe7c0 Issue introduced in 6.4 with commit 84601d6ee68ae820dec97450934797046d62db4b and fixed in 6.12.78 with commit cb2bf5efdb02a2a59faf603604a1066e8266f349 Issue introduced in 6.4 with commit 84601d6ee68ae820dec97450934797046d62db4b and fixed in 6.18.20 with commit c25e0dec366ae99b7264324ce3c7cbaea34691f9 Issue introduced in 6.4 with commit 84601d6ee68ae820dec97450934797046d62db4b and fixed in 6.19.10 with commit 54244d54a971c26a0cd0a9073460ff71f3c51b32 Issue introduced in 6.4 with commit 84601d6ee68ae820dec97450934797046d62db4b and fixed in 7.0-rc5 with commit 24f90fa3994b992d1a09003a3db2599330a5232a 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-23412 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: net/netfilter/nf_bpf_link.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/d016c216bc75c45128160593a77b864a04dbe7c0 https://git.kernel.org/stable/c/cb2bf5efdb02a2a59faf603604a1066e8266f349 https://git.kernel.org/stable/c/c25e0dec366ae99b7264324ce3c7cbaea34691f9 https://git.kernel.org/stable/c/54244d54a971c26a0cd0a9073460ff71f3c51b32 https://git.kernel.org/stable/c/24f90fa3994b992d1a09003a3db2599330a5232a