8.1high
net: dsa: mt7530: fix VLAN traffic leaks
- Severity
- 8.1high CVSS:3.1 by Linux
- Exploit likelihood
- 0.33% (higher than 28% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 83163f7dca5684816d01c8ccf4857aa74801e7b7 before ae389812733b1b1e8e07fcc238e41db166b5c78d, from 83163f7dca5684816d01c8ccf4857aa74801e7b7 before 4fe4e1f48ba119bdbc7c897c83b04ba0d08f5488, from 83163f7dca5684816d01c8ccf4857aa74801e7b7 before b91117b66fe875723a4e79ec6263526fffdb44d2, from 83163f7dca5684816d01c8ccf4857aa74801e7b7 before 82ae35b6c14feae5f216913d5b433e143c756d4e, from 83163f7dca5684816d01c8ccf4857aa74801e7b7 before 474a2ddaa192777522a7499784f1d60691cd831a, 4.16 Not affected: before 4.16, from 4.19.193 up to 4.19.*, from 5.4.124 up to 5.4.*, from 5.10.42 up to 5.10.*, from 5.12.9 up to 5.12.*, from 5.13 up to * | CVE List |
| linux 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 | NVD |
All scores
| Linux | 8.1high CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: net: dsa: mt7530: corregir fugas de tráfico de VLAN El campo PCR_MATRIX se configuró en todos 1 cuando el filtrado de VLAN está habilitado, pero no se restableció cuando está deshabilitado, lo que puede causar fugas de tráfico: enlace ip agregar puente tipo br0 vlan_filtering 1 enlace ip agregar puente tipo br1 vlan_filtering 1 conjunto de enlaces ip swp0 master br0 conjunto de enlaces ip swp1 maestro br1 conjunto de enlaces ip br0 puente tipo vlan_filtering 0 conjunto de enlaces ip br1 tipo puente vlan_filtering 0 # tráfico en br0 y br1 comenzarán a filtrarse entre sí. Como port_bridge_{add,del} ha configurado PCR_MATRIX correctamente, elimine la escritura PCR_MATRIX de mt7530_port_set_vlan_aware.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47160 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2021-47160 changed 2026-08-04 | Public domain |