CVE 9.8 CRITICAL

ip6_tunnel: clear skb2->cb[] in ip4ip6_err()_CVE-2026-43037

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

Description

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

ip6_tunnel: clear skb2->cb[] in ip4ip6_err()

Oskar Kjos reported the following problem.

ip4ip6_err() calls icmp_send() on a cloned skb whose cb[] was written
by the IPv6 receive path as struct inet6_skb_parm. icmp_send() passes
IPCB(skb2) to __ip_options_echo(), which interprets that cb[] region
as struct inet_skb_parm (IPv4). The layouts differ: inet6_skb_parm.nhoff
at offset 14 overlaps inet_skb_parm.opt.rr, producing a non-zero rr
value. __ip_options_echo() then reads optlen from attacker-controlled
packet data at sptr[rr+1] and copies that many bytes into dopt->__data,
a fixed 40-byte stack buffer (IP_OPTIONS_DATA_FIXED_SIZE).

To fix this we clear skb2->cb[], as suggested by Oskar Kjos.

Also add minimal IPv4 header validation (version == 4, ihl >= 5).

AI Analysis

A vulnerability in the Linux kernel's ip6_tunnel module allows an attacker to potentially execute arbitrary code or cause a denial-of-service condition by sending a crafted packet.

Basic Information

ID CVE-2026-43037
Source Linux
Published May 1, 2026 at 14:15
Modified May 3, 2026 at 05:46

Affected Product

Vendor Linux
Product Linux
Version c4d3efafcc933fd2ffd169d7dc4f980393a13796
Affected Versions Linux Linux c4d3efafcc933fd2ffd169d7dc4f980393a13796
Linux Linux c4d3efafcc933fd2ffd169d7dc4f980393a13796
Linux Linux c4d3efafcc933fd2ffd169d7dc4f980393a13796
Linux Linux c4d3efafcc933fd2ffd169d7dc4f980393a13796
Linux Linux c4d3efafcc933fd2ffd169d7dc4f980393a13796
Linux Linux c4d3efafcc933fd2ffd169d7dc4f980393a13796
Linux Linux c4d3efafcc933fd2ffd169d7dc4f980393a13796
Linux Linux c4d3efafcc933fd2ffd169d7dc4f980393a13796
Linux Linux 2.6.22

AI Assessment

AI Score 9.8 / 10
AI Severity Critical
Vendor The Linux Foundation
Product Linux Kernel
Version c4d3efafcc933fd2ffd169d7dc4f980393a13796

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.