CVE-2025-22107
net: dsa: sja1105: fix kasan out-of-bounds warning in sja1105_table_delete_entry()
Mitigation
- Upgrade Linux to 5f2b28b79d2d1946ee36ad8b3dc0066f73c90481 or later.
Who should check
- Anyone running Linux >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < f85b9bfb08ba2b642d1810c6c4ae1e7b46f1776a; >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < f117d0467215d7f1d445ae16d2c799637e63dc6c; >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < b52153da1f42e2f4d6259257a7ba027331671a93; >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < 4584486cfcca24b7b586da3377eb3cffd48669ec; >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < 031e00249e9e6bee72ba66701c8f83b45fc4b8a2; >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < 59b97641de03c081f26b3a8876628c765b5faa25; >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < 5f2b28b79d2d1946ee36ad8b3dc0066f73c90481
- Anyone running Linux 5.2
Vulnerability facts
- Affected
- Linux >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < f85b9bfb08ba2b642d1810c6c4ae1e7b46f1776a; >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < f117d0467215d7f1d445ae16d2c799637e63dc6c; >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < b52153da1f42e2f4d6259257a7ba027331671a93; >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < 4584486cfcca24b7b586da3377eb3cffd48669ec; >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < 031e00249e9e6bee72ba66701c8f83b45fc4b8a2; >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < 59b97641de03c081f26b3a8876628c765b5faa25; >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < 5f2b28b79d2d1946ee36ad8b3dc0066f73c90481; Linux 5.2
- Fixed in
- Linux 4584486cfcca24b7b586da3377eb3cffd48669ec, Linux 031e00249e9e6bee72ba66701c8f83b45fc4b8a2, Linux 59b97641de03c081f26b3a8876628c765b5faa25, Linux 5f2b28b79d2d1946ee36ad8b3dc0066f73c90481
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.1 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- CWE
- CWE-125
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < f85b9bfb08ba2b642d1810c6c4ae1e7b46f1776a; >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < f117d0467215d7f1d445ae16d2c799637e63dc6c; >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < b52153da1f42e2f4d6259257a7ba027331671a93; >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < 4584486cfcca24b7b586da3377eb3cffd48669ec; >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < 031e00249e9e6bee72ba66701c8f83b45fc4b8a2; >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < 59b97641de03c081f26b3a8876628c765b5faa25; >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < 5f2b28b79d2d1946ee36ad8b3dc0066f73c90481 | — | cvelist |
| Linux | 5.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-22107. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-22107.md Affected: Linux >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < f85b9bfb08ba2b642d1810c6c4ae1e7b46f1776a; >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < f117d0467215d7f1d445ae16d2c799637e63dc6c; >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < b52153da1f42e2f4d6259257a7ba027331671a93; >= 6666cebc5e306f49a25bd20… Fixed in: Linux 4584486cfcca24b7b586da3377eb3cffd48669ec, Linux 031e00249e9e6bee72ba66701c8f83b45fc4b8a2, Linux 59b97641de03c081f26b3a8876628c765b5faa25, Linux 5f2b28b79d2d1946ee36ad8b3dc0066f73c90481 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
Other
- https://git.kernel.org/stable/c/f85b9bfb08ba2b642d1810c6c4ae1e7b46f1776a
- https://git.kernel.org/stable/c/f117d0467215d7f1d445ae16d2c799637e63dc6c
- https://git.kernel.org/stable/c/b52153da1f42e2f4d6259257a7ba027331671a93
- https://git.kernel.org/stable/c/4584486cfcca24b7b586da3377eb3cffd48669ec
- https://git.kernel.org/stable/c/031e00249e9e6bee72ba66701c8f83b45fc4b8a2
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html
FAQ
Is CVE-2025-22107 being exploited?
There is no confirmed exploitation: CVE-2025-22107 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-22107?
High: CVSS 7.1 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-22107?
Linux >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < f85b9bfb08ba2b642d1810c6c4ae1e7b46f1776a; >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < f117d0467215d7f1d445ae16d2c799637e63dc6c; >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < b52153da1f42e2f4d6259257a7ba027331671a93; >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < 4584486cfcca24b7b586da3377eb3cffd48669ec; >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < 031e00249e9e6bee72ba66701c8f83b45fc4b8a2; >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < 59b97641de03c081f26b3a8876628c765b5faa25; >= 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5, < 5f2b28b79d2d1946ee36ad8b3dc0066f73c90481; Linux 5.2.
Is there a fix for CVE-2025-22107?
Yes. Fixed in Linux 4584486cfcca24b7b586da3377eb3cffd48669ec, Linux 031e00249e9e6bee72ba66701c8f83b45fc4b8a2, Linux 59b97641de03c081f26b3a8876628c765b5faa25, Linux 5f2b28b79d2d1946ee36ad8b3dc0066f73c90481. Upgrade Linux to 5f2b28b79d2d1946ee36ad8b3dc0066f73c90481 or later.
How do I check if I'm affected by CVE-2025-22107?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.