← CVE Intelligence

CVE-2026-72417

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

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected ab427db17885814069bae891834f20842f0ac3a4 before 025a41e76b51fbc7b8eaa5bacbaa9621d00e6aa7; affected ab427db17885814069bae891834f20842f0ac3a4 before 84460b644329e25809b4a6d9279d6359d7fd8ebc
Linux / Linuxaffected 6.19; unaffected 0 before 6.19; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through *

CWE

No CWE identifiers supplied.

References