Technical impact
The kernel’s mlx5 driver contains a race condition in the function mlx5_cmd_hws_modify_header_alloc. When two allocations for modify headers occur concurrently, they can choose the same index, causing the second call to fail with -EBUSY. The error path also destroys the newly created pool, which may already be in use by the other caller, potentially corrupting kernel memory and leading to a crash or denial of service.
Affected Systems
All Linux kernel builds that include the mlx5 driver before the patch are affected. The vulnerability is present in any kernel version that has not yet applied the commit that moves pool cleanup to after the fix. There is no vendor‑specific version range listed, so all Linux kernel distributions that ship the unpatched mlx5 code are at risk.
Risk and Exploitability
The CVSS score is not supplied and the EPSS score is unavailable, but the flaw could be triggered by any process that requests modify header allocation concurrently, implying a local or kernel‑space attacker can induce a crash. No public exploit is known and the vulnerability is not listed in the CISA KEV catalog. The lack of a defensive lock makes the race condition easy to trigger, so the risk is moderate to high, especially on systems that run high‑traffic networking workloads.