CVE-2026-43037
ip6_tunnel: clear skb2->cb[] in ip4ip6_err()
- State
- Published
- Severity
- 9.8 Critical
- Published
- May 1, 2026
- Updated
- Oct 19, 2026
- Reserved
- May 1, 2026
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).
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 9.8 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | Linux |
| 3.1 | 8.8 High | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | redhat-SADP |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
LinuxLinux |
|
LinuxLinux |
|
References
- https://git.kernel.org/stable/c/ea9f65b27c8404e164848ebff1443310fd187629
- https://git.kernel.org/stable/c/d6621f60192fe10c047a4487be42a6f4c150707f
- https://git.kernel.org/stable/c/2cc6e3b0fe0f0242d1f530a93a4924f48ab85ba5
- https://git.kernel.org/stable/c/a0c4ce9900a108eaf55d0f3b399cb55999647d39
- https://git.kernel.org/stable/c/1063515ce15ff31065c4e7f8265f4c2fd3c54876
- https://git.kernel.org/stable/c/590f622669b97eaf7b57a1de7b0a6e68c5d8b2c3
- https://git.kernel.org/stable/c/4a622658f384b03560834cbe8ffcfe69a278f7c8
- https://git.kernel.org/stable/c/2edfa31769a4add828a7e604b21cb82aaaa05925
- https://access.redhat.com/security/cve/CVE-2026-43037vdb-entry
- RHBZ#2464351issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43037.json
- https://access.redhat.com/errata/RHSA-2026:25534vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:33486vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:27719vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:27729vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:41236vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:26528vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:26542vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:28887vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:28962vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:25044vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:34098vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:25181vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:25200vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:25193vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:25186vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:44232vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:24343vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:25191vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:22940vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:23237vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:23224vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:25217vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:28742vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:25121vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:28749vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:26535vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:25533vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:22964vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:28748vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:28750vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:28738vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:28740vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:28741vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:25120vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:22900vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.