net/ip6_tunnel: Prevent perpetual tunnel growth
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 8eb30be0352d09165e94a41fef1c7b994dca0714 · < eeb4345488672584db4f8c20a1ae13a212ce31c4| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net/ip6_tunnel: Prevent perpetual tunnel growth
Similarly to ipv4 tunnel, ipv6 version updates dev->needed_headroom, too. While ipv4 tunnel headroom adjustment growth was limited in commit 5ae1e9922bbd ("net: ip_tunnel: prevent perpetual headroom growth"), ipv6 tunnel yet increases the headroom without any ceiling.
Reflect ipv4 tunnel headroom adjustment limit on ipv6 version.
Credits to Francesco Ruggeri, who was originally debugging this issue and wrote local Arista-specific patch and a reproducer.
From the CVE record · Linux
The Linux kernel’s IPv6 tunnel code can increase a device’s needed headroom without a ceiling. The input does not specify how an attacker could trigger this behavior or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel should check whether their versions contain the IPv6 tunnel fix; affected versions are not specified.