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.

Affected products

VendorProductVersions
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <c999cc39775381b68ed66eae57c1425452672c0f; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <abd7511e12b231798332afa04ed9bee9e84f9445; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to <cfa5274a5dc2a23b957da5dc806d2ac0c7a66af0; 0 to <6.12.111; 0 to <6.18.53
LinuxLinux6.12.111 to <=6.12.*; 6.18.53 to <=6.18.*; 7.2 to <=*

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 25 Sep 2026 07:05 UTC.