# CVE-2026-53221: ip6_vti: fix incorrect tunnel matching in vti6_tnl_lookup()

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 48% of CVEs (2026-12-01)
- Published: 2026-06-25T08:39:23.177Z
- Modified: 2026-10-19T20:19:10.277Z
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from fbe68ee87522f6eaa10f9076c0a7117e1613f2f7 before c327fa4fca31415431202e063767a7ae342e19c6; from fbe68ee87522f6eaa10f9076c0a7117e1613f2f7 before fc657ac0767c49839b3ef0b08dc0953ca30883f8; from fbe68ee87522f6eaa10f9076c0a7117e1613f2f7 before 47fb3c2b4203556308e64354b3e78f2ce221d646; from fbe68ee87522f6eaa10f9076c0a7117e1613f2f7 before f513f308cc4bdb4530d033431592ffbc29b7fca1; from fbe68ee87522f6eaa10f9076c0a7117e1613f2f7 before 90fd4513315ca07da99cfd8549d3e553a7160f0d; from fbe68ee87522f6eaa10f9076c0a7117e1613f2f7 before 2abfb19bbb81958714ad1d43ebeb65b30394184b; from fbe68ee87522f6eaa10f9076c0a7117e1613f2f7 before 2fc7bc087cc7085368263d9d37bfe9a0bddd6a2d; from fbe68ee87522f6eaa10f9076c0a7117e1613f2f7 before a5c0359f5cbc51a2e2b114d6041e0f3c73f903e9; 3.19 (not affected: before 3.19; from 5.10.259 up to 5.10.*; from 5.15.210 up to 5.15.*; from 6.1.176 up to 6.1.*; from 6.6.143 up to 6.6.*; from 6.12.94 up to 6.12.*; from 6.18.36 up to 6.18.*; from 7.0.13 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 3.19 before 5.10.259; from 5.11 before 5.15.210; from 5.16 before 6.1.176; from 6.2 before 6.6.143; from 6.7 before 6.12.94; from 6.13 before 6.18.36; from 6.19 before 7.0.13; 7.1

## References

- <https://git.kernel.org/stable/c/c327fa4fca31415431202e063767a7ae342e19c6> (patch)
- <https://git.kernel.org/stable/c/fc657ac0767c49839b3ef0b08dc0953ca30883f8> (patch)
- <https://git.kernel.org/stable/c/47fb3c2b4203556308e64354b3e78f2ce221d646> (patch)
- <https://git.kernel.org/stable/c/f513f308cc4bdb4530d033431592ffbc29b7fca1> (patch)
- <https://git.kernel.org/stable/c/90fd4513315ca07da99cfd8549d3e553a7160f0d> (patch)
- <https://git.kernel.org/stable/c/2abfb19bbb81958714ad1d43ebeb65b30394184b> (patch)
- <https://git.kernel.org/stable/c/2fc7bc087cc7085368263d9d37bfe9a0bddd6a2d> (patch)
- <https://git.kernel.org/stable/c/a5c0359f5cbc51a2e2b114d6041e0f3c73f903e9> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

- CVE List: [CVE-2026-53221](https://www.cve.org/CVERecord?id=CVE-2026-53221), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-53221](https://nvd.nist.gov/vuln/detail/CVE-2026-53221), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-53221 · Whole record: https://cve.day/CVE-2026-53221.json · Rebuilt by cve.day 2026-11-25T22:59:26.319Z
