{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-142822",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.331Z",
        "datePublished": "2026-12-03T03:20:41.934Z",
        "dateUpdated": "2026-12-03T03:20:41.934Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T03:20:41.934Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nipmr: drop packets with unknown ingress VIF\n\nA packet can race with VIF publication and make ipmr_find_vif() return\n-1 even though the VIF device pointer is already visible. The parent VIF\ndevice check can then pass with an invalid ingress VIF. For (*,G)\nentries, this can also let the packet be forwarded back out its ingress\nVIF.\n\nDrop packets whose ingress VIF lookup fails in both IPv4 and IPv6\nforwarding, before checking the MFC parent device. This prevents\nforwarding with an unknown ingress VIF and avoids the (*,G) hairpin.\n\nWithout the early check, the negative index can reach the IPv4 offload\nlookup only for an skb marked for L3 forwarding offload, currently done\nby mlxsw. The race is rare; the supplied PoC reports only the UBSAN\nnegative-index diagnostic."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "net/ipv4/ipmr.c",
                        "net/ipv6/ip6mr.c"
                    ],
                    "versions": [
                        {
                            "version": "4eadb88244d17056179a47f613e30c49191072c5",
                            "lessThan": "6e4016fb09d233a8a486df1612ab239feb75e6fd",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4eadb88244d17056179a47f613e30c49191072c5",
                            "lessThan": "fde3829d270cdcbcb7405e525cb6b777433616dc",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4eadb88244d17056179a47f613e30c49191072c5",
                            "lessThan": "950a6ea2530018118702a87ba165ea487864d13a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4eadb88244d17056179a47f613e30c49191072c5",
                            "lessThan": "53a6224414752ae55ee1f2b48faf1bf788635f0c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4eadb88244d17056179a47f613e30c49191072c5",
                            "lessThan": "dd74203cbafaa693ac132d83b7cade4150bf2c8e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4eadb88244d17056179a47f613e30c49191072c5",
                            "lessThan": "09280680f2ea060514be2a39ea84209fb6d721d4",
                            "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/ipmr.c",
                        "net/ipv6/ip6mr.c"
                    ],
                    "versions": [
                        {
                            "version": "6.0",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.0",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.118",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.64",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.4",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "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": "6.0",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "6.12.118"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "6.18.64"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/6e4016fb09d233a8a486df1612ab239feb75e6fd"
                },
                {
                    "url": "https://git.kernel.org/stable/c/fde3829d270cdcbcb7405e525cb6b777433616dc"
                },
                {
                    "url": "https://git.kernel.org/stable/c/950a6ea2530018118702a87ba165ea487864d13a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/53a6224414752ae55ee1f2b48faf1bf788635f0c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/dd74203cbafaa693ac132d83b7cade4150bf2c8e"
                },
                {
                    "url": "https://git.kernel.org/stable/c/09280680f2ea060514be2a39ea84209fb6d721d4"
                }
            ],
            "title": "ipmr: drop packets with unknown ingress VIF",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}