{"id":"CVE-2026-89563","aliases":["CVE-2026-89563"],"related":[],"kind":"vulnerability","state":"published","title":"ip6_tunnel: use skb_cow_head() in ip6_tnl_xmit()","summary":"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().","summarySource":"cvelist","descriptions":[{"lang":"en","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().","source":"cvelist"}],"published":"2026-09-11T19:44:34.375Z","modified":"2026-10-19T09:17:52.040Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"058214a4d1dfefed9f01a277fadd3590acb5f990","fixed":"6e8eff8ed13b14708bc39f170144eacde494aac6","status":"affected"},{"type":"git","introduced":"058214a4d1dfefed9f01a277fadd3590acb5f990","fixed":"dc1a319a4815c074914e2812e0e9cd0164ca682b","status":"affected"},{"type":"git","introduced":"058214a4d1dfefed9f01a277fadd3590acb5f990","fixed":"629d5557e635cdbc109a14ed913ba5a540e3f79a","status":"affected"},{"type":"git","introduced":"058214a4d1dfefed9f01a277fadd3590acb5f990","fixed":"defa0adeff132cc90ed66915b9a104d9393e1e54","status":"affected"},{"type":"git","introduced":"058214a4d1dfefed9f01a277fadd3590acb5f990","fixed":"37df5bc6b5ccad88c2faa0f5466f150178882b74","status":"affected"},{"type":"git","introduced":"058214a4d1dfefed9f01a277fadd3590acb5f990","fixed":"b36dfd6e8cff00cea81c11cc0af88d1564763461","status":"affected"},{"type":"git","introduced":"058214a4d1dfefed9f01a277fadd3590acb5f990","fixed":"8fc56ca49fc0ee1725b55c67bb43ab0dd01f3f52","status":"affected"},{"type":"git","introduced":"058214a4d1dfefed9f01a277fadd3590acb5f990","fixed":"87f21b59ddc618eff9670c174842964ad65fdade","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.7","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.109","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/6e8eff8ed13b14708bc39f170144eacde494aac6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dc1a319a4815c074914e2812e0e9cd0164ca682b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/629d5557e635cdbc109a14ed913ba5a540e3f79a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/defa0adeff132cc90ed66915b9a104d9393e1e54","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/37df5bc6b5ccad88c2faa0f5466f150178882b74","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b36dfd6e8cff00cea81c11cc0af88d1564763461","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8fc56ca49fc0ee1725b55c67bb43ab0dd01f3f52","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/87f21b59ddc618eff9670c174842964ad65fdade","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T19:24:12.096Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89563","url":"https://www.cve.org/CVERecord?id=CVE-2026-89563","licence":"CVE Terms of Use","modified":"2026-10-19T08:48:56.784Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89563","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89563","licence":"Public domain","modified":"2026-10-19T09:17:52.040Z"}],"updatedAt":"2026-11-25T22:59:38.067Z","epss":{"score":0.00139,"percentile":0.03453,"date":"2026-12-01T12:00:22.000Z"}}