net: dsa: sja1105: flower: reject cross-chip redirect
Historical advisory recorded 23 Oct 2026 15:48:27 UTC. Read the latest advisory.
cve-program · CVE-2026-97435
PublishedIn 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-97435 · CVE overview and exploitation status
cve-program · CVE-2026-97435
- https://git.kernel.org/stable/c/6bf5158af52a5293e9160d8f2992c629ca14aa7d
- https://git.kernel.org/stable/c/277f8611e017d3ff1ab06af58a6c538b55da1cc8
- https://git.kernel.org/stable/c/eb177aa00c392de3dc530c34f173a962216f82dd
- https://git.kernel.org/stable/c/d0e54098c072b6064cdcf8039075ada8b88583da
- https://git.kernel.org/stable/c/c999cc39775381b68ed66eae57c1425452672c0f
- https://git.kernel.org/stable/c/abd7511e12b231798332afa04ed9bee9e84f9445
- https://git.kernel.org/stable/c/cfa5274a5dc2a23b957da5dc806d2ac0c7a66af0
This historical advisory does not include today's related changes. Open the latest advisory to find current connections.