{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "7a9fb35e8c3a67145fca262c304de65cb2f83abf"
            },
            {
              "fixed": "09dfaacbb50f4d11a547ea49c49e934bfe90de5c"
            },
            {
              "fixed": "6e7d7afe3bed503f92d6f0ed87ce1fe0ae63a38b"
            },
            {
              "fixed": "5b310ae1eff7531030b123bfcb192b0176d73075"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.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-143208.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5e: Fix ipsec core device access during profile changes\n\nDevlink E-Switch mode changes replace the netdev profile without\nunregistering the netdev. XFRM state and policy creation can therefore\nrun while mlx5e_priv_cleanup() clears priv with memset() or\nmlx5e_priv_init() initializes it again. Accesses to priv-\u003emdev can\nobserve NULL or a torn pointer, and repeated loads may return different\nvalues.\n\nRead priv-\u003emdev once in each add callback and use the saved pointer\nthroughout the callback, including error unwinding. The core device\nsurvives the in-place profile change, so a saved non-NULL pointer\nremains valid even if priv is cleared in the meantime.\n\nA NULL priv-\u003emdev means a profile change is in progress, which only\nhappens during an eswitch mode change. Return -EBUSY in that case, as\nmlx5_eswitch_block_mode() does for the same mode change. -EOPNOTSUPP\nwould make xfrm_dev_state_add() silently fall back to software for a\ncrypto offload SA for its whole lifetime.\n\nUse WRITE_ONCE() when initializing priv-\u003emdev and when clearing it\nbefore memset(). This makes the transition to NULL atomic; the\nsubsequent bulk clear only writes zero bytes over an already NULL\npointer. Annotate the READ_ONCE() snapshots with data_race() to allow\nthat harmless overlap with the unmarked memset() without suppressing\nchecks for the rest of priv.\n\nThis fixes the core-device pointer accesses. Protecting the IPsec\ncontext itself during state and policy creation is handled separately.\n\nThis was found by Sashiko, during review of the next patches in the\nseries. No attempt was made at reproducing this race, the chances seem\nvanishingly small.",
  "id": "CVE-2026-143208",
  "modified": "2026-12-03T10:45:26.615357698Z",
  "published": "2026-12-03T09:20:30.786Z",
  "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/09dfaacbb50f4d11a547ea49c49e934bfe90de5c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5b310ae1eff7531030b123bfcb192b0176d73075"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6e7d7afe3bed503f92d6f0ed87ce1fe0ae63a38b"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143208.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143208"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "net/mlx5e: Fix ipsec core device access during profile changes"
}