ip6_tunnel: clear skb2->cb[] in ip6ip6_err()
Summary
| CVE | CVE-2026-74597 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-08-22 16:16:32 UTC |
| Updated | 2026-08-22 16:16:32 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
ip6_tunnel: clear skb2->cb[] in ip6ip6_err()
ip6ip6_err() clones an outer IPv6 ICMP error skb, pulls it to the
quoted inner IPv6 packet, and then passes the clone to icmpv6_send().
The clone still carries the outer packet's inet6_skb_parm in skb->cb.
If the outer packet had a Home Address Option, IP6CB(skb2)->dsthao
remains non-zero after skb_pull(). icmpv6_send() later calls
mip6_addr_swap(), which uses that stale dsthao offset against the quoted
inner packet. A malformed inner destination-options header can then make
the HAO lookup and address swap run past the end of the quoted packet
and corrupt skb_shared_info.
Clear skb2->cb[] before pulling the quoted inner IPv6 packet so the
reply path does not reuse metadata left by the outer IPv6 stack. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected e490d1d85cf5e191791979e5f260d32eb4f703a8 44fe898df302e91c5ee5acbc71ffa74e78e6c183 git |
Not specified |
| CNA |
Linux |
Linux |
affected e490d1d85cf5e191791979e5f260d32eb4f703a8 0dadb0620ab65949a8bc2439dd28ea3c942fe87d git |
Not specified |
| CNA |
Linux |
Linux |
affected e490d1d85cf5e191791979e5f260d32eb4f703a8 b6816536a2990c0db44a26130a03e40b441e829b git |
Not specified |
| CNA |
Linux |
Linux |
affected e490d1d85cf5e191791979e5f260d32eb4f703a8 64e41736a26f37ab6215bc2e6df125df05aceb08 git |
Not specified |
| CNA |
Linux |
Linux |
affected e490d1d85cf5e191791979e5f260d32eb4f703a8 484134e1eb07d700a73b1e4bbf3fb503e299be60 git |
Not specified |
| CNA |
Linux |
Linux |
affected e490d1d85cf5e191791979e5f260d32eb4f703a8 4eb15c465337b18f44716c499cd6ad63eee0ad54 git |
Not specified |
| CNA |
Linux |
Linux |
affected e490d1d85cf5e191791979e5f260d32eb4f703a8 fbf40faa0414b753212494ad197542002e66ed9e git |
Not specified |
| CNA |
Linux |
Linux |
affected e490d1d85cf5e191791979e5f260d32eb4f703a8 f803c086399da277b5d0ff36a107d0f162751800 git |
Not specified |
| CNA |
Linux |
Linux |
affected 2.6.22 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 2.6.22 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.10.265 5.10.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.15.216 5.15.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.1.183 6.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.152 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.104 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.45 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.1.9 7.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.2 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/b6816536a2990c0db44a26130a03e40b441e829b |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/4eb15c465337b18f44716c499cd6ad63eee0ad54 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/0dadb0620ab65949a8bc2439dd28ea3c942fe87d |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/64e41736a26f37ab6215bc2e6df125df05aceb08 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/44fe898df302e91c5ee5acbc71ffa74e78e6c183 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/f803c086399da277b5d0ff36a107d0f162751800 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/484134e1eb07d700a73b1e4bbf3fb503e299be60 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/fbf40faa0414b753212494ad197542002e66ed9e |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.