CVE-2026-64522
net/mlx5e: Fix eswitch mode block underflow on IPsec acquire SA
Reported by linux · Published July 25, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3-perf6.18 | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| kernel6.18-tools | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| microvm-kernel6.18 | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| kernel6.18-devel | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| bpftool6.18 | Amazon Linux | 1:6.18.35-68.127.amzn2023 |
| linux_kernel | linux | 7.0.11, 6.18.34 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 22239eb258bc1e6ccdb2d3502fce1cc2b2a88386, 22239eb258bc1e6ccdb2d3502fce1cc2b2a88386, 22239eb258bc1e6ccdb2d3502fce1cc2b2a88386 |
| Linux | Linux | 6.18, 0, 6.18.34 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| linux | linux_kernel | 6.18, 6.18, 6.18 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| Linux | Linux | 7.0.11, 7.1, 22239eb258bc1e6ccdb2d3502fce1cc2b2a88386 |
| amazon:2023 | kernel-livepatch-6.18.35-68.127 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
Timeline
- Jul 25, 2026 EPSS Score (30 in total, the first dated here)
- Jul 25, 2026 Coalition ESS Score
- Jul 25, 2026 CVE Published
- Jul 26, 2026 Security Advisory (20 in total, the first dated here)
- Aug 9, 2026 CVE Updated
- Aug 12, 2026 Distribution Patch (21 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-64522
vulnetix vdb fixes CVE-2026-64522
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64522/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart