CVE-2026-43254
published high CVSS 3.1 · 7.5ovpn: tcp - fix packet extraction from stream
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux11851cbd60ea1e5abbd97619d69845ead99303d6 to < 0315bec883c67fa1413c61e504a28dc5bd02eb37 · 11851cbd60ea1e5abbd97619d69845ead99303d6 to < 7dba6cd7fb168d7615194a631c9c100c1c224131 · 11851cbd60ea1e5abbd97619d69845ead99303d6 to < d4f687fbbce45b5e88438e89b5e26c0c15847992 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.16 (affected) · 0 to < 6.16 (unaffected · semver) · 6.18.16 through 6.18.* (unaffected · semver) · 6.19.6 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1702 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | kernel6.18aarch64 | Listed in advisory | Not stated | ALAS2023-2026-1702 |
| Amazon Linux | AL2023 | kernel6.18src | Listed in advisory | Not stated | ALAS2023-2026-1702 |
| Amazon Linux | AL2023 | kernel6.18x86_64 | Listed in advisory | Not stated | ALAS2023-2026-1702 |
Description
In the Linux kernel, the following vulnerability has been resolved: ovpn: tcp - fix packet extraction from stream When processing TCP stream data in ovpn_tcp_recv, we receive large cloned skbs from __strp_rcv that may contain multiple coalesced packets. The current implementation has two bugs: 1. Header offset overflow: Using pskb_pull with large offsets on coalesced skbs causes skb->data - skb->head to exceed the u16 storage of skb->network_header. This causes skb_reset_network_header to fail on the inner decapsulated packet, resulting in packet drops. 2. Unaligned protocol headers: Extracting packets from arbitrary positions within the coalesced TCP stream provides no alignment guarantees for the packet data causing performance penalties on architectures without efficient unaligned access. Additionally, openvpn's 2-byte length prefix on TCP packets causes the subsequent 4-byte opcode and packet ID fields to be inherently misaligned. Fix both issues by allocating a new skb for each openvpn packet and using skb_copy_bits to extract only the packet content into the new buffer, skipping the 2-byte length prefix. Also, check the length before invoking the function that performs the allocation to avoid creating an invalid skb. If the packet has to be forwarded to userspace the 2-byte prefix can be pushed to the head safely, without misalignment. As a side effect, this approach also avoids the expensive linearization that pskb_pull triggers on cloned skbs with page fragments. In testing, this resulted in TCP throughput improvements of up to 74%.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: AV:N - The vulnerable parser is reached by TCP stream data received from a remote OpenVPN peer over the network. AC:L - The attacker controls the TCP byte stream and OpenVPN length-prefixed records; no race or condition outside attacker control is required. PR:N - Local CAP_NET_ADMIN is needed only to configure the ovpn device and attach the socket, not to send the triggering network data once the service is exposed. UI:N - No victim user action is needed beyond the already-running OpenVPN TCP deployment. S:U - The impact remains within the kernel/OpenVPN networking security authority and does not cross a VM, sandbox, or hardware isolation boundary. C:N - The traced path leads to packet extraction/header-offset failure and drops, with no demonstrated kernel memory disclosure primitive. I:N - The bug corrupts skb parsing state/alignment but does not provide a demonstrated ability to modify kernel memory or protected data. A:H - A remote sender can repeatedly trigger packet drops in the ovpn TCP data path, and on strict-alignment systems the unaligned kernel accesses can severely disrupt or crash the data channel.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 11851cbd60ea1e5abbd97619d69845ead99303d6 to < 0315bec883c67fa1413c61e504a28dc5bd02eb37 (affected · git)11851cbd60ea1e5abbd97619d69845ead99303d6 to < 7dba6cd7fb168d7615194a631c9c100c1c224131 (affected · git)11851cbd60ea1e5abbd97619d69845ead99303d6 to < d4f687fbbce45b5e88438e89b5e26c0c15847992 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.16 (affected)0 to < 6.16 (unaffected · semver)6.18.16 through 6.18.* (unaffected · semver)6.19.6 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
ovpn: tcp - fix packet extraction from stream
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bef024bdf3f7f6f5e6c9a23d6d6ad713f20e3a254ef8168927856009cfd4a680
- Ingested
- 23 Sep 2026, 09:14:39 UTC
- Source record
- Official CVE record