ip6_vti: fix incorrect tunnel matching in vti6_tnl_lookup()
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.
CVE-2026-53221
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-53221
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "fbe68ee87522f6eaa10f9076c0a7117e1613f2f7",
"lessThan": "c327fa4fca31415431202e063767a7ae342e19c6",
"versionType": "git"
},
{
"status": "affected",
"version": "fbe68ee87522f6eaa10f9076c0a7117e1613f2f7",
"lessThan": "fc657ac0767c49839b3ef0b08dc0953ca30883f8",
"versionType": "git"
},
{
"status": "affected",
"version": "fbe68ee87522f6eaa10f9076c0a7117e1613f2f7",
"lessThan": "47fb3c2b4203556308e64354b3e78f2ce221d646",
"versionType": "git"
},
{
"status": "affected",
"version": "fbe68ee87522f6eaa10f9076c0a7117e1613f2f7",
"lessThan": "f513f308cc4bdb4530d033431592ffbc29b7fca1",
"versionType": "git"
},
{
"status": "affected",
"version": "fbe68ee87522f6eaa10f9076c0a7117e1613f2f7",
"lessThan": "90fd4513315ca07da99cfd8549d3e553a7160f0d",
"versionType": "git"
},
{
"status": "affected",
"version": "fbe68ee87522f6eaa10f9076c0a7117e1613f2f7",
"lessThan": "2abfb19bbb81958714ad1d43ebeb65b30394184b",
"versionType": "git"
},
{
"status": "affected",
"version": "fbe68ee87522f6eaa10f9076c0a7117e1613f2f7",
"lessThan": "2fc7bc087cc7085368263d9d37bfe9a0bddd6a2d",
"versionType": "git"
},
{
"status": "affected",
"version": "fbe68ee87522f6eaa10f9076c0a7117e1613f2f7",
"lessThan": "a5c0359f5cbc51a2e2b114d6041e0f3c73f903e9",
"versionType": "git"
}
],
"programFiles": [
"net/ipv6/ip6_vti.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "3.19"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "3.19",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.10.259",
"versionType": "semver",
"lessThanOrEqual": "5.10.*"
},
{
"status": "unaffected",
"version": "5.15.210",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.1.176",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.143",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.94",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.36",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.0.13",
"versionType": "semver",
"lessThanOrEqual": "7.0.*"
},
{
"status": "unaffected",
"version": "7.1",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"net/ipv6/ip6_vti.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-53221
Source reference:
/cveMetadata/cveId
Publisher severity
critical
Source reference: /containers/cna/metrics
- Event
- #40784 · Revision 1
- Added to Heist Feed
- Publisher date