{"id":"CVE-2026-89563","published":"2026-09-11T19:44:34Z","modified":"2026-10-19T08:48:56Z","title":"ip6_tunnel: use skb_cow_head() in ip6_tnl_xmit()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nip6_tunnel: use skb_cow_head() in ip6_tnl_xmit()\n\nip6_tnl_xmit() may need to expand headroom before it can push the\nouter IPv6 and optional encap headers. It currently does that with\nskb_realloc_headroom(), copies skb->sk ownership, consumes the original\nskb, and then continues processing with the replacement skb kept only in\nits local variable.\n\nThat is safe only if the helper cannot fail afterwards. But this helper\nstill has post-reallocation error exits. collect_md tunnels reject\nnon-NONE encap after the replacement, and ip6_tnl_encap() can also fail\nlater. In those cases the helper returns an error to its callers while\nthe caller still only has the original skb pointer.\n\nBoth ip6_tnl_start_xmit() and the IPv6 GRE paths free the caller skb on\nerror, so they can end up freeing an skb that ip6_tnl_xmit() already\nconsumed.\n\nUse skb_cow_head() instead. It provides the required headroom and\nwritability without privately replacing the caller-owned skb, so later\nerror returns cannot leave callers with a stale pointer.\n\nThe Ethernet users, ip6gretap and ip6erspan, clear IFF_TX_SKB_SHARING\nand already call skb_cow_head() before entering ip6_tnl_xmit(). They do\nnot rely on the removed skb_shared() reallocation. This also makes the\nIPv6 tunnel path consistent with ip_tunnel_xmit().","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00176,"percentile":0.04226,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/6e8eff8ed13b14708bc39f170144eacde494aac6","tags":[]},{"url":"https://git.kernel.org/stable/c/dc1a319a4815c074914e2812e0e9cd0164ca682b","tags":[]},{"url":"https://git.kernel.org/stable/c/629d5557e635cdbc109a14ed913ba5a540e3f79a","tags":[]},{"url":"https://git.kernel.org/stable/c/defa0adeff132cc90ed66915b9a104d9393e1e54","tags":[]},{"url":"https://git.kernel.org/stable/c/37df5bc6b5ccad88c2faa0f5466f150178882b74","tags":[]},{"url":"https://git.kernel.org/stable/c/b36dfd6e8cff00cea81c11cc0af88d1564763461","tags":[]},{"url":"https://git.kernel.org/stable/c/8fc56ca49fc0ee1725b55c67bb43ab0dd01f3f52","tags":[]},{"url":"https://git.kernel.org/stable/c/87f21b59ddc618eff9670c174842964ad65fdade","tags":[]}],"priority":{"score":6.3,"factors":[{"name":"EPSS percentile","points":0.85},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 058214a4d1dfefed9f01a277fadd3590acb5f990, < 6e8eff8ed13b14708bc39f170144eacde494aac6",">= 058214a4d1dfefed9f01a277fadd3590acb5f990, < dc1a319a4815c074914e2812e0e9cd0164ca682b",">= 058214a4d1dfefed9f01a277fadd3590acb5f990, < 629d5557e635cdbc109a14ed913ba5a540e3f79a",">= 058214a4d1dfefed9f01a277fadd3590acb5f990, < defa0adeff132cc90ed66915b9a104d9393e1e54",">= 058214a4d1dfefed9f01a277fadd3590acb5f990, < 37df5bc6b5ccad88c2faa0f5466f150178882b74",">= 058214a4d1dfefed9f01a277fadd3590acb5f990, < b36dfd6e8cff00cea81c11cc0af88d1564763461",">= 058214a4d1dfefed9f01a277fadd3590acb5f990, < 8fc56ca49fc0ee1725b55c67bb43ab0dd01f3f52",">= 058214a4d1dfefed9f01a277fadd3590acb5f990, < 87f21b59ddc618eff9670c174842964ad65fdade"]},{"vendor":"Linux","product":"Linux","versions":["4.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-16T19:24:12.096672Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-76474","exploited":false,"provenance":"source"}}