{
  "id": "CVE-2026-64522",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64522",
  "published_at": "2026-07-25T09:14:47.404Z",
  "title": "net/mlx5e: Fix eswitch mode block underflow on IPsec acquire SA",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5e: Fix eswitch mode block underflow on IPsec acquire SA\n\nmlx5e_xfrm_add_state() handles acquire-flow temporary SAs by allocating\nsoftware state and skipping hardware offload setup.\n\nThat path jumps to the common success label before taking the eswitch mode\nblock. After tunnel-mode validation was moved earlier, the common success\nlabel unconditionally calls mlx5_eswitch_unblock_mode(). For acquire SAs,\nthis decrements esw-\u003eoffloads.num_block_mode without a matching increment.\n\nReturn directly after installing the acquire SA offload handle, so only the\npaths that successfully called mlx5_eswitch_block_mode() call the matching\nunblock.",
  "cwe": "CWE-190",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 22239eb258bc1e6ccdb2d3502fce1cc2b2a88386, \u003c b5bd4249e430f5963d559708ee96a671716d2400",
          "\u003e= 22239eb258bc1e6ccdb2d3502fce1cc2b2a88386, \u003c ecafd8284e527666e83261e6e57a7c7341d591cb",
          "\u003e= 22239eb258bc1e6ccdb2d3502fce1cc2b2a88386, \u003c abe003b33223ff33552f291644bf35d9c2f992fb",
          "993c4ba71596c30418ba5a0ddcf4f9c2f431466a",
          "\u003e= 6.17.4, \u003c 6.18"
        ],
        "fixed_in": [
          "b5bd4249e430f5963d559708ee96a671716d2400",
          "ecafd8284e527666e83261e6e57a7c7341d591cb",
          "abe003b33223ff33552f291644bf35d9c2f992fb",
          "6.18"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.18"
        ],
        "fixed_in": [
          "0",
          "6.18.34",
          "7.0.11",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to b5bd4249e430f5963d559708ee96a671716d2400 or ecafd8284e527666e83261e6e57a7c7341d591cb or abe003b33223ff33552f291644bf35d9c2f992fb or 6.18 or later.",
      "Upgrade Linux to 0 or 6.18.34 or 7.0.11 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
