CVEvulnerability

CVE-2026-52935

7.8 HIGH Published 2026-06-24 Modified 2026-10-19 Official page ↗
Status
Modified
Published
2026-06-24
Last modified
2026-10-19
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-362, CWE-787

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.

Affected configurations

• linux linux kernel (>= 5.6 < 5.10.259) • linux linux kernel (>= 5.11 < 5.15.210) • linux linux kernel (>= 5.16 < 6.1.176) • linux linux kernel (>= 6.2 < 6.6.143) • linux linux kernel (>= 6.7 < 6.12.94) • linux linux kernel (>= 6.13 < 6.18.36) • linux linux kernel (>= 6.19 < 7.0.13) • linux linux kernel 7.1

Related

Weakness · CWE (2)

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization weakness
  • CWE-787 Out-of-bounds Write weakness

References