CVE-2025-22107: net: dsa: sja1105: fix kasan out-of-bounds warning in sja1105_table_delete_entry()
In the Linux kernel, the following vulnerability has been resolved:
net: dsa: sja1105: fix kasan out-of-bounds warning in sja1105_table_delete_entry()
There are actually 2 problems:
- deleting the last element doesn't require the memmove of elements
[i + 1, end) over it. Actually, element i+1 is out of bounds.
- The memmove itself should move size - i - 1 elements, because the last
element is out of bounds.
The out-of-bounds element still remains out of bounds after being
accessed, so the problem is only that we touch it, not that it becomes
in active use. But I suppose it can lead to issues if the out-of-bounds
element is part of an unmapped page.
Security readout for executives and security teams
Plain-English summary
CVE-2025-22107 is a Linux kernel issue in the SJA1105 Ethernet switch driver. Deleting a table entry can touch memory just outside the valid table. The public record says the issue is resolved, but gives no CVSS score and no active exploitation evidence. Prioritize systems using this driver or vendor products referencing this CVE.
Executive priority
Treat as targeted operational risk, not broad emergency risk. Prioritize asset owners running Linux-based network or industrial devices, especially where Siemens or SJA1105-based platforms are present. Escalate if a vendor advisory confirms exposure in critical systems.
Technical view
The bug is in sja1105_table_delete_entry(). The deletion path can memmove from element i+1 when i is the last entry, and can move one element too many. The source notes the out-of-bounds element is touched, not put into active use, but it could cause issues if it falls on an unmapped page.
Likely exposure
Exposure appears limited to Linux systems with the SJA1105 DSA switch driver in use, commonly embedded or networking-oriented builds. Siemens references this CVE, but the provided bundle does not identify specific Siemens affected products.
Exploitation context
The bundle does not show CISA KEV listing, public exploitation, exploit code, or a demonstrated attack path. The described impact is an out-of-bounds memory access detected by KASAN, with possible reliability impact if the access reaches unmapped memory.
Researcher notes
Evidence is limited to the CVE record, Linux stable commit references, and a Siemens advisory URL. No CVSS, CWE, exploitability assessment, or complete product matrix is provided. Avoid assuming impact beyond the described out-of-bounds access in the SJA1105 driver.
Mitigation direction
Identify Linux kernels using the sja1105 DSA driver.
Apply vendor or Linux stable kernel updates containing the referenced fixes.
Check Siemens advisory SSA-019113 for product-specific guidance.
Prioritize embedded, industrial, and network devices using affected kernels.
Track distribution advisories for backported fixes.
Validation and detection
Inventory kernel versions and enabled DSA drivers.
Confirm whether the sja1105 module or built-in driver is present.
Map kernel builds against the CVE record and stable commit references.
Review vendor advisories for affected product confirmation.
After updating, verify the kernel includes the referenced stable fix.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2025-22107 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
0CVSS vectors
3Timeline events
1ADP providers
9Source links
Vulnerability timeline
Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.
CVE reservedCVE Program
The CVE ID was reserved by the assigning CNA.
CVE publishedCVE Program
The CVE record was published.
Apr 16, 2025, 14:12 UTC (UTC+00:00)
CVE updatedCVE Program
The CVE record metadata indicates this as the latest update time.