{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-47160","id":"CVE-2021-47160","title":"net: dsa: mt7530: fix VLAN traffic leaks","description":"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","descriptionLong":"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.","published":"2024-03-25T09:16:14.468Z","updated":"2026-08-05T08:46:25.048Z","reserved":"2024-03-25T09:12:14.109Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"Linux"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"83163f7dca5684816d01c8ccf4857aa74801e7b7","lessThan":"ae389812733b1b1e8e07fcc238e41db166b5c78d","status":"affected","versionType":"git"},{"version":"83163f7dca5684816d01c8ccf4857aa74801e7b7","lessThan":"4fe4e1f48ba119bdbc7c897c83b04ba0d08f5488","status":"affected","versionType":"git"},{"version":"83163f7dca5684816d01c8ccf4857aa74801e7b7","lessThan":"b91117b66fe875723a4e79ec6263526fffdb44d2","status":"affected","versionType":"git"},{"version":"83163f7dca5684816d01c8ccf4857aa74801e7b7","lessThan":"82ae35b6c14feae5f216913d5b433e143c756d4e","status":"affected","versionType":"git"},{"version":"83163f7dca5684816d01c8ccf4857aa74801e7b7","lessThan":"474a2ddaa192777522a7499784f1d60691cd831a","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.16","status":"affected"},{"version":"0","lessThan":"4.16","status":"unaffected","versionType":"semver"},{"version":"4.19.193","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.124","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.42","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.12.9","lessThanOrEqual":"5.12.*","status":"unaffected","versionType":"semver"},{"version":"5.13","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/ae389812733b1b1e8e07fcc238e41db166b5c78d","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/4fe4e1f48ba119bdbc7c897c83b04ba0d08f5488","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/b91117b66fe875723a4e79ec6263526fffdb44d2","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/82ae35b6c14feae5f216913d5b433e143c756d4e","tags":["x_transferred","Patch","fix"]},{"url":"https://git.kernel.org/stable/c/474a2ddaa192777522a7499784f1d60691cd831a","tags":["x_transferred","Patch","fix"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00333,"epssPercentile":0.27063,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-47160","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47160","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-47160","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-47160","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}