CVE-2026-52935
xfrm: espintcp: do not reuse an in-progress partial send
Description
In the Linux kernel, the following vulnerability has been resolved: xfrm: espintcp: do not reuse an in-progress partial send espintcp keeps a single in-flight transmit in ctx->partial. Before building a new sk_msg, espintcp_sendmsg() first tries to flush that state through espintcp_push_msgs(). For blocking callers, espintcp_push_msgs() may return success even when the previous partial send is still pending. espintcp_sendmsg() would then reinitialize emsg->skmsg and reuse ctx->partial while the old transfer still owns that state. Do not rebuild the send message when ctx->partial is still in progress. If espintcp_push_msgs() returns with emsg->len still set, fail the new send instead of overwriting the live partial state. This is a memory-safety fix: reusing the live partial-send state can leave a stale offset attached to a new sk_msg and lead to an out-of- bounds read in the send path. tcp_sendmsg_locked() already handles waiting for send buffer memory, so the fix here is just to preserve espintcp's one-message-at-a-time transmit state.
INFO
Published Date :
June 24, 2026, 8:16 a.m.
Last Modified :
July 8, 2026, 8:35 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Update the Linux kernel to the resolved version.
- Do not rebuild send message if partial state is in progress.
- Fail new send if previous partial send is still pending.
- Preserve transmit state to prevent overwriting live partial state.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-52935.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-52935 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-52935
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-52935 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-52935 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 08, 2026
Action Type Old Value New Value Added CWE CWE-787 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.176 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.143 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.210 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.36 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.94 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 7.0.13 *cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.1:rc7:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.6 up to (excluding) 5.10.259 Added Reference Type kernel.org: https://git.kernel.org/stable/c/1777ceac4bea5e568a5ad44b7f9bb219c1db21b6 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/37487d55bf3300e3d2c1368da5c2bd3e3834ea4f Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6564e9c7af7e1dc7bfe7f3093b728abe484d7630 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/8c6c691bf062dc0753a139a4ab8cb92a70fcf8f3 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/aa82a078f70f7ff88ba7d1017134e79d1ac140f2 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ba21439302db9a82fe4edbed1e38a97271529421 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c381039ade2e161ab08c0eda73c4f8b9a7115928 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/f9b38a8fbfa07f1deaf7ee1eb38fa8b21ea13990 Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 28, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 24, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'e27cca96cd68fa2c6814c90f9a1cfd36bb68c593', 'lessThan': '6564e9c7af7e1dc7bfe7f3093b728abe484d7630', 'versionType': 'git'}, {'status': 'affected', 'version': 'e27cca96cd68fa2c6814c90f9a1cfd36bb68c593', 'lessThan': '1777ceac4bea5e568a5ad44b7f9bb219c1db21b6', 'versionType': 'git'}, {'status': 'affected', 'version': 'e27cca96cd68fa2c6814c90f9a1cfd36bb68c593', 'lessThan': '8c6c691bf062dc0753a139a4ab8cb92a70fcf8f3', 'versionType': 'git'}, {'status': 'affected', 'version': 'e27cca96cd68fa2c6814c90f9a1cfd36bb68c593', 'lessThan': 'aa82a078f70f7ff88ba7d1017134e79d1ac140f2', 'versionType': 'git'}, {'status': 'affected', 'version': 'e27cca96cd68fa2c6814c90f9a1cfd36bb68c593', 'lessThan': 'ba21439302db9a82fe4edbed1e38a97271529421', 'versionType': 'git'}, {'status': 'affected', 'version': 'e27cca96cd68fa2c6814c90f9a1cfd36bb68c593', 'lessThan': 'f9b38a8fbfa07f1deaf7ee1eb38fa8b21ea13990', 'versionType': 'git'}, {'status': 'affected', 'version': 'e27cca96cd68fa2c6814c90f9a1cfd36bb68c593', 'lessThan': '37487d55bf3300e3d2c1368da5c2bd3e3834ea4f', 'versionType': 'git'}, {'status': 'affected', 'version': 'e27cca96cd68fa2c6814c90f9a1cfd36bb68c593', 'lessThan': 'c381039ade2e161ab08c0eda73c4f8b9a7115928', 'versionType': 'git'}], 'programFiles': ['net/xfrm/espintcp.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.6'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.6', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.259', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.210', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.176', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.143', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.94', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.36', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.0.13', 'versionType': 'semver', 'lessThanOrEqual': '7.0.*'}, {'status': 'unaffected', 'version': '7.1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/xfrm/espintcp.c'], 'defaultStatus': 'affected'}] Added Description In the Linux kernel, the following vulnerability has been resolved: xfrm: espintcp: do not reuse an in-progress partial send espintcp keeps a single in-flight transmit in ctx->partial. Before building a new sk_msg, espintcp_sendmsg() first tries to flush that state through espintcp_push_msgs(). For blocking callers, espintcp_push_msgs() may return success even when the previous partial send is still pending. espintcp_sendmsg() would then reinitialize emsg->skmsg and reuse ctx->partial while the old transfer still owns that state. Do not rebuild the send message when ctx->partial is still in progress. If espintcp_push_msgs() returns with emsg->len still set, fail the new send instead of overwriting the live partial state. This is a memory-safety fix: reusing the live partial-send state can leave a stale offset attached to a new sk_msg and lead to an out-of- bounds read in the send path. tcp_sendmsg_locked() already handles waiting for send buffer memory, so the fix here is just to preserve espintcp's one-message-at-a-time transmit state. Added Reference https://git.kernel.org/stable/c/1777ceac4bea5e568a5ad44b7f9bb219c1db21b6 Added Reference https://git.kernel.org/stable/c/37487d55bf3300e3d2c1368da5c2bd3e3834ea4f Added Reference https://git.kernel.org/stable/c/6564e9c7af7e1dc7bfe7f3093b728abe484d7630 Added Reference https://git.kernel.org/stable/c/8c6c691bf062dc0753a139a4ab8cb92a70fcf8f3 Added Reference https://git.kernel.org/stable/c/aa82a078f70f7ff88ba7d1017134e79d1ac140f2 Added Reference https://git.kernel.org/stable/c/ba21439302db9a82fe4edbed1e38a97271529421 Added Reference https://git.kernel.org/stable/c/c381039ade2e161ab08c0eda73c4f8b9a7115928 Added Reference https://git.kernel.org/stable/c/f9b38a8fbfa07f1deaf7ee1eb38fa8b21ea13990