{"id":"CVE-2026-97435","summary":"net: dsa: sja1105: flower: reject cross-chip redirect","details":"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's 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's 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.","modified":"2026-10-22T10:32:02.719048259Z","published":"2026-09-24T16:03:48.116Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97435.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/277f8611e017d3ff1ab06af58a6c538b55da1cc8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6bf5158af52a5293e9160d8f2992c629ca14aa7d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/abd7511e12b231798332afa04ed9bee9e84f9445"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c999cc39775381b68ed66eae57c1425452672c0f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cfa5274a5dc2a23b957da5dc806d2ac0c7a66af0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d0e54098c072b6064cdcf8039075ada8b88583da"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eb177aa00c392de3dc530c34f173a962216f82dd"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97435.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97435"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"dfacc5a23e227cabdff41b6202f510398e90d36b"},{"fixed":"6bf5158af52a5293e9160d8f2992c629ca14aa7d"},{"fixed":"277f8611e017d3ff1ab06af58a6c538b55da1cc8"},{"fixed":"eb177aa00c392de3dc530c34f173a962216f82dd"},{"fixed":"d0e54098c072b6064cdcf8039075ada8b88583da"},{"fixed":"c999cc39775381b68ed66eae57c1425452672c0f"},{"fixed":"abd7511e12b231798332afa04ed9bee9e84f9445"},{"fixed":"cfa5274a5dc2a23b957da5dc806d2ac0c7a66af0"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-97435.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.8.0"},{"fixed":"5.10.271"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.222"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.189"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.158"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.111"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.53"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-97435.json"}}],"schema_version":"1.9.2"}