CVE-2026-43254
ovpn: tcp - fix packet extraction from stream
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%.
INFO
Published Date :
May 6, 2026, 12:16 p.m.
Last Modified :
Nov. 11, 2026, 8:10 p.m.
Remotely Exploit :
Yes !
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 latest version.
- Verify the fix is applied to the ovpn module.
- Test for packet drop reduction.
- Monitor system stability.
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-43254.
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-43254 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-43254
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-43254 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-43254 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.
-
CVE Translated by [email protected]
Nov. 11, 2026
Action Type Old Value New Value Added Translation Title: Linux Kernel, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ovpn: tcp - corrige la extracción de paquetes del flujo Al procesar datos de flujo TCP en ovpn_tcp_recv, recibimos skbs clonados grandes de __strp_rcv que pueden contener múltiples paquetes fusionados. La implementación actual tiene dos errores: 1. Desbordamiento de desplazamiento de cabecera: Usar pskb_pull con grandes desplazamientos en skbs fusionados hace que skb -> data - skb -> head exceda el almacenamiento u16 de skb -> network_header. Esto hace que skb_reset_network_header falle en el paquete interno desencapsulado, lo que resulta en pérdidas de paquetes. 2. Cabeceras de protocolo no alineadas: Extraer paquetes de posiciones arbitrarias dentro del flujo TCP fusionado no proporciona garantías de alineación para los datos del paquete, causando penalizaciones de rendimiento en arquitecturas sin acceso no alineado eficiente. Además, el prefijo de longitud de 2 bytes de openvpn en los paquetes TCP hace que los campos subsiguientes de código de operación de 4 bytes e ID de paquete estén inherentemente desalineados. Soluciona ambos problemas asignando un nuevo skb para cada paquete openvpn y usando skb_copy_bits para extraer solo el contenido del paquete en el nuevo búfer, omitiendo el prefijo de longitud de 2 bytes. Además, verifica la longitud antes de invocar la función que realiza la asignación para evitar crear un skb inválido. Si el paquete tiene que ser reenviado al espacio de usuario, el prefijo de 2 bytes puede ser empujado a la cabecera de forma segura, sin desalineación. Como efecto secundario, este enfoque también evita la costosa linealización que pskb_pull desencadena en skbs clonados con fragmentos de página. En las pruebas, esto resultó en mejoras de rendimiento TCP de hasta el 74%. -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 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': '11851cbd60ea1e5abbd97619d69845ead99303d6', 'lessThan': '0315bec883c67fa1413c61e504a28dc5bd02eb37', 'versionType': 'git'}, {'status': 'affected', 'version': '11851cbd60ea1e5abbd97619d69845ead99303d6', 'lessThan': '7dba6cd7fb168d7615194a631c9c100c1c224131', 'versionType': 'git'}, {'status': 'affected', 'version': '11851cbd60ea1e5abbd97619d69845ead99303d6', 'lessThan': 'd4f687fbbce45b5e88438e89b5e26c0c15847992', 'versionType': 'git'}], 'programFiles': ['drivers/net/ovpn/tcp.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.16'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.16', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.18.16', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '6.19.6', 'versionType': 'semver', 'lessThanOrEqual': '6.19.*'}, {'status': 'unaffected', 'version': '7.0', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/net/ovpn/tcp.c'], 'defaultStatus': 'affected'}] -
Initial Analysis by [email protected]
May. 11, 2026
Action Type Old Value New Value Added CWE CWE-190 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 6.19.6 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.16 up to (excluding) 6.18.16 Added Reference Type kernel.org: https://git.kernel.org/stable/c/0315bec883c67fa1413c61e504a28dc5bd02eb37 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/7dba6cd7fb168d7615194a631c9c100c1c224131 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/d4f687fbbce45b5e88438e89b5e26c0c15847992 Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 08, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 06, 2026
Action Type Old Value New Value Added 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%. Added Reference https://git.kernel.org/stable/c/0315bec883c67fa1413c61e504a28dc5bd02eb37 Added Reference https://git.kernel.org/stable/c/7dba6cd7fb168d7615194a631c9c100c1c224131 Added Reference https://git.kernel.org/stable/c/d4f687fbbce45b5e88438e89b5e26c0c15847992