{"api_version":"1","generated_at":"2026-07-23T13:42:22+00:00","cve":"CVE-2025-22107","urls":{"html":"https://cve.report/CVE-2025-22107","api":"https://cve.report/api/cve/CVE-2025-22107.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-22107","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-22107"},"summary":{"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 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.","state":"PUBLISHED","assigner":"Linux","published_at":"2025-04-16 15:16:04","updated_at":"2026-07-14 13:17:31"},"problem_types":["CWE-125"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"7.1","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"HIGH"}}],"references":[{"url":"https://git.kernel.org/stable/c/031e00249e9e6bee72ba66701c8f83b45fc4b8a2","name":"https://git.kernel.org/stable/c/031e00249e9e6bee72ba66701c8f83b45fc4b8a2","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5f2b28b79d2d1946ee36ad8b3dc0066f73c90481","name":"https://git.kernel.org/stable/c/5f2b28b79d2d1946ee36ad8b3dc0066f73c90481","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/59b97641de03c081f26b3a8876628c765b5faa25","name":"https://git.kernel.org/stable/c/59b97641de03c081f26b3a8876628c765b5faa25","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b52153da1f42e2f4d6259257a7ba027331671a93","name":"https://git.kernel.org/stable/c/b52153da1f42e2f4d6259257a7ba027331671a93","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f117d0467215d7f1d445ae16d2c799637e63dc6c","name":"https://git.kernel.org/stable/c/f117d0467215d7f1d445ae16d2c799637e63dc6c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","name":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","refsource":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4584486cfcca24b7b586da3377eb3cffd48669ec","name":"https://git.kernel.org/stable/c/4584486cfcca24b7b586da3377eb3cffd48669ec","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f85b9bfb08ba2b642d1810c6c4ae1e7b46f1776a","name":"https://git.kernel.org/stable/c/f85b9bfb08ba2b642d1810c6c4ae1e7b46f1776a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-22107","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22107","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5 f85b9bfb08ba2b642d1810c6c4ae1e7b46f1776a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5 f117d0467215d7f1d445ae16d2c799637e63dc6c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5 b52153da1f42e2f4d6259257a7ba027331671a93 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5 4584486cfcca24b7b586da3377eb3cffd48669ec git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5 031e00249e9e6bee72ba66701c8f83b45fc4b8a2 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5 59b97641de03c081f26b3a8876628c765b5faa25 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6666cebc5e306f49a25bd20aa8c1cb8ef8950df5 5f2b28b79d2d1946ee36ad8b3dc0066f73c90481 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.2","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.258 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.209 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.160 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.120 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.59 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.14.2 6.14.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.15 * original_commit_for_fix","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","version":"affected V3.1.6 * custom","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","version":"affected V3.1.6 * custom","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","version":"affected V3.1.6 * custom","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","version":"affected V3.1.6 * custom","platforms":[]},{"source":"ADP","vendor":"Siemens","product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP","version":"affected V3.1.6 * custom","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2025","cve_id":"22107","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2025","cve_id":"22107","cve":"CVE-2025-22107","epss":"0.001820000","percentile":"0.079820000","score_date":"2026-07-14","updated_at":"2026-07-15 00:14:55"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"affected":[{"defaultStatus":"unknown","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","vendor":"Siemens","versions":[{"lessThan":"*","status":"affected","version":"V3.1.6","versionType":"custom"}]},{"defaultStatus":"unknown","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","vendor":"Siemens","versions":[{"lessThan":"*","status":"affected","version":"V3.1.6","versionType":"custom"}]},{"defaultStatus":"unknown","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","vendor":"Siemens","versions":[{"lessThan":"*","status":"affected","version":"V3.1.6","versionType":"custom"}]},{"defaultStatus":"unknown","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","vendor":"Siemens","versions":[{"lessThan":"*","status":"affected","version":"V3.1.6","versionType":"custom"}]},{"defaultStatus":"unknown","product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP","vendor":"Siemens","versions":[{"lessThan":"*","status":"affected","version":"V3.1.6","versionType":"custom"}]}],"providerMetadata":{"dateUpdated":"2026-07-14T12:40:48.753Z","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","shortName":"siemens-SADP"},"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html"}],"x_adpType":"supplier"}],"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/net/dsa/sja1105/sja1105_static_config.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"f85b9bfb08ba2b642d1810c6c4ae1e7b46f1776a","status":"affected","version":"6666cebc5e306f49a25bd20aa8c1cb8ef8950df5","versionType":"git"},{"lessThan":"f117d0467215d7f1d445ae16d2c799637e63dc6c","status":"affected","version":"6666cebc5e306f49a25bd20aa8c1cb8ef8950df5","versionType":"git"},{"lessThan":"b52153da1f42e2f4d6259257a7ba027331671a93","status":"affected","version":"6666cebc5e306f49a25bd20aa8c1cb8ef8950df5","versionType":"git"},{"lessThan":"4584486cfcca24b7b586da3377eb3cffd48669ec","status":"affected","version":"6666cebc5e306f49a25bd20aa8c1cb8ef8950df5","versionType":"git"},{"lessThan":"031e00249e9e6bee72ba66701c8f83b45fc4b8a2","status":"affected","version":"6666cebc5e306f49a25bd20aa8c1cb8ef8950df5","versionType":"git"},{"lessThan":"59b97641de03c081f26b3a8876628c765b5faa25","status":"affected","version":"6666cebc5e306f49a25bd20aa8c1cb8ef8950df5","versionType":"git"},{"lessThan":"5f2b28b79d2d1946ee36ad8b3dc0066f73c90481","status":"affected","version":"6666cebc5e306f49a25bd20aa8c1cb8ef8950df5","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/dsa/sja1105/sja1105_static_config.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.2"},{"lessThan":"5.2","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.258","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.209","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.160","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.120","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.59","versionType":"semver"},{"lessThanOrEqual":"6.14.*","status":"unaffected","version":"6.14.2","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"6.15","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.258","versionStartIncluding":"5.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.209","versionStartIncluding":"5.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.160","versionStartIncluding":"5.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.120","versionStartIncluding":"5.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.59","versionStartIncluding":"5.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.14.2","versionStartIncluding":"5.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.15","versionStartIncluding":"5.2","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-06-01T16:05:12.395Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/f85b9bfb08ba2b642d1810c6c4ae1e7b46f1776a"},{"url":"https://git.kernel.org/stable/c/f117d0467215d7f1d445ae16d2c799637e63dc6c"},{"url":"https://git.kernel.org/stable/c/b52153da1f42e2f4d6259257a7ba027331671a93"},{"url":"https://git.kernel.org/stable/c/4584486cfcca24b7b586da3377eb3cffd48669ec"},{"url":"https://git.kernel.org/stable/c/031e00249e9e6bee72ba66701c8f83b45fc4b8a2"},{"url":"https://git.kernel.org/stable/c/59b97641de03c081f26b3a8876628c765b5faa25"},{"url":"https://git.kernel.org/stable/c/5f2b28b79d2d1946ee36ad8b3dc0066f73c90481"}],"title":"net: dsa: sja1105: fix kasan out-of-bounds warning in sja1105_table_delete_entry()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2025-22107","datePublished":"2025-04-16T14:12:55.109Z","dateReserved":"2024-12-29T08:45:45.820Z","dateUpdated":"2026-07-14T12:40:48.753Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2025-04-16 15:16:04","lastModifiedDate":"2026-07-14 13:17:31","problem_types":["CWE-125"],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.2}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"6.14.2","matchCriteriaId":"B485FDF4-1B47-438C-876C-E449A567F0DF"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2025","CveId":"22107","Ordinal":"1","Title":"net: dsa: sja1105: fix kasan out-of-bounds warning in sja1105_ta","CVE":"CVE-2025-22107","Year":"2025"},"notes":[{"CveYear":"2025","CveId":"22107","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"net: dsa: sja1105: fix kasan out-of-bounds warning in sja1105_ta"}]}}}