CVE-2022-49234 (GCVE-0-2022-49234)
Vulnerability from cvelistv5
Published
2025-02-26 01:55
Modified
2025-05-04 08:33
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: net: dsa: Avoid cross-chip syncing of VLAN filtering Changes to VLAN filtering are not applicable to cross-chip notifications. On a system like this: .-----. .-----. .-----. | sw1 +---+ sw2 +---+ sw3 | '-1-2-' '-1-2-' '-1-2-' Before this change, upon sw1p1 leaving a bridge, a call to dsa_port_vlan_filtering would also be made to sw2p1 and sw3p1. In this scenario: .---------. .-----. .-----. | sw1 +---+ sw2 +---+ sw3 | '-1-2-3-4-' '-1-2-' '-1-2-' When sw1p4 would leave a bridge, dsa_port_vlan_filtering would be called for sw2 and sw3 with a non-existing port - leading to array out-of-bounds accesses and crashes on mv88e6xxx.
Impacted products
Vendor Product Version
Linux Linux Version: d371b7c92d190448f3ccbf082c90bf929285f648
Version: d371b7c92d190448f3ccbf082c90bf929285f648
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/dsa/switch.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "e1f2a4dd8d433eec393d09273a78a3d3551339cf",
              "status": "affected",
              "version": "d371b7c92d190448f3ccbf082c90bf929285f648",
              "versionType": "git"
            },
            {
              "lessThan": "108dc8741c203e9d6ce4e973367f1bac20c7192b",
              "status": "affected",
              "version": "d371b7c92d190448f3ccbf082c90bf929285f648",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/dsa/switch.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.2"
            },
            {
              "lessThan": "5.2",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.17.*",
              "status": "unaffected",
              "version": "5.17.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.18",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.17.2",
                  "versionStartIncluding": "5.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.18",
                  "versionStartIncluding": "5.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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\u0027-1-2-\u0027   \u0027-1-2-\u0027   \u0027-1-2-\u0027\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\u0027-1-2-3-4-\u0027   \u0027-1-2-\u0027   \u0027-1-2-\u0027\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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T08:33:01.348Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "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"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-49234",
    "datePublished": "2025-02-26T01:55:59.615Z",
    "dateReserved": "2025-02-26T01:49:39.294Z",
    "dateUpdated": "2025-05-04T08:33:01.348Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-49234\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-02-26T07:01:00.407\",\"lastModified\":\"2025-09-22T21:03:34.317\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"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\u0027-1-2-\u0027   \u0027-1-2-\u0027   \u0027-1-2-\u0027\\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\u0027-1-2-3-4-\u0027   \u0027-1-2-\u0027   \u0027-1-2-\u0027\\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.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: dsa: Evitar la sincronizaci\u00f3n entre chips del filtrado de VLAN Los cambios en el filtrado de VLAN no son aplicables a las notificaciones entre chips. En un sistema como este: .-----. .-----. .-----. | sw1 +---+ sw2 +---+ sw3 | \u0027-1-2-\u0027 \u0027-1-2-\u0027 \u0027-1-2-\u0027 Antes de este cambio, al salir sw1p1 de un puente, tambi\u00e9n se realizaba una llamada a dsa_port_vlan_filtering a sw2p1 y sw3p1. En este escenario: .---------. .-----. .-----. | sw1 +---+ sw2 +---+ sw3 | \u0027-1-2-3-4-\u0027 \u0027-1-2-\u0027 \u0027-1-2-\u0027 Cuando sw1p4 abandonara un puente, se llamar\u00eda a dsa_port_vlan_filtering para sw2 y sw3 con un puerto inexistente, lo que provocar\u00eda accesos fuera de los l\u00edmites de la matriz y fallos en mv88e6xxx.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H\",\"baseScore\":7.1,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.2}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-125\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.2\",\"versionEndExcluding\":\"5.17.2\",\"matchCriteriaId\":\"F35FD2B5-23F8-4ADC-8DC5-06183966A3CD\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/108dc8741c203e9d6ce4e973367f1bac20c7192b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/e1f2a4dd8d433eec393d09273a78a3d3551339cf\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…