Integer overflow in Linux

CVE-2026-64522

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.

Vulnerability class: Integer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.005, 44.2th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 22239eb258bc1e6ccdb2d3502fce1cc2b2a88386, 993c4ba71596c30418ba5a0ddcf4f9c2f431466a, 6.17.4
  • Linux Kernel — versions 7.1

Weakness classification (CWE)

References