What’s Vulnerable › Vulnerabilities
CVE-2021-47160: net: dsa: mt7530: fix VLAN traffic leaks
- Severity: high (CVSS 7.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-03-25 · updated 2026-08-04
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.
Affected products
- Linux kernel: from 4.16 before 4.19.193; from 4.20 before 5.4.124; from 5.5 before 5.10.42; from 5.11 before 5.12.9; 5.13-rc1, 5.13-rc2, 5.13-rc3 — fixed in 4.19.193, 5.10.42, 5.12.9, 5.4.124
How to fix
Upgrade to a fixed version: Linux kernel 4.19.193, 5.10.42, 5.12.9, 5.4.124. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/474a2ddaa192777522a7499784f1d60691cd831a
- https://git.kernel.org/stable/c/4fe4e1f48ba119bdbc7c897c83b04ba0d08f5488
- https://git.kernel.org/stable/c/82ae35b6c14feae5f216913d5b433e143c756d4e
- https://git.kernel.org/stable/c/ae389812733b1b1e8e07fcc238e41db166b5c78d
- https://git.kernel.org/stable/c/b91117b66fe875723a4e79ec6263526fffdb44d2
- https://git.kernel.org/stable/c/474a2ddaa192777522a7499784f1d60691cd831a
- https://git.kernel.org/stable/c/4fe4e1f48ba119bdbc7c897c83b04ba0d08f5488
- https://git.kernel.org/stable/c/82ae35b6c14feae5f216913d5b433e143c756d4e
- https://git.kernel.org/stable/c/ae389812733b1b1e8e07fcc238e41db166b5c78d
- https://git.kernel.org/stable/c/b91117b66fe875723a4e79ec6263526fffdb44d2
Get alerted when CVE-2021-47160 or the next vulnerability affects your stack