net/mlx5e: Fix eswitch mode block underflow on IPsec acquire SA
Summary
| CVE | CVE-2026-64522 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-25 10:17:38 UTC |
| Updated | 2026-07-25 10:17:38 UTC |
| Description | 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. |
Risk And Classification
EPSS: 0.002060000 probability, percentile 0.108620000 (date 2026-07-25)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 22239eb258bc1e6ccdb2d3502fce1cc2b2a88386 b5bd4249e430f5963d559708ee96a671716d2400 git | Not specified |
| CNA | Linux | Linux | affected 22239eb258bc1e6ccdb2d3502fce1cc2b2a88386 ecafd8284e527666e83261e6e57a7c7341d591cb git | Not specified |
| CNA | Linux | Linux | affected 22239eb258bc1e6ccdb2d3502fce1cc2b2a88386 abe003b33223ff33552f291644bf35d9c2f992fb git | Not specified |
| CNA | Linux | Linux | affected 993c4ba71596c30418ba5a0ddcf4f9c2f431466a git | Not specified |
| CNA | Linux | Linux | affected 6.17.4 6.18 semver | Not specified |
| CNA | Linux | Linux | affected 6.18 | Not specified |
| CNA | Linux | Linux | unaffected 6.18 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.34 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0.11 7.0.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/ecafd8284e527666e83261e6e57a7c7341d591cb | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/abe003b33223ff33552f291644bf35d9c2f992fb | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/b5bd4249e430f5963d559708ee96a671716d2400 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.