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

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

CVE-2026-72051

net: ip6_tunnel: require CAP_NET_ADMIN in the device netns for changelink

8.8 EPSS 0.2% AV:L

Published 2026-08-15 (2 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-72051 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-4777-1 · 2026-09-08 · text6.1.187-1Update the kernel and reboot. DLA-4777-1 shipped the fix on 2026-09-08, in 6.1.187-1. A running kernel keeps the old code until the machine restarts.
Debian 13trixiefixed6.12.101-1Update the kernel and reboot. Fixed in 6.12.101-1. A running kernel keeps the old code until the machine restarts.
Debian 14forkyfixed7.1.5-1Update the kernel and reboot. Fixed in 7.1.5-1. A running kernel keeps the old code until the machine restarts.
Debian unstablesidfixed7.1.5-1Update the kernel and reboot. Fixed in 7.1.5-1. A running kernel keeps the old code until the machine restarts.
Debian 12bookworm · linux-6.12fixedDLA-4745-1 · 2026-08-18 · text6.12.101-1~deb12u1Update the kernel and reboot. DLA-4745-1 shipped the fix on 2026-08-18, in 6.12.101-1~deb12u1. A running kernel keeps the old code until the machine restarts.

The vulnerability

What the bug is

ip6_tnl_changelink() operates on at most two netns, dev_net(dev) and the tunnel link netns t->net. They differ once the device is created in or moved to a netns other than the one the request runs in. The rtnl changelink path checks CAP_NET_ADMIN only against dev_net(dev), so a caller privileged there but not in t->net can rewrite a tunnel that lives in t->net. Gate ip6_tnl_changelink() on rtnl_dev_link_net_capable() at its top, before any attribute is parsed.

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_tunnel.c

What this is
NETWORKING [IPv4/IPv6]MAINTAINERS section matched on net/ipv6/ip* · netdev@vger.kernel.org · Maintained
Kernel module
ip6_tunnel

Check it on the machine

grep -w CONFIG_IPV6_TUNNEL /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_tunnel

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, sid, bookworm · linux-6.12m
m
a loadable module on every flavour - check lsmod, can be blacklisted
Build switch
CONFIG_IPV6_TUNNEL

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-08-15 (2 months ago)source
CVSS
8.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:Hsource recompute it
Attack vector
local (AV:L)source
EPSS
0.17%, higher than 5.8% 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.125.10.2662d53ee7daabe
3.125.15.21782e53e7281c7
3.126.1.1845252db8fb604
3.126.6.1482636d061bc23
3.126.12.1017f68f7928484
3.126.18.40234cd54fc500
3.127.1.5d4bcc202a353
3.127.22496fa0b7d18

Debian advisories

AdvisoryDateShipped toDebian
DLA-4777-12026-09-08bookworm 6.1.187-1tracker
DLA-4745-12026-08-18bookworm 6.12.101-1~deb12u1tracker

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:LAttack vector, local
Exploitation requires RTM_NEWLINK changelink over a local rtnetlink socket; ip6_tnl_changelink is only reachable from rtnl configuration, not from received IPv6 packets processed by ip6_tnl_rcv.
AC:LAttack complexity, low
Once an ip6tnl device exists with t->net differing from dev_net(dev) (IFLA_LINK_NETNSID newlink or IFLA_NET_NS_FD migration), a single deterministic netlink changelink bypasses the missing check with no race or memory-layout dependency.
PR:LPrivileges required, low
The rtnl entry path requires CAP_NET_ADMIN only in dev_net(dev), obtainable by an unprivileged local user via unshare --user --map-root-user --net; no CAP_NET_ADMIN in the sticky link netns t->net is required.
UI:NUser interaction, none
The attack is fully programmatic through netlink from the attacker's own process; no victim action such as mounting a filesystem, opening a file, or clicking is required.
S:CScope, changed
Authorization is checked against dev_net(dev) while ip6_tnl_changelink mutates tunnel state in t->net via ip6_tnl_update, crossing from the attacker's net/user namespace into another tenant's or the host's network namespace.
C:HConfidentiality impact, high
An attacker can rewrite IFLA_IPTUN_LOCAL/REMOTE, link, fwmark, and encap parameters to redirect IPv6/IPv4-over-IPv6 tunnel traffic to an attacker-controlled endpoint and read all tunneled payloads in the victim link netns.
I:HIntegrity impact, high
Unauthorized changelink updates live tunnel endpoints, underlay link, encap ports, and flowinfo/fwmark in t->net, enabling redirection and injection of traffic carried over the ip6tnl tunnel.
A:HAvailability impact, high
Rewriting tunnel remote/local addresses, underlay device, or encap parameters breaks cross-netns IPv6 tunnel connectivity, causing sustained loss of service for every workload depending on the affected ip6tnl tunnel.