{"id":"CVE-2026-52935","aliases":["CVE-2026-52935"],"related":[],"kind":"vulnerability","state":"published","title":"xfrm: espintcp: do not reuse an in-progress partial send","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfrm: espintcp: do not reuse an in-progress partial send\n\nespintcp keeps a single in-flight transmit in ctx->partial.\nBefore building a new sk_msg, espintcp_sendmsg() first tries to flush\nthat state through espintcp_push_msgs().\n\nFor blocking callers, espintcp_push_msgs() may return success even when\nthe previous partial send is still pending. espintcp_sendmsg() would\nthen reinitialize emsg->skmsg and reuse ctx->partial while the old\ntransfer still owns that state.\n\nDo not rebuild the send message when ctx->partial is still in progress.\nIf espintcp_push_msgs() returns with emsg->len still set, fail the new\nsend instead of overwriting the live partial state.\n\nThis is a memory-safety fix: reusing the live partial-send state can\nleave a stale offset attached to a new sk_msg and lead to an out-of-\nbounds read in the send path.\n\ntcp_sendmsg_locked() already handles waiting for send buffer memory, so\nthe fix here is just to preserve espintcp's one-message-at-a-time\ntransmit state.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfrm: espintcp: do not reuse an in-progress partial send\n\nespintcp keeps a single in-flight transmit in ctx->partial.\nBefore building a new sk_msg, espintcp_sendmsg() first tries to flush\nthat state through espintcp_push_msgs().\n\nFor blocking callers, espintcp_push_msgs() may return success even when\nthe previous partial send is still pending. espintcp_sendmsg() would\nthen reinitialize emsg->skmsg and reuse ctx->partial while the old\ntransfer still owns that state.\n\nDo not rebuild the send message when ctx->partial is still in progress.\nIf espintcp_push_msgs() returns with emsg->len still set, fail the new\nsend instead of overwriting the live partial state.\n\nThis is a memory-safety fix: reusing the live partial-send state can\nleave a stale offset attached to a new sk_msg and lead to an out-of-\nbounds read in the send path.\n\ntcp_sendmsg_locked() already handles waiting for send buffer memory, so\nthe fix here is just to preserve espintcp's one-message-at-a-time\ntransmit state.","source":"cvelist"}],"published":"2026-06-24T07:14:25.988Z","modified":"2026-10-19T20:18:48.303Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-362","CWE-787"],"affected":[{"ranges":[{"type":"git","introduced":"e27cca96cd68fa2c6814c90f9a1cfd36bb68c593","fixed":"6564e9c7af7e1dc7bfe7f3093b728abe484d7630","status":"affected"},{"type":"git","introduced":"e27cca96cd68fa2c6814c90f9a1cfd36bb68c593","fixed":"1777ceac4bea5e568a5ad44b7f9bb219c1db21b6","status":"affected"},{"type":"git","introduced":"e27cca96cd68fa2c6814c90f9a1cfd36bb68c593","fixed":"8c6c691bf062dc0753a139a4ab8cb92a70fcf8f3","status":"affected"},{"type":"git","introduced":"e27cca96cd68fa2c6814c90f9a1cfd36bb68c593","fixed":"aa82a078f70f7ff88ba7d1017134e79d1ac140f2","status":"affected"},{"type":"git","introduced":"e27cca96cd68fa2c6814c90f9a1cfd36bb68c593","fixed":"ba21439302db9a82fe4edbed1e38a97271529421","status":"affected"},{"type":"git","introduced":"e27cca96cd68fa2c6814c90f9a1cfd36bb68c593","fixed":"f9b38a8fbfa07f1deaf7ee1eb38fa8b21ea13990","status":"affected"},{"type":"git","introduced":"e27cca96cd68fa2c6814c90f9a1cfd36bb68c593","fixed":"37487d55bf3300e3d2c1368da5c2bd3e3834ea4f","status":"affected"},{"type":"git","introduced":"e27cca96cd68fa2c6814c90f9a1cfd36bb68c593","fixed":"c381039ade2e161ab08c0eda73c4f8b9a7115928","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.6","status":"unaffected"},{"type":"semver","introduced":"5.10.259","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.210","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.176","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.143","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.94","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.36","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.13","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.6","fixed":"5.10.259"},{"status":"affected","introduced":"5.11","fixed":"5.15.210"},{"status":"affected","introduced":"5.16","fixed":"6.1.176"},{"status":"affected","introduced":"6.2","fixed":"6.6.143"},{"status":"affected","introduced":"6.7","fixed":"6.12.94"},{"status":"affected","introduced":"6.13","fixed":"6.18.36"},{"status":"affected","introduced":"6.19","fixed":"7.0.13"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/6564e9c7af7e1dc7bfe7f3093b728abe484d7630","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1777ceac4bea5e568a5ad44b7f9bb219c1db21b6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8c6c691bf062dc0753a139a4ab8cb92a70fcf8f3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aa82a078f70f7ff88ba7d1017134e79d1ac140f2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ba21439302db9a82fe4edbed1e38a97271529421","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f9b38a8fbfa07f1deaf7ee1eb38fa8b21ea13990","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/37487d55bf3300e3d2c1368da5c2bd3e3834ea4f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c381039ade2e161ab08c0eda73c4f8b9a7115928","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T15:23:01.117Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-52935","url":"https://www.cve.org/CVERecord?id=CVE-2026-52935","licence":"CVE Terms of Use","modified":"2026-10-19T19:47:08.440Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-52935","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52935","licence":"Public domain","modified":"2026-10-19T20:18:48.303Z"}],"updatedAt":"2026-11-25T22:59:25.589Z","epss":{"score":0.00096,"percentile":0.00742,"date":"2026-12-01T12:00:22.000Z"}}