xfrm: espintcp: do not reuse an in-progress partial send
Summary
| CVE | CVE-2026-52935 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-06-24 08:16:23 UTC |
| Updated | 2026-06-24 08:16:23 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 6564e9c7af7e1dc7bfe7f3093b728abe484d7630 git |
Not specified |
| CNA |
Linux |
Linux |
affected e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 1777ceac4bea5e568a5ad44b7f9bb219c1db21b6 git |
Not specified |
| CNA |
Linux |
Linux |
affected e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 8c6c691bf062dc0753a139a4ab8cb92a70fcf8f3 git |
Not specified |
| CNA |
Linux |
Linux |
affected e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 aa82a078f70f7ff88ba7d1017134e79d1ac140f2 git |
Not specified |
| CNA |
Linux |
Linux |
affected e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 ba21439302db9a82fe4edbed1e38a97271529421 git |
Not specified |
| CNA |
Linux |
Linux |
affected e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 f9b38a8fbfa07f1deaf7ee1eb38fa8b21ea13990 git |
Not specified |
| CNA |
Linux |
Linux |
affected e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 37487d55bf3300e3d2c1368da5c2bd3e3834ea4f git |
Not specified |
| CNA |
Linux |
Linux |
affected e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 c381039ade2e161ab08c0eda73c4f8b9a7115928 git |
Not specified |
| CNA |
Linux |
Linux |
affected 5.6 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.6 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.10.259 5.10.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.15.210 5.15.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.1.176 6.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.143 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.94 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.36 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.0.13 7.0.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/6564e9c7af7e1dc7bfe7f3093b728abe484d7630 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/f9b38a8fbfa07f1deaf7ee1eb38fa8b21ea13990 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/c381039ade2e161ab08c0eda73c4f8b9a7115928 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/1777ceac4bea5e568a5ad44b7f9bb219c1db21b6 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/aa82a078f70f7ff88ba7d1017134e79d1ac140f2 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/ba21439302db9a82fe4edbed1e38a97271529421 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/8c6c691bf062dc0753a139a4ab8cb92a70fcf8f3 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/37487d55bf3300e3d2c1368da5c2bd3e3834ea4f |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.