ip6_vti: fix incorrect tunnel matching in vti6_tnl_lookup()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.259, 5.15.210, 6.1.176, 6.6.143, 6.12.94, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From fbe68ee87522f6eaa10f9076c0a7117e1613f2f7 · fixed in c327fa4fca31415431202e063767a7ae342e19c6; From fbe68ee87522f6eaa10f9076c0a7117e1613f2f7 · fixed in fc657ac0767c49839b3ef0b08dc0953ca30883f8; From fbe68ee87522f6eaa10f9076c0a7117e1613f2f7 · fixed in 47fb3c2b4203556308e64354b3e78f2ce221d646; From fbe68ee87522f6eaa10f9076c0a7117e1613f2f7 · fixed in f513f308cc4bdb4530d033431592ffbc29b7fca1; From fbe68ee87522f6eaa10f9076c0a7117e1613f2f7 · fixed in 90fd4513315ca07da99cfd8549d3e553a7160f0d; From fbe68ee87522f6eaa10f9076c0a7117e1613f2f7 · fixed in 2abfb19bbb81958714ad1d43ebeb65b30394184b; From fbe68ee87522f6eaa10f9076c0a7117e1613f2f7 · fixed in 2fc7bc087cc7085368263d9d37bfe9a0bddd6a2d; From fbe68ee87522f6eaa10f9076c0a7117e1613f2f7 · fixed in a5c0359f5cbc51a2e2b114d6041e0f3c73f903e9
- Linux Linux
3.19
- KernelLinux
From 3.19.0 · fixed in 5.10.259; From 5.11.0 · fixed in 5.15.210; From 5.16.0 · fixed in 6.1.176; From 6.2.0 · fixed in 6.6.143; From 6.7.0 · fixed in 6.12.94; From 6.13.0 · fixed in 6.18.36; From 6.19.0 · fixed in 7.0.13
References 8
git.kernel.org
- stable/c/c327fa4fca31415431202e063767a7ae342e19c6
- stable/c/fc657ac0767c49839b3ef0b08dc0953ca30883f8
- stable/c/47fb3c2b4203556308e64354b3e78f2ce221d646
- stable/c/f513f308cc4bdb4530d033431592ffbc29b7fca1
- stable/c/90fd4513315ca07da99cfd8549d3e553a7160f0d
- stable/c/2abfb19bbb81958714ad1d43ebeb65b30394184b
- stable/c/2fc7bc087cc7085368263d9d37bfe9a0bddd6a2d
- stable/c/a5c0359f5cbc51a2e2b114d6041e0f3c73f903e9