net: dsa: mt7530: fix VLAN traffic leaks (Linux Linux)

CVE-2021-47160
HIGH 8.1

At a glance

Source
NVD
EPSS
EPSS 0.33 % · percentile 27 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: net: dsa: mt7530: fix VLAN traffic leaks PCR_MATRIX field was set to all 1's when VLAN filtering is enabled, but was not reset when it is disabled, which may cause traffic leaks: ip link add br0 type bridge vlan_filtering 1 ip link add br1 type bridge vlan_filtering 1 ip link set swp0 master br0 ip link set swp1 master br1 ip link set br0 type bridge vlan_filtering 0 ip link set br1 type bridge vlan_filtering 0 # traffic in br0 and br1 will start leaking to each other As port_bridge_{add,del} have set up PCR_MATRIX properly, remove the PCR_MATRIX write from mt7530_port_set_vlan_aware.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.1CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NLinux
CVSS 3.1HIGH 8.1CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 83163f7dca5684816d01c8ccf4857aa74801e7b7 < ae389812733b1b1e8e07fcc238e41db166b5c78d ; affected 83163f7dca5684816d01c8ccf4857aa74801e7b7 < 4fe4e1f48ba119bdbc7c897c83b04ba0d08f5488 ; affected 83163f7dca5684816d01c8ccf4857aa74801e7b7 < b91117b66fe875723a4e79ec6263526fffdb44d2 ; affected 83163f7dca5684816d01c8ccf4857aa74801e7b7 < 82ae35b6c14feae5f216913d5b433e143c756d4e ; affected 83163f7dca5684816d01c8ccf4857aa74801e7b7 < 474a2ddaa192777522a7499784f1d60691cd831a
Linux · Linuxaffected 4.16 ; unaffected 0 < 4.16 ; unaffected 4.19.193 ≤ 4.19.* ; unaffected 5.4.124 ≤ 5.4.* ; unaffected 5.10.42 ≤ 5.10.* ; unaffected 5.12.9 ≤ 5.12.*

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