KernelScan.io

HIGH Introduced in 5.6

xfrm ESPinTCP OOB

CVE-2026-98417

CVSS 7.1 / 10.0 KernelScan AI

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

01

In the Linux kernel, the following vulnerability has been resolved: net: xfrm: reject unrepresentable espintcp transport headers ESP-in-TCP can hand xfrm packets whose transport header offset no longer fits after the stream parser trims the TCP envelope. The plain transport header reset truncates that offset and triggers the skb warning path. Use the careful transport-header helper and drop the skb through the existing XFRM error path when the offset cannot be represented.

02

Engine v0.9.0

Risk summary

An unauthenticated remote attacker can send crafted ESP-in-TCP packets that cause the kernel to read beyond the packet buffer, triggering a kernel warning and packet drop. This results in a denial of service for IPsec-over-TCP connections. No privilege escalation or information leak is possible.

Affectednet/xfrm/espintcp.c (xfrm ESP-in-TCP)

Vulnerability analysis

The ESP-in-TCP stream parser trims the TCP envelope from received packets before handing them to the XFRM layer. In certain cases, the resulting transport header offset no longer fits within the skb's representable range. The original code unconditionally reset the transport header, which truncated the offset and triggered a kernel warning path. The fix replaces the unconditional reset with a careful helper that validates the offset first; if the offset cannot be represented, the packet is dropped through the existing XFRM error path instead of triggering a warning. This vulnerability is reachable from the network by any peer capable of sending ESP-in-TCP traffic (RFC 8229) to a host with the feature enabled. No authentication or local access is required.

03

BranchIntroducedFixed inPatch commit
5.105.65.10.271d37a5b87577c
5.155.65.15.2226c29681207bc
6.15.66.1.1894a8243fd2e21
6.125.66.12.112327b2a457dd7
6.185.66.18.54cce630c75127
6.65.66.6.158b2b84e73e038
7.25.67.2.8206f396f4614
mainline5.67.396f01b53c2d0
cip/5.105.65.10.271-cip78d37a5b87577c
cip/5.10-rt5.65.10.272-cip79-rt35d37a5b87577c
cip/6.15.66.1.189-cip614a8243fd2e21
cip/6.1-rt5.66.1.189-cip61-rt324a8243fd2e21
cip/6.125.66.12.112-cip33327b2a457dd7

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.112-cip33
cip/6.1Fixed in 6.1.189-cip61
cip/6.1-rtFixed in 6.1.189-cip61-rt32
cip/5.10Fixed in 5.10.271-cip78
cip/5.10-rtFixed in 5.10.272-cip79-rt35