{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "4eadb88244d17056179a47f613e30c49191072c5"
            },
            {
              "fixed": "6e4016fb09d233a8a486df1612ab239feb75e6fd"
            },
            {
              "fixed": "fde3829d270cdcbcb7405e525cb6b777433616dc"
            },
            {
              "fixed": "950a6ea2530018118702a87ba165ea487864d13a"
            },
            {
              "fixed": "53a6224414752ae55ee1f2b48faf1bf788635f0c"
            },
            {
              "fixed": "dd74203cbafaa693ac132d83b7cade4150bf2c8e"
            },
            {
              "fixed": "09280680f2ea060514be2a39ea84209fb6d721d4"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.0.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.118"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.64"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142822.json"
  },
  "details": "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.",
  "id": "CVE-2026-142822",
  "modified": "2026-12-03T04:45:42.273536854Z",
  "published": "2026-12-03T03:20:41.934Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/09280680f2ea060514be2a39ea84209fb6d721d4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/53a6224414752ae55ee1f2b48faf1bf788635f0c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6e4016fb09d233a8a486df1612ab239feb75e6fd"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/950a6ea2530018118702a87ba165ea487864d13a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/dd74203cbafaa693ac132d83b7cade4150bf2c8e"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/fde3829d270cdcbcb7405e525cb6b777433616dc"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142822.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142822"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "ipmr: drop packets with unknown ingress VIF"
}