CVE-2026-97435 (GCVE-0-2026-97435)
Vulnerability from cvelistv5
Published
2026-09-24 16:03
Modified
2026-10-03 10:58
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: net: dsa: sja1105: flower: reject cross-chip redirect dsa_port_from_netdev() may return a valid port from a different switch chip. Programming another chip's port index into the local hardware causes redirection to the wrong port, or an out-of-bounds access if the index exceeds the local chip's port count. Apply a minimal fix that adds a check to catch this case and adjusts the extack message. When cls->common.skip_sw is not set, the operation could instead redirect to the upstream port and let the software or upstream switch(es) handle the forward, but that is not addressed here.
Impacted products
Vendor Product Version
Linux Linux Version: dfacc5a23e227cabdff41b6202f510398e90d36b
Version: dfacc5a23e227cabdff41b6202f510398e90d36b
Version: dfacc5a23e227cabdff41b6202f510398e90d36b
Version: dfacc5a23e227cabdff41b6202f510398e90d36b
Version: dfacc5a23e227cabdff41b6202f510398e90d36b
Version: dfacc5a23e227cabdff41b6202f510398e90d36b
Version: dfacc5a23e227cabdff41b6202f510398e90d36b
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/dsa/sja1105/sja1105_flower.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "6bf5158af52a5293e9160d8f2992c629ca14aa7d",
              "status": "affected",
              "version": "dfacc5a23e227cabdff41b6202f510398e90d36b",
              "versionType": "git"
            },
            {
              "lessThan": "277f8611e017d3ff1ab06af58a6c538b55da1cc8",
              "status": "affected",
              "version": "dfacc5a23e227cabdff41b6202f510398e90d36b",
              "versionType": "git"
            },
            {
              "lessThan": "eb177aa00c392de3dc530c34f173a962216f82dd",
              "status": "affected",
              "version": "dfacc5a23e227cabdff41b6202f510398e90d36b",
              "versionType": "git"
            },
            {
              "lessThan": "d0e54098c072b6064cdcf8039075ada8b88583da",
              "status": "affected",
              "version": "dfacc5a23e227cabdff41b6202f510398e90d36b",
              "versionType": "git"
            },
            {
              "lessThan": "c999cc39775381b68ed66eae57c1425452672c0f",
              "status": "affected",
              "version": "dfacc5a23e227cabdff41b6202f510398e90d36b",
              "versionType": "git"
            },
            {
              "lessThan": "abd7511e12b231798332afa04ed9bee9e84f9445",
              "status": "affected",
              "version": "dfacc5a23e227cabdff41b6202f510398e90d36b",
              "versionType": "git"
            },
            {
              "lessThan": "cfa5274a5dc2a23b957da5dc806d2ac0c7a66af0",
              "status": "affected",
              "version": "dfacc5a23e227cabdff41b6202f510398e90d36b",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/dsa/sja1105/sja1105_flower.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.8"
            },
            {
              "lessThan": "5.8",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.271",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.222",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.189",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.158",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.111",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.53",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.271",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.222",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.189",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.158",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.111",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.53",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "5.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: dsa: sja1105: flower: reject cross-chip redirect\n\ndsa_port_from_netdev() may return a valid port from a different switch\nchip. Programming another chip\u0027s port index into the local hardware\ncauses redirection to the wrong port, or an out-of-bounds access if the\nindex exceeds the local chip\u0027s port count.\n\nApply a minimal fix that adds a check to catch this case and adjusts the\nextack message. When cls-\u003ecommon.skip_sw is not set, the operation could\ninstead redirect to the upstream port and let the software or upstream\nswitch(es) handle the forward, but that is not addressed here."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-03T10:58:19.848Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/6bf5158af52a5293e9160d8f2992c629ca14aa7d"
        },
        {
          "url": "https://git.kernel.org/stable/c/277f8611e017d3ff1ab06af58a6c538b55da1cc8"
        },
        {
          "url": "https://git.kernel.org/stable/c/eb177aa00c392de3dc530c34f173a962216f82dd"
        },
        {
          "url": "https://git.kernel.org/stable/c/d0e54098c072b6064cdcf8039075ada8b88583da"
        },
        {
          "url": "https://git.kernel.org/stable/c/c999cc39775381b68ed66eae57c1425452672c0f"
        },
        {
          "url": "https://git.kernel.org/stable/c/abd7511e12b231798332afa04ed9bee9e84f9445"
        },
        {
          "url": "https://git.kernel.org/stable/c/cfa5274a5dc2a23b957da5dc806d2ac0c7a66af0"
        }
      ],
      "title": "net: dsa: sja1105: flower: reject cross-chip redirect",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-97435",
    "datePublished": "2026-09-24T16:03:48.116Z",
    "dateReserved": "2026-09-24T14:53:16.869Z",
    "dateUpdated": "2026-10-03T10:58:19.848Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


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…