CVE-2026-72417

netfilter: flowtable: Validate iph->ihl in nf_flow_ip4_tunnel_proto()

Published Aug 15, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

netfilter: flowtable: Validate iph->ihl in nf_flow_ip4_tunnel_proto()

Add sanity check for iph->ihl field in nf_flow_ip4_tunnel_proto() before
using it to compute the header size, avoiding out-of-bounds access with
malformed IP headers.
While at it, use iph->protocol instead of the hardcoded IPPROTO_IPIP
constant when setting ctx->tun.proto and reference ctx->tun.hdr_size
when updating ctx->offset.

Analysis

AI-generated

Technical impact

The Linux kernel’s netfilter flowtable module calculated packet header size by reading the IP header length field, iph->ihl, without verifying that the value was within the valid range. A crafted packet with an inflated IHL value could cause the kernel to read beyond the packet buffer, creating an out‑of‑bounds memory read that could leak sensitive kernel data. The weakness is classified as CWE-125 (Out‑of‑Bounds Read).

Affected Systems

All versions of the Linux kernel that do not contain the two commits (025a41e76b51fbc7b8eaa5bacbaa9621d00e6aa7 or 84460b644329e25809b4a6d9279d6359d7fd8ebc) are potentially vulnerable. The commits add a sanity check for iph->ihl, replace the hardcoded IPPROTO_IPIP constant with iph->protocol, and correct header size calculations. These changes apply universally to Linux kernel builds in production.

Risk and Exploitability

The CVSS score of 9.8 indicates a high impact, while the EPSS score of < 1% suggests that active exploitation is unlikely at present. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is a network‑based packet injection on any interface that processes IPv4 tunneling packets. The flaw introduces an unchecked packet header field, but the CVE does not imply an available write primitive or full code execution capability. However, an information disclosure could be leveraged in a larger attack chain if additional vulnerabilities are present.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that includes commit 025a41e76b51fbc7b8eaa5bacbaa9621d00e6aa7 or 84460b644329e25809b4a6d9279d6359d7fd8ebc, which adds the IHL sanity check
  • If updating the kernel cannot be performed immediately, disable the netfilter flowtable module or any IPv4 tunneling functionality that relies on nf_flow_ip4_tunnel_proto() to remove the attack surface until the patch is applied
  • Apply firewall rules to drop packets with abnormal or suspicious IHL values, or limit inbound traffic to trusted sources to reduce the chance of an attacker delivering exploit packets

Generated by OpenCVE AI on August 22, 2026 at 05:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8816-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8816-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8816-3 Linux kernel (Oracle) vulnerabilities
Ubuntu USN Ubuntu USN USN-8816-4 Linux kernel (GKE) vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8888-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9003-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9043-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-122
Type Values Removed Values Added
Weaknesses CWE-122
Type Values Removed Values Added
Weaknesses CWE-119
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Weaknesses CWE-119
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: netfilter: flowtable: Validate iph->ihl in nf_flow_ip4_tunnel_proto() Add sanity check for iph->ihl field in nf_flow_ip4_tunnel_proto() before using it to compute the header size, avoiding out-of-bounds access with malformed IP headers. While at it, use iph->protocol instead of the hardcoded IPPROTO_IPIP constant when setting ctx->tun.proto and reference ctx->tun.hdr_size when updating ctx->offset.
Title netfilter: flowtable: Validate iph->ihl in nf_flow_ip4_tunnel_proto()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 17, 2026, 5:43 AM
Reserved
Aug 9, 2026, 3:40 AM
Status
Received
Published
Aug 15, 2026, 6:22 AM
Modified
Aug 17, 2026, 6:19 AM
Severity
Moderate
Public date
Aug 15, 2026, 12:00 AM