{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "a7385187a386d0fc4721727e2cbe4a70a9cff6f7"
            },
            {
              "fixed": "1f222a0aced840ff17206c6da6317b3a3f139f2a"
            },
            {
              "fixed": "27e7ca2d0ab65a9e19e98cc721fe1a0c958b6b8a"
            },
            {
              "fixed": "4460b0649112b59c320b790eb2d00343c99b29a0"
            },
            {
              "fixed": "5ed47bd79cebee8429d06c6640aac7ac7c4805ca"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.3.0"
            },
            {
              "fixed": "6.12.120"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.66"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143189.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5e: IPsec, don't match upper proto selectors in crypto offload TX\n\nThe mentioned commit introduced support for upper protocol selectors\n(protocol \u0026 ports) to mlx5 IPsec offload. In crypto offload mode this\ncauses offloaded TX SAs to stop matching traffic.\n\nIn tx_add_rule(), setup_fte_upper_proto_match() is called for all\noffload types and programs a match on the upper protocol (TCP/UDP) and\nports. For crypto offload, setup_fte_esp() is then called and sets\nip_protocol to ESP. The resulting rule requires both ESP as the IP\nprotocol and TCP/UDP ports, which no packet can satisfy, so TX crypto\noffload silently stops working for such SAs.\n\nIn crypto offload mode the stack builds the ESP packet and the HW only\nencrypts it, so the SA rule should only match on the SPI. Move the\nsetup_fte_upper_proto_match() call under the XFRM_DEV_OFFLOAD_PACKET\ncase, where the rule matches the plaintext packet and upper protocol\nselectors apply.\n\nThe other three callers are unaffected: rx_add_rule_sa_selector() is\nalready only invoked for packet offload, and tx_add_policy() /\nrx_add_policy() are only reachable in packet offload mode, since xfrm\npolicy offload is exclusively of type XFRM_DEV_OFFLOAD_PACKET.",
  "id": "CVE-2026-143189",
  "modified": "2026-12-03T10:45:52.148651844Z",
  "published": "2026-12-03T09:20:18.610Z",
  "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/1f222a0aced840ff17206c6da6317b3a3f139f2a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/27e7ca2d0ab65a9e19e98cc721fe1a0c958b6b8a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4460b0649112b59c320b790eb2d00343c99b29a0"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5ed47bd79cebee8429d06c6640aac7ac7c4805ca"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143189.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143189"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "net/mlx5e: IPsec, don't match upper proto selectors in crypto offload TX"
}