data built 2026-10-19T13:16:53Z

Look up another CVE · open CVE-2026-53221 in the interactive tracker

CVE-2026-53221

ip6_vti: fix incorrect tunnel matching in vti6_tnl_lookup()

9.8 EPSS 0.6% AV:N

Published 2026-06-25 (4 months ago) by the Linux kernel CNA. Subsystem net/ipv6. Debian urgency: not yet assigned.

What to do, per Debian release

Debian's own status for CVE-2026-53221 in every release this site tracks, and what each one means in practice. Every status below is the one the Debian Security Team publishes for this CVE. source

ReleaseStatus VersionWhat this means
Debian 12bookwormfixedDLA-4665-1 · 2026-07-03 · text6.1.176-1Update the kernel and reboot. DLA-4665-1 shipped the fix on 2026-07-03, in 6.1.176-1. A running kernel keeps the old code until the machine restarts.
Debian 13trixiefixed6.12.94-1Update the kernel and reboot. Fixed in 6.12.94-1. A running kernel keeps the old code until the machine restarts.
Debian 14forkyfixed7.0.13-1Update the kernel and reboot. Fixed in 7.0.13-1. A running kernel keeps the old code until the machine restarts.
Debian unstablesidfixed7.0.13-1Update the kernel and reboot. Fixed in 7.0.13-1. A running kernel keeps the old code until the machine restarts.

The vulnerability

What the bug is

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.

Where it lives

The fix touches these files. If the subsystem is one you do not use, the practical exposure is lower, though the package is still the vulnerable one.

net/ipv6/ip6_vti.c

What this is
NETWORKING [IPSEC]MAINTAINERS section matched on net/ipv6/ip6_vti.c · netdev@vger.kernel.org · Maintained
Kernel module
ip6_vti

Check it on the machine

grep -w CONFIG_IPV6_VTI /boot/config-$(uname -r)

Reads the booted kernel's own configuration, on the machine and nowhere else. =y is built in, =m is a module, and an is not set line means the code is not there.

lsmod | grep -w ip6_vti

Prints a line if that module is loaded right now, and nothing if it is not. One that is not loaded can still be loaded later by anything that needs it.

Show whether Debian builds this, per release

Debian builds this as a loadable module. Every release below compiles it as a module on every flavour, so whether the code is in the running kernel depends on whether that module is loaded.

  • bookworm, trixie, forky, sidm
m
a loadable module on every flavour - check lsmod, can be blacklisted
Build switch
CONFIG_IPV6_VTI

From the configuration Debian publishes for every kernel flavour it builds. It covers only the architectures Debian ships a linux-config package for, and nothing about a kernel you built yourself. Debian's own status above stays authoritative about the source package.MAINTAINERS kbuild Makefiles Debian linux-config packages

Signals

Published
2026-06-25 (4 months ago)source
CVSS
9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hsource recompute it
Attack vector
network (AV:N)source
EPSS
0.58%, higher than 46.3% of all CVEssource
CISA KEV
not listedthe KEV catalogue
Debian urgency
not yet assignedsource
Subsystem
net/ipv6

Upstream fixes

The versions the CNA records as introducing and fixing this, and the commit for each. source

IntroducedFixed inCommit
3.195.10.259c327fa4fca31
3.195.15.210fc657ac0767c
3.196.1.17647fb3c2b4203
3.196.6.143f513f308cc4b
3.196.12.9490fd4513315c
3.196.18.362abfb19bbb81
3.197.0.132fc7bc087cc7
3.197.1a5c0359f5cbc

Debian advisories

AdvisoryDateShipped toDebian
DLA-4671-12026-07-05bullseye 6.1.176-1~deb11u1tracker
DLA-4665-12026-07-03bookworm 6.1.176-1tracker
DLA-4664-12026-07-03bullseye 5.10.259-1tracker

Why the CNA scored it this way

Quoted from the kernel CNA's own scoring file, word for word. A highlighted metric carries the most severe value CVSS v3.1 defines for it, which is what pushes the score up. source

AV:NAttack vector, network
The vulnerable lookup is reached from IPv6 packet input through registered XFRM ESP/AH/IPComp and IP-in-IPv6 tunnel handlers, so a remote peer can trigger it with network traffic.
AC:LAttack complexity, low
The bug is a deterministic missing wildcard-address check in a small hash table; once a plausible VTI6 configuration with colliding wildcard/exact tunnel entries exists, chosen packets reliably exercise the wrong lookup.
PR:NPrivileges required, none
The packet receive path reaches `vti6_tnl_lookup()` before any per-packet authentication succeeds, and no local privilege is needed to send the triggering IPv6 traffic.
UI:NUser interaction, none
No victim user action is required; packets are processed by the kernel networking receive path.
S:UScope, unchanged
The impact remains within the kernel/networking security authority and does not by itself cross a VM, IOMMU, or host boundary.
C:HConfidentiality impact, high
Wrong tunnel selection can associate decapsulated traffic with another VTI device, mark, and policy context; in a multi-tenant IPsec/VTI gateway this can expose tunneled plaintext across tunnel boundaries.
I:HIntegrity impact, high
The same confusion can deliver attacker-controlled inner packets under the wrong tunnel interface and policy context, enabling unauthorized modification or injection of traffic in the affected tunnel domain.
A:HAvailability impact, high
Incorrect matching can consistently drop or misprocess traffic for affected tunnels, allowing loss of availability of the VTI/IPsec connectivity in vulnerable configurations.