{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-49234","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-02-26T01:49:39.294Z","datePublished":"2025-02-26T01:55:59.615Z","dateUpdated":"2026-08-05T08:54:26.338Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T08:54:26.338Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: dsa: Avoid cross-chip syncing of VLAN filtering\n\nChanges to VLAN filtering are not applicable to cross-chip\nnotifications.\n\nOn a system like this:\n\n.-----.   .-----.   .-----.\n| sw1 +---+ sw2 +---+ sw3 |\n'-1-2-'   '-1-2-'   '-1-2-'\n\nBefore this change, upon sw1p1 leaving a bridge, a call to\ndsa_port_vlan_filtering would also be made to sw2p1 and sw3p1.\n\nIn this scenario:\n\n.---------.   .-----.   .-----.\n|   sw1   +---+ sw2 +---+ sw3 |\n'-1-2-3-4-'   '-1-2-'   '-1-2-'\n\nWhen sw1p4 would leave a bridge, dsa_port_vlan_filtering would be\ncalled for sw2 and sw3 with a non-existing port - leading to array\nout-of-bounds accesses and crashes on mv88e6xxx."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - Exploitation requires local netlink/ioctl bridge configuration (enslave a DSA user port then leave the bridge); the buggy path is not reachable from remote packet processing.\nAC:L - On a multi-chip DSA fabric with unequal port counts (the severe but realistic deployment), an attacker who can configure bridges can reliably trigger the OOB by enabling vlan_filtering, joining a high-indexed port, then removing it—no conditions outside attacker control.\nPR:L - Triggering requires CAP_NET_ADMIN to manipulate bridge membership of DSA ports; per kernel CNA guidance that capability is treated as Low when obtainable in a user/network namespace that holds those ports, not full init-namespace root beyond that.\nUI:N - The attacker performs the bridge join/leave operations themselves; no separate victim action is required.\nS:U - Impact is confined to the host kernel/DSA subsystem; this is not a VM escape, IOMMU bypass, or other cross-authority boundary crossing.\nC:H - The bug is an out-of-bounds access on the dsa_switch flexible ports array (and related structures), which reads past the allocation and can disclose adjacent kernel memory.\nI:H - For drivers without vlan_filtering_is_global (including mv88e6xxx), dsa_port_vlan_filtering writes dp->vlan_filtering through the OOB port pointer, producing an out-of-bounds write exploitable for memory corruption.\nA:H - The same OOB/NULL path causes kernel oops/crashes on mv88e6xxx and peer switches when a non-existent port index is used, fully disrupting system availability."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/dsa/switch.c"],"versions":[{"version":"d371b7c92d190448f3ccbf082c90bf929285f648","lessThan":"e1f2a4dd8d433eec393d09273a78a3d3551339cf","status":"affected","versionType":"git"},{"version":"d371b7c92d190448f3ccbf082c90bf929285f648","lessThan":"108dc8741c203e9d6ce4e973367f1bac20c7192b","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/dsa/switch.c"],"versions":[{"version":"5.2","status":"affected"},{"version":"0","lessThan":"5.2","status":"unaffected","versionType":"semver"},{"version":"5.17.2","lessThanOrEqual":"5.17.*","status":"unaffected","versionType":"semver"},{"version":"5.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"5.17.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"5.18"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/e1f2a4dd8d433eec393d09273a78a3d3551339cf"},{"url":"https://git.kernel.org/stable/c/108dc8741c203e9d6ce4e973367f1bac20c7192b"}],"title":"net: dsa: Avoid cross-chip syncing of VLAN filtering","x_generator":{"engine":"bippy-1.2.0"}}}}