CVE-2026-97435

net: dsa: sja1105: flower: reject cross-chip redirect

State
Published
Severity
Not scored
Published
Sep 24, 2026
Updated
Oct 3, 2026
Reserved
Sep 24, 2026

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • dfacc5a23e227cabdff41b6202f510398e90d36b to before 6bf5158af52a5293e9160d8f2992c629ca14aa7dAffected
  • dfacc5a23e227cabdff41b6202f510398e90d36b to before 277f8611e017d3ff1ab06af58a6c538b55da1cc8Affected
  • dfacc5a23e227cabdff41b6202f510398e90d36b to before eb177aa00c392de3dc530c34f173a962216f82ddAffected
  • dfacc5a23e227cabdff41b6202f510398e90d36b to before d0e54098c072b6064cdcf8039075ada8b88583daAffected
  • dfacc5a23e227cabdff41b6202f510398e90d36b to before c999cc39775381b68ed66eae57c1425452672c0fAffected
  • dfacc5a23e227cabdff41b6202f510398e90d36b to before abd7511e12b231798332afa04ed9bee9e84f9445Affected
  • dfacc5a23e227cabdff41b6202f510398e90d36b to before cfa5274a5dc2a23b957da5dc806d2ac0c7a66af0Affected
LinuxLinux
  • 5.8Affected
  • before 5.8Not affected
  • 5.10.271 through 5.10.*Not affected
  • 5.15.222 through 5.15.*Not affected
  • 6.1.189 through 6.1.*Not affected
  • 6.6.158 through 6.6.*Not affected
  • 6.12.111 through 6.12.*Not affected
  • 6.18.53 through 6.18.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.