vulnerability
Ubuntu: (CVE-2021-47160): linux vulnerability
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 6 | (AV:L/AC:L/Au:S/C:C/I:N/A:C) | Mar 25, 2024 | Nov 19, 2024 | Sep 1, 2025 |
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.
Solutions
References
- CVE-2021-47160
- https://attackerkb.com/topics/CVE-2021-47160
- URL-https://git.kernel.org/stable/c/474a2ddaa192777522a7499784f1d60691cd831a
- URL-https://git.kernel.org/stable/c/4fe4e1f48ba119bdbc7c897c83b04ba0d08f5488
- URL-https://git.kernel.org/stable/c/82ae35b6c14feae5f216913d5b433e143c756d4e
- URL-https://git.kernel.org/stable/c/ae389812733b1b1e8e07fcc238e41db166b5c78d
- URL-https://git.kernel.org/stable/c/b91117b66fe875723a4e79ec6263526fffdb44d2
- URL-https://www.cve.org/CVERecord?id=CVE-2021-47160
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.