macvlan: enforce a consistent minimal mtu
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 91572088e3fdbf4fe31cf397926d8b890fdb3237 · < 2b055c719d8f94c15ec9b7659978133030c6a353| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
macvlan: enforce a consistent minimal mtu
macvlan should enforce a minimal mtu of 68, even at link creation.
This patch avoids the current behavior (which could lead to crashes in ipv6 stack if the link is brought up)
$ ip link add macvlan1 link eno1 mtu 8 type macvlan # This should fail ! $ ip link sh dev macvlan1 5: macvlan1@eno1: <BROADCAST,MULTICAST> mtu 8 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether 02:47:6c:24:74:82 brd ff:ff:ff:ff:ff:ff $ ip link set macvlan1 mtu 67 Error: mtu less than device minimum. $ ip link set macvlan1 mtu 68 $ ip link set macvlan1 mtu 8 Error: mtu less than device minimum.
From the CVE record · Linux
The Linux kernel's macvlan component can allow a link to be created with an MTU below its minimum of 68. A locally configured link with such an MTU could cause a crash in the IPv6 stack if brought up.
Engineers running Linux kernels with macvlan should check their exposure; affected versions were not provided.