CVE-2021-47160

published 25 Mar 2024 · updated 5 Aug 2026

net: dsa: mt7530: fix VLAN traffic leaks

8.1HighCVSS 8.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 474a2ddaa192777522a7499784f1d60691cd831a, Kernel 4fe4e1f48ba119bdbc7c897c83b04ba0d08f5488, Kernel 82ae35b6c14feae5f216913d5b433e143c756d4e and 2 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.16, >=83163f7dca5684816d01c8ccf4857aa74801e7b7 <474a2ddaa192777522a7499784f1d60691cd831a, >=83163f7dca5684816d01c8ccf4857aa74801e7b7 <4fe4e1f48ba119bdbc7c897c83b04ba0d08f5488, >=83163f7dca5684816d01c8ccf4857aa74801e7b7 <82ae35b6c14feae5f216913d5b433e143c756d4e, >=83163f7dca5684816d01c8ccf4857aa74801e7b7 <ae389812733b1b1e8e07fcc238e41db166b5c78d, >=83163f7dca5684816d01c8ccf4857aa74801e7b7 <b91117b66fe875723a4e79ec6263526fffdb44d2474a2ddaa192777522a7499784f1d60691cd831a, 4fe4e1f48ba119bdbc7c897c83b04ba0d08f5488, 82ae35b6c14feae5f216913d5b433e143c756d4e, ae389812733b1b1e8e07fcc238e41db166b5c78d, b91117b66fe875723a4e79ec6263526fffdb44d2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47160 severity on Zeptric[![CVE-2021-47160](https://zeptric.io/badge/cve/CVE-2021-47160.svg)](https://zeptric.io/cve/CVE-2021-47160)