Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 7.0CVE-2026-139254

net/mlx5: HWS, fix modify header pool creation race

Published 30/11/2026 · Updated 01/12/2026 · Linux

Description

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: HWS, fix modify header pool creation race mlx5_cmd_hws_modify_header_alloc() creates a pool at the index after the last one if no pool matches the pattern. TC and CT allocate modify headers concurrently, meaning two callers can take the same index and the second call fails with -EBUSY. Its error path also destroys the pool it just created although another caller may already use it. Keep such a pool since cleanup releases it. Pools now live until cleanup so the lookup needs no lock. A miss looks again under a mutex before creating the pool. Tested for regressions on ConnectX-7 with firmware 28.48.1000.

Affected products and versions

Linux Linuxb36315ca69cb39c839c98a31cae27b266481b0ac – < 479939aca455d0d14d618fb31668b49503e3dfeb · b36315ca69cb39c839c98a31cae27b266481b0ac – < d0df668d184893e596c9ce9ec55fff339949c803 · b36315ca69cb39c839c98a31cae27b266481b0ac – < e4ab8ab27ab1c9f0cd1589bee471d93319e20c95Fixed in: 479939aca455d0d14d618fb31668b49503e3dfeb · d0df668d184893e596c9ce9ec55fff339949c803 · e4ab8ab27ab1c9f0cd1589bee471d93319e20c95
Linux Linux6.14Fixed in: 6.18.65 · 7.3.6 · 7.4-rc1

CVSS vector, explained

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack vector
Local
Attack complexity
High
Privileges required
Regular user
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
High impact
Integrity
High impact
Availability
High impact

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.