{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-89565",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-11T19:38:34.725Z",
        "datePublished": "2026-09-11T19:44:35.858Z",
        "dateUpdated": "2026-10-19T08:48:58.760Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-10-19T08:48:58.760Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nipip: fix skb leak in collect_md mode when metadata_dst allocation fails\n\nIn collect_md mode ipip_tunnel_rcv() returns 0 without freeing the skb\nwhen ip_tun_rx_dst() fails to allocate the metadata_dst. ipip_rcv() and\nmplsip_rcv() are registered as xfrm_tunnel handlers, so tunnel4_rcv()\nand tunnelmpls4_rcv() read the zero return as \"the packet has been\nconsumed\" and do not free it either. The skb is leaked.\n\nThe other tunnel drivers all dispose of the packet at this point:\nip6_tunnel.c jumps to its drop label, ip_gre.c and ip6_gre.c return\nPACKET_REJECT, which makes gre_rcv() free the skb. Only ipip returns 0.\n\nJump to the existing drop label instead. It frees the skb and still\nreturns 0, so the packet keeps being reported as consumed, which is what\nwe want here: the outer header has already been pulled, and neither the\nremaining handlers nor an ICMP unreachable have any use for it.\n\nTriggering this needs an ipip or mplsip tunnel in collect_md mode and an\natomic allocation failure, which is why it has gone unnoticed."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/ipv4/ipip.c"
                    ],
                    "versions": [
                        {
                            "version": "cfc7381b3002756b1dcada32979e942aa3126e31",
                            "lessThan": "1909df2d066424767429e13053eb9701263430ef",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "cfc7381b3002756b1dcada32979e942aa3126e31",
                            "lessThan": "c4dc23de4cc75e4e304170b31bb8aeeacd5cb990",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "cfc7381b3002756b1dcada32979e942aa3126e31",
                            "lessThan": "6d8c5b266d0035a061573843a7243be068eb6118",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "cfc7381b3002756b1dcada32979e942aa3126e31",
                            "lessThan": "31e4be21dacee49395013caae28576484a049a4f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "cfc7381b3002756b1dcada32979e942aa3126e31",
                            "lessThan": "fd01f1a3ed4a189a784654f7c69eb565872f2e12",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "cfc7381b3002756b1dcada32979e942aa3126e31",
                            "lessThan": "6776efe4a52f289a3fc18f8adf19b035a7d8e1bb",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/ipv4/ipip.c"
                    ],
                    "versions": [
                        {
                            "version": "4.9",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.9",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.188",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.157",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.109",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.50",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2.4",
                            "lessThanOrEqual": "7.2.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.9",
                                    "versionEndExcluding": "6.1.188"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.9",
                                    "versionEndExcluding": "6.6.157"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.9",
                                    "versionEndExcluding": "6.12.109"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.9",
                                    "versionEndExcluding": "6.18.50"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.9",
                                    "versionEndExcluding": "7.2.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.9",
                                    "versionEndExcluding": "7.3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/1909df2d066424767429e13053eb9701263430ef"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c4dc23de4cc75e4e304170b31bb8aeeacd5cb990"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6d8c5b266d0035a061573843a7243be068eb6118"
                },
                {
                    "url": "https://git.kernel.org/stable/c/31e4be21dacee49395013caae28576484a049a4f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/fd01f1a3ed4a189a784654f7c69eb565872f2e12"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6776efe4a52f289a3fc18f8adf19b035a7d8e1bb"
                }
            ],
            "title": "ipip: fix skb leak in collect_md mode when metadata_dst allocation fails",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}