Linux
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= fbe68ee87522f6eaa10f9076c0a7117e1613f2f7, < c327fa4fca31415431202e063767a7ae342e19c6
- >= fbe68ee87522f6eaa10f9076c0a7117e1613f2f7, < fc657ac0767c49839b3ef0b08dc0953ca30883f8
- >= fbe68ee87522f6eaa10f9076c0a7117e1613f2f7, < 47fb3c2b4203556308e64354b3e78f2ce221d646
- >= fbe68ee87522f6eaa10f9076c0a7117e1613f2f7, < f513f308cc4bdb4530d033431592ffbc29b7fca1
- >= fbe68ee87522f6eaa10f9076c0a7117e1613f2f7, < 90fd4513315ca07da99cfd8549d3e553a7160f0d
- >= fbe68ee87522f6eaa10f9076c0a7117e1613f2f7, < 2abfb19bbb81958714ad1d43ebeb65b30394184b
- >= fbe68ee87522f6eaa10f9076c0a7117e1613f2f7, < 2fc7bc087cc7085368263d9d37bfe9a0bddd6a2d
- >= fbe68ee87522f6eaa10f9076c0a7117e1613f2f7, < a5c0359f5cbc51a2e2b114d6041e0f3c73f903e9
Fixed in c327fa4fca31415431202e063767a7ae342e19c6, fc657ac0767c49839b3ef0b08dc0953ca30883f8, 47fb3c2b4203556308e64354b3e78f2ce221d646, f513f308cc4bdb4530d033431592ffbc29b7fca1, 90fd4513315ca07da99cfd8549d3e553a7160f0d, 2abfb19bbb81958714ad1d43ebeb65b30394184b, 2fc7bc087cc7085368263d9d37bfe9a0bddd6a2d, a5c0359f5cbc51a2e2b114d6041e0f3c73f903e9
- 3.19
Fixed in 0, 5.10.259, 5.15.210, 6.1.176, 6.6.143, 6.12.94, 6.18.36, 7.0.13, 7.1
Mitigation
Upgrade Linux to c327fa4fca31415431202e063767a7ae342e19c6 or fc657ac0767c49839b3ef0b08dc0953ca30883f8 or 47fb3c2b4203556308e64354b3e78f2ce221d646 or f513f308cc4bdb4530d033431592ffbc29b7fca1 or 90fd4513315ca07da99cfd8549d3e553a7160f0d or 2abfb19bbb81958714ad1d43ebeb65b30394184b or 2fc7bc087cc7085368263d9d37bfe9a0bddd6a2d or a5c0359f5cbc51a2e2b114d6041e0f3c73f903e9 or later.
Upgrade Linux to 0 or 5.10.259 or 5.15.210 or 6.1.176 or 6.6.143 or 6.12.94 or 6.18.36 or 7.0.13 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.