Linux Kernel: IPv6/IPv4 Tunnel Bug Enables Buffer Overwrite
CVE-2026-43037 Published on May 1, 2026
ip6_tunnel: clear skb2->cb[] in ip4ip6_err()
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).
Vulnerability Analysis
CVE-2026-43037 can be exploited with network access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.
Weakness Type
What is an Object Type Confusion Vulnerability?
The program allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.
CVE-2026-43037 has been classified to as an Object Type Confusion vulnerability or weakness.
Products Associated with CVE-2026-43037
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2026-43037 are published in these products:
Affected Versions
Linux:- Version c4d3efafcc933fd2ffd169d7dc4f980393a13796 and below ea9f65b27c8404e164848ebff1443310fd187629 is affected.
- Version c4d3efafcc933fd2ffd169d7dc4f980393a13796 and below d6621f60192fe10c047a4487be42a6f4c150707f is affected.
- Version c4d3efafcc933fd2ffd169d7dc4f980393a13796 and below 2cc6e3b0fe0f0242d1f530a93a4924f48ab85ba5 is affected.
- Version c4d3efafcc933fd2ffd169d7dc4f980393a13796 and below a0c4ce9900a108eaf55d0f3b399cb55999647d39 is affected.
- Version c4d3efafcc933fd2ffd169d7dc4f980393a13796 and below 1063515ce15ff31065c4e7f8265f4c2fd3c54876 is affected.
- Version c4d3efafcc933fd2ffd169d7dc4f980393a13796 and below 590f622669b97eaf7b57a1de7b0a6e68c5d8b2c3 is affected.
- Version c4d3efafcc933fd2ffd169d7dc4f980393a13796 and below 4a622658f384b03560834cbe8ffcfe69a278f7c8 is affected.
- Version c4d3efafcc933fd2ffd169d7dc4f980393a13796 and below 2edfa31769a4add828a7e604b21cb82aaaa05925 is affected.
- Version 2.6.22 is affected.
- Before 2.6.22 is unaffected.
- Version 5.10.253, <= 5.10.* is unaffected.
- Version 5.15.203, <= 5.15.* is unaffected.
- Version 6.1.168, <= 6.1.* is unaffected.
- Version 6.6.134, <= 6.6.* is unaffected.
- Version 6.12.81, <= 6.12.* is unaffected.
- Version 6.18.22, <= 6.18.* is unaffected.
- Version 6.19.12, <= 6.19.* is unaffected.
- Version 7.0, <= * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.