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 74B013B8BBF for ; Wed, 25 Mar 2026 10:34:13 +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=1774434853; cv=none; b=RNyG3RouXEoVqwHWZgqAW/taEdayfpB9vgNAAe5yNlJxEwQ9K17jBIZZiINbUzdhfJQmMAnTpqM1svuIdWHceLwy0Q0JsKjdp9e71OnKkDrSXefc6y7iDMeUw5xwlM2klHPnNNG05Is6lJNBwG25DR6w3hIMpFDDg4BppI6stNI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434853; c=relaxed/simple; bh=UPWVVLP/q384HyUqdPGzXVez33pfe6Y+KSoKe3sMHu4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FueC+hqMiv6tmtMLaMZh6k+szf9th66y4lm899t5q5GmVYKwdj07TAno4zgGB+dpCqx7Gmmf+ggiKbu6eB+bscoFmEJ/G4c+3MSeqz+huV4/fXnyFFhQQlyxzpjq1ofqMMeuc6uoXYDA71HSDbfKOCagAQYk/LNwOqU3SVlOYQI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=S6Sn/7RX; 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="S6Sn/7RX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EC726C4CEF7; Wed, 25 Mar 2026 10:34:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774434853; bh=UPWVVLP/q384HyUqdPGzXVez33pfe6Y+KSoKe3sMHu4=; h=From:To:Cc:Subject:Date:Reply-To:From; b=S6Sn/7RXQF4+wUdQX/6/FeBS+vyoYVqMeonbfQiy+6WHpLpCdl6zwIz+opoHzmbav ekHxuHVqYHNzF/LH5DHQPEFNoGLM8VvAqZRJ7dV9uD3UizogIWQ4CWwCWLt4GmdfzR o09SYN+OxINns0FxZbeubA8lgnvFefjOqYD19ixs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23392: netfilter: nf_tables: release flowtable after rcu grace period on error Date: Wed, 25 Mar 2026 11:32:50 +0100 Message-ID: <2026032548-CVE-2026-23392-fd9d@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=3422; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=j9ESrr67qzbrxRelYN3oTwe3lOrLXCRo9jq86tPN7wM=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmHd15guGobvuNG3CVJT7sL5VGaCrtCHN1ctedwrPV/u 6zzm92EjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE9gQLk4BmIjgWobZLD+Nma3YV8q6dLS8 uRLceTGzwPIWw/w62QdVm9ZU+5X5C08R4Q4r60qeuhsA 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: nf_tables: release flowtable after rcu grace period on error Call synchronize_rcu() after unregistering the hooks from error path, since a hook that already refers to this flowtable can be already registered, exposing this flowtable to packet path and nfnetlink_hook control plane. This error path is rare, it should only happen by reaching the maximum number hooks or by failing to set up to hardware offload, just call synchronize_rcu(). There is a check for already used device hooks by different flowtable that could result in EEXIST at this late stage. The hook parser can be updated to perform this check earlier to this error path really becomes rarely exercised. Uncovered by KASAN reported as use-after-free from nfnetlink_hook path when dumping hooks. The Linux kernel CVE team has assigned CVE-2026-23392 to this issue. Affected and fixed versions =========================== Issue introduced in 4.16 with commit 3b49e2e94e6ebb8b23d0955d9e898254455734f8 and fixed in 6.1.167 with commit d2632de96ccb066e0131ad1494241b9c281c60b8 Issue introduced in 4.16 with commit 3b49e2e94e6ebb8b23d0955d9e898254455734f8 and fixed in 6.6.130 with commit adee3436ccd29f1e514c028899e400cbc6d84065 Issue introduced in 4.16 with commit 3b49e2e94e6ebb8b23d0955d9e898254455734f8 and fixed in 6.12.78 with commit 7e3955b282eae20d61c75e499c75eade51c20060 Issue introduced in 4.16 with commit 3b49e2e94e6ebb8b23d0955d9e898254455734f8 and fixed in 6.18.20 with commit c8092edb9a11f20f95ccceeb9422b7dd0df337bd Issue introduced in 4.16 with commit 3b49e2e94e6ebb8b23d0955d9e898254455734f8 and fixed in 6.19.10 with commit e78a2dcc7cfb87b64a631441ca7681492b347ef6 Issue introduced in 4.16 with commit 3b49e2e94e6ebb8b23d0955d9e898254455734f8 and fixed in 7.0-rc5 with commit d73f4b53aaaea4c95f245e491aa5eeb8a21874ce 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-23392 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_tables_api.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/d2632de96ccb066e0131ad1494241b9c281c60b8 https://git.kernel.org/stable/c/adee3436ccd29f1e514c028899e400cbc6d84065 https://git.kernel.org/stable/c/7e3955b282eae20d61c75e499c75eade51c20060 https://git.kernel.org/stable/c/c8092edb9a11f20f95ccceeb9422b7dd0df337bd https://git.kernel.org/stable/c/e78a2dcc7cfb87b64a631441ca7681492b347ef6 https://git.kernel.org/stable/c/d73f4b53aaaea4c95f245e491aa5eeb8a21874ce