CVE-2026-52935

Source
https://cve.org/CVERecord?id=CVE-2026-52935
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52935.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-52935
Downstream
Published
2026-06-24T07:14:25.988Z
Modified
2026-07-08T08:09:44.205096433Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
xfrm: espintcp: do not reuse an in-progress partial send
Details

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 skmsg, espintcpsendmsg() first tries to flush that state through espintcppushmsgs().

For blocking callers, espintcppushmsgs() 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 espintcppushmsgs() 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.

tcpsendmsglocked() already handles waiting for send buffer memory, so the fix here is just to preserve espintcp's one-message-at-a-time transmit state.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52935.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e27cca96cd68fa2c6814c90f9a1cfd36bb68c593
Fixed
6564e9c7af7e1dc7bfe7f3093b728abe484d7630
Fixed
1777ceac4bea5e568a5ad44b7f9bb219c1db21b6
Fixed
8c6c691bf062dc0753a139a4ab8cb92a70fcf8f3
Fixed
aa82a078f70f7ff88ba7d1017134e79d1ac140f2
Fixed
ba21439302db9a82fe4edbed1e38a97271529421
Fixed
f9b38a8fbfa07f1deaf7ee1eb38fa8b21ea13990
Fixed
37487d55bf3300e3d2c1368da5c2bd3e3834ea4f
Fixed
c381039ade2e161ab08c0eda73c4f8b9a7115928

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52935.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.6.0
Fixed
5.10.259
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.210
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.176
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.143
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.94
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.36
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.13

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52935.json"