---
id: CVE-2026-97435
title: |-
  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
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 inde…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= dfacc5a23e227cabdff41b6202f510398e90d36b <
    6bf5158af52a5293e9160d8f2992c629ca14aa7d
  - >-
    Linux >= dfacc5a23e227cabdff41b6202f510398e90d36b <
    277f8611e017d3ff1ab06af58a6c538b55da1cc8
  - >-
    Linux >= dfacc5a23e227cabdff41b6202f510398e90d36b <
    eb177aa00c392de3dc530c34f173a962216f82dd
  - >-
    Linux >= dfacc5a23e227cabdff41b6202f510398e90d36b <
    d0e54098c072b6064cdcf8039075ada8b88583da
  - >-
    Linux >= dfacc5a23e227cabdff41b6202f510398e90d36b <
    c999cc39775381b68ed66eae57c1425452672c0f
  - >-
    Linux >= dfacc5a23e227cabdff41b6202f510398e90d36b <
    abd7511e12b231798332afa04ed9bee9e84f9445
  - >-
    Linux >= dfacc5a23e227cabdff41b6202f510398e90d36b <
    cfa5274a5dc2a23b957da5dc806d2ac0c7a66af0
  - Linux 5.8
published: '2026-09-24'
updated: '2026-10-03'
sourceUpdated: '2026-10-03T11:17:54.967'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-97435'
references:
  - url: 'https://git.kernel.org/stable/c/277f8611e017d3ff1ab06af58a6c538b55da1cc8'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/6bf5158af52a5293e9160d8f2992c629ca14aa7d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/abd7511e12b231798332afa04ed9bee9e84f9445'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/c999cc39775381b68ed66eae57c1425452672c0f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/cfa5274a5dc2a23b957da5dc806d2ac0c7a66af0'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d0e54098c072b6064cdcf8039075ada8b88583da'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/eb177aa00c392de3dc530c34f173a962216f82dd'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
epss: 0.00173
epssPercentile: 0.06638
ingestedAt: '2026-09-24T16:47:15.880Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
