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 2C3BE457E5A for ; Sun, 18 Oct 2026 16:17:14 +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=1792340236; cv=none; b=oog9t+mBhXI0U51V+QuQkerW3SzDEGq/4QNPqe1qWveN1iUggm0tHmdC7WYsAcp+kcub1fQBllVPXasurnnstTyztCVqfb+lEl9F9LvzLfsWx8IqfyF534H9ueeKcau8FqTBJOkqbMEZAEGx7qgNaud+j5LMTe2MZMlpi/RNizQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792340236; c=relaxed/simple; bh=BPwoQSzRWFQQJWZwvOZasvpqsoTeGR40ibOg3wCtU0o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qDoifxG8kMFSzffycEJQtM7ek7vU+pAUxMUMPkCLiwz9RvEmh2m1TQwm/iGsx5LKQmWH5FsaUKNwLvtuZ8E67q8XD8mH7y3KGKJgoZwhZRFFSMJ4cqsFznKuwSg0m+qXaBD32oKDhG8WhOsod0upid76nuMeVK3AfnYlHBX6KQ0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Uxu/EShT; 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="Uxu/EShT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BA34C1F000C4; Sun, 18 Oct 2026 16:17:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792340234; bh=arP4+yHONxDwoM8Wf3ddIKAH2ZD92wBRcvtoeC2JITw=; h=From:To:Cc:Subject:Date:Reply-To; b=Uxu/EShTkd9//oD9LNXlLrUL5X4weCIMCdYVhMNKBo+SNINeI7rmaPzybrehjz0Vw rS+ZzSesmO1Ame5LEit7SqqNDbLQ+FGpb4b5GU37CfdhW+We39aR3KLibvgTxycI9b sXsb5ZewyvbRphwj75BJRrV5jmDHjfN4wWQH9VPk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98793: netfilter: bpf: reject invalid NAT manipulation types Date: Sun, 18 Oct 2026 17:46:08 +0200 Message-ID: <2026101823-CVE-2026-98793-c1ea@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=2828; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=++xHEUqO5Puf68MaZRiTfwkZltT7Spdz+0sQOcWdX/k=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXXoY/Cyr/zGvYwuVrJaKy6oABy/cNvQU2n9f+Xxusz zhdUaezI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZy6QrDHN7+B6b59hLROblH ZC5u6T/8vO2nI8Nc0esBav63i2uVns++v+jHm5YZeqXlAA== 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: reject invalid NAT manipulation types As bpf_ct_set_nat_info() is not validating the NAT manipulation type a wrong value can be passed directly to nf_nat_setup_info(). This triggers the WARN_ON() at nf_nat_setup_info() and if panic_on_warn isn't set, then IPS_SRC_NAT_DONE is set without adding nat_bysource and conntrack cleanup tries to unlink an uninitialized hlist node. Fix this by checking that NAT manipulation type is correct before calling nf_nat_setup_info(). In addition, if the WARN_ON is hit, return NF_DROP instead of continuing with the processing to avoid similar situations in the future. The Linux kernel CVE team has assigned CVE-2026-98793 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1 with commit 0fabd2aa199faeb8754aee94658f2c48ccb2c8c3 and fixed in 6.12.113 with commit ea777dc90ab37e64fa4b92f6fcf3b5edcef5e058 Issue introduced in 6.1 with commit 0fabd2aa199faeb8754aee94658f2c48ccb2c8c3 and fixed in 6.18.56 with commit f6143ae109df56d51d5536e813deb19eee7a6205 Issue introduced in 6.1 with commit 0fabd2aa199faeb8754aee94658f2c48ccb2c8c3 and fixed in 7.2.10 with commit 58108f05b0502448f6bb612ee2eccc63bd6449cb Issue introduced in 6.1 with commit 0fabd2aa199faeb8754aee94658f2c48ccb2c8c3 and fixed in 7.3-rc6 with commit 16d464013ec2267b00a83f4bfbb97b3ecc63bfa7 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-98793 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_nat_bpf.c net/netfilter/nf_nat_core.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/ea777dc90ab37e64fa4b92f6fcf3b5edcef5e058 https://git.kernel.org/stable/c/f6143ae109df56d51d5536e813deb19eee7a6205 https://git.kernel.org/stable/c/58108f05b0502448f6bb612ee2eccc63bd6449cb https://git.kernel.org/stable/c/16d464013ec2267b00a83f4bfbb97b3ecc63bfa7