netfilter: flowtable: Validate iph->ihl in nf_flow_ip4_tunnel_proto()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 025a41e76b51fbc7b8eaa5bacbaa9621d00e6aa7 and Kernel 84460b644329e25809b4a6d9279d6359d7fd8ebc.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.19, >=ab427db17885814069bae891834f20842f0ac3a4 <025a41e76b51fbc7b8eaa5bacbaa9621d00e6aa7, >=ab427db17885814069bae891834f20842f0ac3a4 <84460b644329e25809b4a6d9279d6359d7fd8ebc | 025a41e76b51fbc7b8eaa5bacbaa9621d00e6aa7, 84460b644329e25809b4a6d9279d6359d7fd8ebc |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket