ip6_vti: set netns_immutable on the fallback device.
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 61220ab349485d911083d0b7990ccd3db6c63297 · < ecf8904067dcba0dad86ece80874841e60317885| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ip6_vti: set netns_immutable on the fallback device.
john1988 and Noam Rathaus reported that vti6_init_net() does not set the netns_immutable flag on the per-netns fallback tunnel device (ip6_vti0).
Other similar tunnel drivers (like ip6_tunnel, sit, ip6_gre, and ip_tunnel) correctly set this flag during their fallback device initialization to prevent them from being moved to another network namespace.
From the CVE record · Linux
The Linux kernel’s ip6_vti driver does not set the netns_immutable flag on its per-network-namespace fallback device, ip6_vti0. A local actor able to move network devices between namespaces could move this device out of its namespace; the input does not specify authentication or user-interaction requirements.
Operators running Linux kernels with the ip6_vti driver should check whether their kernel includes the fix; affected versions are not specified.