From mboxrd@z Thu Jan 1 00:00:00 1970 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 955153E1CEB for ; Wed, 3 Jun 2026 15:49:08 +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=1780501749; cv=none; b=PZp70fzr2bAWHaY1tF4FxaGcNdNCyHUxj/sG3pGBwYjR1UOyJqH8zUo5xHJfV/XJPNKhIPtrGarP/J8jV2VUhlI28vnCRF84qQ1Jaybx3Vw9CfE7aeu8YEMj167lD+QHsYLM4cBesNJgoDCdVoO3BufX35ka+8hD29xANaYJ/RA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780501749; c=relaxed/simple; bh=tFrHwK5P8DdRp5W9QJH+RsGc2wvRY6hslSHSvAt1snI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=Grn9iX0DnK1R0pFPrUBYvKHw2Qppk0UHA2U2wDfWcTX8d0X5oZ838F287W7FbI61hSvpSC+NUVEARngC5r8xe7hlpfGLXLOls7gxjZUPWrZBqb80SmhHsfYzI/L+6qHLU9pBOoA2pIVJnJGjcHlmwEmLNM2ei4QbvC1q9CPmJuc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=SPSzZVBe; 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="SPSzZVBe" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8E2E51F00893; Wed, 3 Jun 2026 15:49:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1780501748; bh=3Oc9MSXrWRyV/sMWNE6J0W+zCnJ1hXq9T8z7Uvgtb6A=; h=From:To:Cc:Subject:Date:Reply-To; b=SPSzZVBeOdPW2/Ue3MC8EhMyBQQA016OUwVfSyEDgof67Sltq+8vJ0E7Q1qOb5kFh EIs5mJraGiCdFQ1d+TNeryyFVLcLqcxcfAybAJIFFVAZBrPzaN1w5j+FPaFAQouuAX rCt70BOofZSWgrFou15LHXQd8t8kWYD+C2zPjvb0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46244: netfilter: nft_inner: Fix IPv6 inner_thoff desync Date: Wed, 3 Jun 2026 17:48:09 +0200 Message-ID: <2026060309-CVE-2026-46244-e8d7@gregkh> X-Mailer: git-send-email 2.54.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=3237; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=cQ2cMld237jhhocgbYWjxx2Gff9TFyYUUGThQaNAsAg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkKPjvZXnltXSvt+700n9mfV/n+lCfzi5IfeITdebjOd vPhbZs9OmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiAisY5pmf+jD53vFzvrf4 ZnpevMyZ8PK2LAfDgi0rrMuX37i299Nk3eUZrEeENzXMCgYA X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_inner: Fix IPv6 inner_thoff desync In nft_inner_parse_l2l3(), when processing inner IPv6 packets, ipv6_find_hdr() correctly computes the transport header offset traversing all extension headers, but the result is immediately overwritten with nhoff + sizeof(_ip6h) (40 bytes), which only accounts for the IPv6 base header. This creates a desync between inner_thoff (wrong — points to extension header start) and l4proto (correct — e.g., IPPROTO_TCP), enabling transport header forgery and potential firewall bypass. This issue affects stable versions from Linux 6.2. For comparison, the normal (non-inner) IPv6 path correctly preserves ipv6_find_hdr()'s result. Removing the incorrect overwrite ensures that ipv6_find_hdr()'s calculated transport header offset is preserved, thereby fixing the desynchronization. The Linux kernel CVE team has assigned CVE-2026-46244 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit 3a07327d10a09379315c844c63f27941f5081e0a and fixed in 6.6.142 with commit c161ad9157f5a0429b5ff94d9770faf3bf48d273 Issue introduced in 6.2 with commit 3a07327d10a09379315c844c63f27941f5081e0a and fixed in 6.12.92 with commit 870d59e2cf218e7418491e26bad768cb16654582 Issue introduced in 6.2 with commit 3a07327d10a09379315c844c63f27941f5081e0a and fixed in 6.18.34 with commit 689bbf48c1f45130086ae1c46ab83ea4c753c601 Issue introduced in 6.2 with commit 3a07327d10a09379315c844c63f27941f5081e0a and fixed in 7.0.11 with commit d0f98a3617f6ae5b1e95cde1e68e7ead4a1279ce Issue introduced in 6.2 with commit 3a07327d10a09379315c844c63f27941f5081e0a and fixed in 7.1-rc5 with commit b6a91f68ebfed9c38e0e9150f58a9b85da07181c 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-46244 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/nft_inner.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/c161ad9157f5a0429b5ff94d9770faf3bf48d273 https://git.kernel.org/stable/c/870d59e2cf218e7418491e26bad768cb16654582 https://git.kernel.org/stable/c/689bbf48c1f45130086ae1c46ab83ea4c753c601 https://git.kernel.org/stable/c/d0f98a3617f6ae5b1e95cde1e68e7ead4a1279ce https://git.kernel.org/stable/c/b6a91f68ebfed9c38e0e9150f58a9b85da07181c