# CVE-2026-64522: net/mlx5e: Fix eswitch mode block underflow on IPsec acquire SA

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.51% (percentile 37, 2026-11-26)
- **CWE:** CWE-190
- **Published:** 2026-07-25T09:14:47.404Z
- **Modified:** 2026-11-12T21:09:09.060Z

## Who should check

- Anyone running Linux \>= 22239eb258bc1e6ccdb2d3502fce1cc2b2a88386, \< b5bd4249e430f5963d559708ee96a671716d2400; \>= 22239eb258bc1e6ccdb2d3502fce1cc2b2a88386, \< ecafd8284e527666e83261e6e57a7c7341d591cb; \>= 22239eb258bc1e6ccdb2d3502fce1cc2b2a88386, \< abe003b33223ff33552f291644bf35d9c2f992fb; 993c4ba71596c30418ba5a0ddcf4f9c2f431466a; \>= 6.17.4, \< 6.18
- Anyone running Linux 6.18

## 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.

## Affected and fixed versions

- Linux: \>= 22239eb258bc1e6ccdb2d3502fce1cc2b2a88386, \< b5bd4249e430f5963d559708ee96a671716d2400; \>= 22239eb258bc1e6ccdb2d3502fce1cc2b2a88386, \< ecafd8284e527666e83261e6e57a7c7341d591cb; \>= 22239eb258bc1e6ccdb2d3502fce1cc2b2a88386, \< abe003b33223ff33552f291644bf35d9c2f992fb; 993c4ba71596c30418ba5a0ddcf4f9c2f431466a; \>= 6.17.4, \< 6.18 (cvelist)
- Linux: 6.18 (cvelist)

## Mitigation

- Upgrade Linux to 6.18 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-64522. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-64522.md
Affected: Linux >= 22239eb258bc1e6ccdb2d3502fce1cc2b2a88386, < b5bd4249e430f5963d559708ee96a671716d2400; >= 22239eb258bc1e6ccdb2d3502fce1cc2b2a88386, < ecafd8284e527666e83261e6e57a7c7341d591cb; >= 22239eb258bc1e6ccdb2d3502fce1cc2b2a88386, < abe003b33223ff33552f291644bf35d9c2f992fb; 993c4ba71596c30418ba5a0ddc…
Fixed in: Linux 6.18

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-64522 being exploited?

There is no confirmed exploitation: CVE-2026-64522 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.51% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-64522?

High: CVSS 8.8 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-64522?

Linux \>= 22239eb258bc1e6ccdb2d3502fce1cc2b2a88386, \< b5bd4249e430f5963d559708ee96a671716d2400; \>= 22239eb258bc1e6ccdb2d3502fce1cc2b2a88386, \< ecafd8284e527666e83261e6e57a7c7341d591cb; \>= 22239eb258bc1e6ccdb2d3502fce1cc2b2a88386, \< abe003b33223ff33552f291644bf35d9c2f992fb; 993c4ba71596c30418ba5a0ddcf4f9c2f431466a; \>= 6.17.4, \< 6.18; Linux 6.18.

### Is there a fix for CVE-2026-64522?

Yes. Fixed in Linux 6.18. Upgrade Linux to 6.18 or later.

### How do I check if I'm affected by CVE-2026-64522?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/b5bd4249e430f5963d559708ee96a671716d2400>
- patch: <https://git.kernel.org/stable/c/ecafd8284e527666e83261e6e57a7c7341d591cb>
- patch: <https://git.kernel.org/stable/c/abe003b33223ff33552f291644bf35d9c2f992fb>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-64522>

HTML: <https://flawdb.com/CVE-2026-64522> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-64522>
