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 092673859C3 for ; Thu, 25 Jun 2026 08:47:16 +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=1782377237; cv=none; b=j/MOAxFNQnBACq5STq5XXMLh8Bk+Bc0Od07nbArV5R0IUeqdVGud0DNg37J5aIYTdjnADkKnDhqtC61iFI/QGKysReq8r0c1Qa613mmAR/oBBLBqIpOJ2TaNHnw1w6QD6Od+ZD7iFYyB4LD5wMvkewe83doAsja+1x2UZUCxK0Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782377237; c=relaxed/simple; bh=wOwuApy1WGbYOpzycxMfe16hw1ZWyVdkciFM41Yf9UE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=aUFgY0EmKR3ne9sZqZNbdpxEK/IXWWPaiF1xJcRFOgDvEmarmbCBl8CfQ/ETC3E72C1p8eKFic639hzHzyItH7qNCgSo5IxVRfcVrzKHXDDgMu3lY+u7mbllhhpdLKFtko9LAmihlt2Ky0v9UVgjKZd8VNyDvNarzo4LOkOWVG8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=e4tF9oko; 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="e4tF9oko" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4CF251F000E9; Thu, 25 Jun 2026 08:47:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782377235; bh=Hco0kcK9ft6bTM/vovzDmq1EOZJxCYlXoqBOU6UTwHc=; h=From:To:Cc:Subject:Date:Reply-To; b=e4tF9okozyPkYfyBkDeTPV1drSqACPEb3SI+RnCgxAoiqKCOrEfrtUXnX6qaQxGUI IUIh7H7Vzulc5vDVWc1CvJ63LFtPr3hUUJg2yZ1VLMb4oPTRTrJhlM02X80cC7FEWz EJazMkjR8GNvRe7dtsCTh2xXSXxJfgqxI4yPxCJ8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53221: ip6_vti: fix incorrect tunnel matching in vti6_tnl_lookup() Date: Thu, 25 Jun 2026 09:41:09 +0100 Message-ID: <2026062506-CVE-2026-53221-a644@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=3728; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=JDgpYzIJWG2lE5oH0EKWB/dAFELj/8wRFKqPbDbDJuE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2L9OWCXnq3r11L1lZV+3aqV/qTxNVDzPvnzJbyeTsx rDEZsPvHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRQ7cZFqxfeCzZ5vsFyRfr 8j79en40p8t7ZjjD/DzB2dnL5fjCny4RbN6t2qjcsVzqDAA= 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: ip6_vti: fix incorrect tunnel matching in vti6_tnl_lookup() In vti6_tnl_lookup(), when an exact match for a tunnel fails, the code falls back to searching for wildcard tunnels: - Tunnels matching the packet's local address, with any remote address wildcard remote). - Tunnels matching the packet's remote address, with any local address (wildcard local). However, vti6 stores all these different types of tunnels in the same hash table (ip6n->tnls_r_l) prone to hash collisions. The bug is that the fallback search loops in vti6_tnl_lookup() were missing checks to ensure that the candidate tunnel actually has a wildcard address. The Linux kernel CVE team has assigned CVE-2026-53221 to this issue. Affected and fixed versions =========================== Issue introduced in 3.19 with commit fbe68ee87522f6eaa10f9076c0a7117e1613f2f7 and fixed in 5.10.259 with commit c327fa4fca31415431202e063767a7ae342e19c6 Issue introduced in 3.19 with commit fbe68ee87522f6eaa10f9076c0a7117e1613f2f7 and fixed in 5.15.210 with commit fc657ac0767c49839b3ef0b08dc0953ca30883f8 Issue introduced in 3.19 with commit fbe68ee87522f6eaa10f9076c0a7117e1613f2f7 and fixed in 6.1.176 with commit 47fb3c2b4203556308e64354b3e78f2ce221d646 Issue introduced in 3.19 with commit fbe68ee87522f6eaa10f9076c0a7117e1613f2f7 and fixed in 6.6.143 with commit f513f308cc4bdb4530d033431592ffbc29b7fca1 Issue introduced in 3.19 with commit fbe68ee87522f6eaa10f9076c0a7117e1613f2f7 and fixed in 6.12.94 with commit 90fd4513315ca07da99cfd8549d3e553a7160f0d Issue introduced in 3.19 with commit fbe68ee87522f6eaa10f9076c0a7117e1613f2f7 and fixed in 6.18.36 with commit 2abfb19bbb81958714ad1d43ebeb65b30394184b Issue introduced in 3.19 with commit fbe68ee87522f6eaa10f9076c0a7117e1613f2f7 and fixed in 7.0.13 with commit 2fc7bc087cc7085368263d9d37bfe9a0bddd6a2d Issue introduced in 3.19 with commit fbe68ee87522f6eaa10f9076c0a7117e1613f2f7 and fixed in 7.1 with commit a5c0359f5cbc51a2e2b114d6041e0f3c73f903e9 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-53221 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/ipv6/ip6_vti.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/c327fa4fca31415431202e063767a7ae342e19c6 https://git.kernel.org/stable/c/fc657ac0767c49839b3ef0b08dc0953ca30883f8 https://git.kernel.org/stable/c/47fb3c2b4203556308e64354b3e78f2ce221d646 https://git.kernel.org/stable/c/f513f308cc4bdb4530d033431592ffbc29b7fca1 https://git.kernel.org/stable/c/90fd4513315ca07da99cfd8549d3e553a7160f0d https://git.kernel.org/stable/c/2abfb19bbb81958714ad1d43ebeb65b30394184b https://git.kernel.org/stable/c/2fc7bc087cc7085368263d9d37bfe9a0bddd6a2d https://git.kernel.org/stable/c/a5c0359f5cbc51a2e2b114d6041e0f3c73f903e9