{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-22107","id":"CVE-2025-22107","title":"net: dsa: sja1105: fix kasan out-of-bounds warning in sja1105_table_delete_entry()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: dsa: sja1105: fix kasan out-of-bounds warning in sja1105_table_delete_entry()\n\nThere are actually 2 problems:\n- deleting the last element doesn't require the memmove of elements\n  [i + 1, end) over it. Actually, element i+1 is out of bounds.\n- The memmove itself should move size - i - 1 elements, because the last\n  element i","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: dsa: sja1105: fix kasan out-of-bounds warning in sja1105_table_delete_entry()\n\nThere are actually 2 problems:\n- deleting the last element doesn't require the memmove of elements\n  [i + 1, end) over it. Actually, element i+1 is out of bounds.\n- The memmove itself should move size - i - 1 elements, because the last\n  element is out of bounds.\n\nThe out-of-bounds element still remains out of bounds after being\naccessed, so the problem is only that we touch it, not that it becomes\nin active use. But I suppose it can lead to issues if the out-of-bounds\nelement is part of an unmapped page.","published":"2025-04-16T14:12:55.109Z","updated":"2026-11-12T02:30:26.030571487Z","reserved":"2024-12-29T08:45:45.820Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"NVD"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6666cebc5e306f49a25bd20aa8c1cb8ef8950df5","lessThan":"f85b9bfb08ba2b642d1810c6c4ae1e7b46f1776a","status":"affected","versionType":"git"},{"version":"6666cebc5e306f49a25bd20aa8c1cb8ef8950df5","lessThan":"f117d0467215d7f1d445ae16d2c799637e63dc6c","status":"affected","versionType":"git"},{"version":"6666cebc5e306f49a25bd20aa8c1cb8ef8950df5","lessThan":"b52153da1f42e2f4d6259257a7ba027331671a93","status":"affected","versionType":"git"},{"version":"6666cebc5e306f49a25bd20aa8c1cb8ef8950df5","lessThan":"4584486cfcca24b7b586da3377eb3cffd48669ec","status":"affected","versionType":"git"},{"version":"6666cebc5e306f49a25bd20aa8c1cb8ef8950df5","lessThan":"031e00249e9e6bee72ba66701c8f83b45fc4b8a2","status":"affected","versionType":"git"},{"version":"6666cebc5e306f49a25bd20aa8c1cb8ef8950df5","lessThan":"59b97641de03c081f26b3a8876628c765b5faa25","status":"affected","versionType":"git"},{"version":"6666cebc5e306f49a25bd20aa8c1cb8ef8950df5","lessThan":"5f2b28b79d2d1946ee36ad8b3dc0066f73c90481","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.2","status":"affected"},{"version":"0","lessThan":"5.2","status":"unaffected","versionType":"semver"},{"version":"5.10.258","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.209","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.160","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.120","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.59","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.14.2","lessThanOrEqual":"6.14.*","status":"unaffected","versionType":"semver"},{"version":"6.15","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-125"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/f85b9bfb08ba2b642d1810c6c4ae1e7b46f1776a","tags":["web"]},{"url":"https://git.kernel.org/stable/c/f117d0467215d7f1d445ae16d2c799637e63dc6c","tags":["web"]},{"url":"https://git.kernel.org/stable/c/b52153da1f42e2f4d6259257a7ba027331671a93","tags":["web"]},{"url":"https://git.kernel.org/stable/c/4584486cfcca24b7b586da3377eb3cffd48669ec","tags":["web"]},{"url":"https://git.kernel.org/stable/c/031e00249e9e6bee72ba66701c8f83b45fc4b8a2","tags":["web"]},{"url":"https://git.kernel.org/stable/c/59b97641de03c081f26b3a8876628c765b5faa25","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/5f2b28b79d2d1946ee36ad8b3dc0066f73c90481","tags":["Patch","web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/22xxx/CVE-2025-22107.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22107","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00223,"epssPercentile":0.13064,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-22107","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22107","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-22107","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-22107","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}