Description
In the Linux kernel, the following vulnerability has been resolved:

xfrm: drop ESP-in-TCP packets with no ingress device

ESP-in-TCP receives records through the TCP strparser. handle_esp()
restores skb->dev from the saved skb_iif before passing the packet into
the XFRM input path.

Queued TCP data can be processed after the original ingress device has
been removed, for example during veth or net namespace teardown. In that
case dev_get_by_index_rcu() returns NULL. The XFRM IPv4 and IPv6 input
paths both expect skb->dev to be valid while building the route lookup,
so queued ESP-in-TCP data can dereference a NULL device.

Drop the packet if the saved ingress device can no longer be resolved.
Such a packet can no longer be routed through the normal XFRM receive
path, and this preserves the existing behaviour for packets whose ingress
device still exists.
Published: 2026-09-04
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw occurs when a queued ESP‑in‑TCP packet is processed after its original ingress device has been removed. The kernel restores the packet’s device pointer from a saved index, but the lookup can return NULL when the device no longer exists. The code then attempts to use this NULL pointer while building the route, causing a dereference of a NULL pointer and a kernel crash. An attacker can trigger the crash by sending specially crafted ESP‑in‑TCP traffic, leading to a denial‑of‑service on the affected host.

Affected Systems

All Linux kernel releases that implement the xfrm framework for ESP‑in‑TCP are potentially impacted. No specific version range is listed, so any kernel build that compiles the xfrm module may be vulnerable. Administrators should verify whether their system uses ESP‑in‑TCP and, if so, ensure the kernel is updated to a release that contains the patch.

Risk and Exploitability

The vulnerability is not listed in CISA’s KEV catalog and EPSS information is not available, but the nature of a NULL dereference in kernel code indicates a high‑severity flaw. An attacker with network access can craft a packet that triggers the failure, causing a crash that could be leveraged for denial‑of‑service or, in some scenarios, local privilege escalation if the crash is exploitable for code execution. The lack of public exploits does not diminish the inherent risk of a kernel‑level crash.

Generated by OpenCVE AI on September 4, 2026 at 18:42 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the fix for the ESP‑in‑TCP null pointer vulnerability.
  • If an immediate kernel upgrade is not feasible, block or drop ESP‑in‑TCP traffic using firewall rules (iptables/nftables) or disable IPsec support to prevent malicious packets from reaching the XFRM module.
  • As a temporary protective measure, ensure that any network namespace or veth interface teardown scripts remove all pending ESP‑in‑TCP data before the interface is deleted.

Generated by OpenCVE AI on September 4, 2026 at 18:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 19:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Fri, 04 Sep 2026 16:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: xfrm: drop ESP-in-TCP packets with no ingress device ESP-in-TCP receives records through the TCP strparser. handle_esp() restores skb->dev from the saved skb_iif before passing the packet into the XFRM input path. Queued TCP data can be processed after the original ingress device has been removed, for example during veth or net namespace teardown. In that case dev_get_by_index_rcu() returns NULL. The XFRM IPv4 and IPv6 input paths both expect skb->dev to be valid while building the route lookup, so queued ESP-in-TCP data can dereference a NULL device. Drop the packet if the saved ingress device can no longer be resolved. Such a packet can no longer be routed through the normal XFRM receive path, and this preserves the existing behaviour for packets whose ingress device still exists.
Title xfrm: drop ESP-in-TCP packets with no ingress device
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-04T15:54:56.492Z

Reserved: 2026-08-26T14:34:25.797Z

Link: CVE-2026-80846

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-04T16:18:13.290

Modified: 2026-09-04T16:18:13.290

Link: CVE-2026-80846

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-05T01:00:05Z

Weaknesses