CVE-2022-49776

macvlan: enforce a consistent minimal mtu

State
Published
Severity
Not scored
Published
May 1, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 91572088e3fdbf4fe31cf397926d8b890fdb3237 to before d2fee7d121d189c6dc905b727d60e7043a6655bbAffected
  • 91572088e3fdbf4fe31cf397926d8b890fdb3237 to before 650137a7c0b2892df2e5b0bc112d7b09a78c93c8Affected
  • 91572088e3fdbf4fe31cf397926d8b890fdb3237 to before a62aa84fe19eb24d083d600a074c009a0a66d4f3Affected
  • 91572088e3fdbf4fe31cf397926d8b890fdb3237 to before e929ec98c0c3b10d9c07f3776df0c1a02d7a763eAffected
  • 91572088e3fdbf4fe31cf397926d8b890fdb3237 to before e41cbf98df22d08402e65174d147cbb187fe1a33Affected
  • 91572088e3fdbf4fe31cf397926d8b890fdb3237 to before 2b055c719d8f94c15ec9b7659978133030c6a353Affected
  • 91572088e3fdbf4fe31cf397926d8b890fdb3237 to before b64085b00044bdf3cd1c9825e9ef5b2e0feae91aAffected
LinuxLinux
  • 4.10Affected
  • before 4.10Not affected
  • 4.14.300 through 4.14.*Not affected
  • 4.19.267 through 4.19.*Not affected
  • 5.4.225 through 5.4.*Not affected
  • 5.10.156 through 5.10.*Not affected
  • 5.15.80 through 5.15.*Not affected
  • 6.0.10 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.