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.
Published: 2026-09-24
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Out-of-Bounds Access
Action: Apply Patch
AI Analysis

Impact

The flaw resides in the Linux kernel’s dsa_port_from_netdev() function used by the SJA1105 switch driver. It can return a port that belongs to a different chip, and the driver then uses that port index to program local hardware. If the index exceeds the local chip’s port count, the code performs an out-of-bounds memory access. The impact is limited to this memory read; the description does not claim a crash, denial of service, or more severe damage.

Affected Systems

This vulnerability applies to any system running a Linux kernel that includes the dsa_port_from_netdev() implementation for the sja1105 switch driver. All kernels that have not yet adopted the upstream patch before the commit abd7511e12b231798332afa04ed9bee9e84f9445 are potentially affected. No specific kernel version range is listed, so the risk covers any current kernel build that contains the vulnerable driver.

Risk and Exploitability

The CVSS score of 5.5 indicates moderate severity. The EPSS score of less than 1 % suggests that exploitation is unlikely in the short term. The vulnerability is not listed in CISA KEV. The likely attack vector is a network engineer or attacker who can inject crafted frames that cause dsa_port_from_netdev() to return a cross‑chip port, requiring physical or network access to the switch fabric. Based on the description, it is inferred that the exploit would be limited to an out-of-bounds memory read and would not provide remote code execution or full system compromise.

Generated by OpenCVE AI on October 1, 2026 at 21:29 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that contains the patch corresponding to commit abd7511e12b231798332afa04ed9bee9e84f9445, or install the latest stable kernel release that includes the fix.
  • Reboot the affected system after the kernel update so that the patched dsa driver replaces the vulnerable code during boot.
  • If a kernel upgrade cannot be performed immediately, limit inbound traffic to trusted sources or otherwise restrict the ability to inject malicious frames that would trigger the erroneous port lookup.

Generated by OpenCVE AI on October 1, 2026 at 21:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6528-1 linux security update
History

Sat, 03 Oct 2026 11:15:00 +0000


Thu, 01 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787

Wed, 30 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Fri, 25 Sep 2026 04:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787

Thu, 24 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
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.
Title net: dsa: sja1105: flower: reject cross-chip redirect
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-03T10:58:19.848Z

Reserved: 2026-09-24T14:53:16.869Z

Link: CVE-2026-97435

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-24T17:17:21.573

Modified: 2026-10-03T11:17:54.967

Link: CVE-2026-97435

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-24T00:00:00Z

Links: CVE-2026-97435 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T21:30:13Z

Weaknesses