{"id":"CVE-2021-47160","aliases":["CVE-2021-47160"],"related":[],"kind":"vulnerability","state":"published","title":"net: dsa: mt7530: fix VLAN traffic leaks","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: dsa: mt7530: fix VLAN traffic leaks\n\nPCR_MATRIX field was set to all 1's when VLAN filtering is enabled, but\nwas not reset when it is disabled, which may cause traffic leaks:\n\n\tip link add br0 type bridge vlan_filtering 1\n\tip link add br1 type bridge vlan_filtering 1\n\tip link set swp0 master br0\n\tip link set swp1 master br1\n\tip link set br0 type bridge vlan_filtering 0\n\tip link set br1 type bridge vlan_filtering 0\n\t# traffic in br0 and br1 will start leaking to each other\n\nAs port_bridge_{add,del} have set up PCR_MATRIX properly, remove the\nPCR_MATRIX write from mt7530_port_set_vlan_aware.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: dsa: mt7530: fix VLAN traffic leaks\n\nPCR_MATRIX field was set to all 1's when VLAN filtering is enabled, but\nwas not reset when it is disabled, which may cause traffic leaks:\n\n\tip link add br0 type bridge vlan_filtering 1\n\tip link add br1 type bridge vlan_filtering 1\n\tip link set swp0 master br0\n\tip link set swp1 master br1\n\tip link set br0 type bridge vlan_filtering 0\n\tip link set br1 type bridge vlan_filtering 0\n\t# traffic in br0 and br1 will start leaking to each other\n\nAs port_bridge_{add,del} have set up PCR_MATRIX properly, remove the\nPCR_MATRIX write from mt7530_port_set_vlan_aware.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-03-25T09:16:14.468Z","modified":"2026-08-05T08:46:25.048Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"83163f7dca5684816d01c8ccf4857aa74801e7b7","fixed":"ae389812733b1b1e8e07fcc238e41db166b5c78d","status":"affected"},{"type":"git","introduced":"83163f7dca5684816d01c8ccf4857aa74801e7b7","fixed":"4fe4e1f48ba119bdbc7c897c83b04ba0d08f5488","status":"affected"},{"type":"git","introduced":"83163f7dca5684816d01c8ccf4857aa74801e7b7","fixed":"b91117b66fe875723a4e79ec6263526fffdb44d2","status":"affected"},{"type":"git","introduced":"83163f7dca5684816d01c8ccf4857aa74801e7b7","fixed":"82ae35b6c14feae5f216913d5b433e143c756d4e","status":"affected"},{"type":"git","introduced":"83163f7dca5684816d01c8ccf4857aa74801e7b7","fixed":"474a2ddaa192777522a7499784f1d60691cd831a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.16","status":"unaffected"},{"type":"semver","introduced":"4.19.193","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.124","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.42","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.12.9","lastAffected":"5.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.13","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.16","fixed":"4.19.193"},{"status":"affected","introduced":"4.20","fixed":"5.4.124"},{"status":"affected","introduced":"5.5","fixed":"5.10.42"},{"status":"affected","introduced":"5.11","fixed":"5.12.9"},{"status":"affected","version":"5.13"},{"status":"affected","version":"5.13"},{"status":"affected","version":"5.13"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/ae389812733b1b1e8e07fcc238e41db166b5c78d","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4fe4e1f48ba119bdbc7c897c83b04ba0d08f5488","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b91117b66fe875723a4e79ec6263526fffdb44d2","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/82ae35b6c14feae5f216913d5b433e143c756d4e","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/474a2ddaa192777522a7499784f1d60691cd831a","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-03-25T13:55:35.659Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47160","url":"https://www.cve.org/CVERecord?id=CVE-2021-47160","licence":"CVE Terms of Use","modified":"2026-08-05T08:46:25.048Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47160","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47160","licence":"Public domain","modified":"2026-08-04T10:16:49.620Z"}],"updatedAt":"2026-11-25T22:58:08.692Z","epss":{"score":0.00333,"percentile":0.28557,"date":"2026-12-01T12:00:22.000Z"}}