Skip to content
Heist/ feed
High

net/mlx5e: Fix eswitch mode block underflow on IPsec acquire SA

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Fix eswitch mode block underflow on IPsec acquire SA mlx5e_xfrm_add_state() handles acquire-flow temporary SAs by allocating software state and skipping hardware offload setup. That path jumps to the common success label before taking the eswitch mode block. After tunnel-mode validation was moved earlier, the common success label unconditionally calls mlx5_eswitch_unblock_mode(). For acquire SAs, this decrements esw->offloads.num_block_mode without a matching increment. Return directly after installing the acquire SA offload handle, so only the paths that successfully called mlx5_eswitch_block_mode() call the matching unblock.

Announced Group revision 1
Original source ↗

CVE-2026-64522

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-64522

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "22239eb258bc1e6ccdb2d3502fce1cc2b2a88386",
        "lessThan": "b5bd4249e430f5963d559708ee96a671716d2400",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "22239eb258bc1e6ccdb2d3502fce1cc2b2a88386",
        "lessThan": "ecafd8284e527666e83261e6e57a7c7341d591cb",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "22239eb258bc1e6ccdb2d3502fce1cc2b2a88386",
        "lessThan": "abe003b33223ff33552f291644bf35d9c2f992fb",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "993c4ba71596c30418ba5a0ddcf4f9c2f431466a",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6.17.4",
        "lessThan": "6.18",
        "versionType": "semver"
      }
    ],
    "programFiles": [
      "drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.18"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.18",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.18.34",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.0.11",
        "versionType": "semver",
        "lessThanOrEqual": "7.0.*"
      },
      {
        "status": "unaffected",
        "version": "7.1",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-64522

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#41062 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement