macvlan: enforce a consistent minimal mtu (Linux Linux)

CVE-2022-49776
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 12 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 91572088e3fdbf4fe31cf397926d8b890fdb3237 < d2fee7d121d189c6dc905b727d60e7043a6655bb ; affected 91572088e3fdbf4fe31cf397926d8b890fdb3237 < 650137a7c0b2892df2e5b0bc112d7b09a78c93c8 ; affected 91572088e3fdbf4fe31cf397926d8b890fdb3237 < a62aa84fe19eb24d083d600a074c009a0a66d4f3 ; affected 91572088e3fdbf4fe31cf397926d8b890fdb3237 < e929ec98c0c3b10d9c07f3776df0c1a02d7a763e ; affected 91572088e3fdbf4fe31cf397926d8b890fdb3237 < e41cbf98df22d08402e65174d147cbb187fe1a33 ; affected 91572088e3fdbf4fe31cf397926d8b890fdb3237 < 2b055c719d8f94c15ec9b7659978133030c6a353
Linux · Linuxaffected 4.10 ; unaffected 0 < 4.10 ; unaffected 4.14.300 ≤ 4.14.* ; unaffected 4.19.267 ≤ 4.19.* ; unaffected 5.4.225 ≤ 5.4.* ; unaffected 5.10.156 ≤ 5.10.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD