CVE-2026-139254: net/mlx5: HWS, fix modify header pool creation race

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

mlx5cmdhwsmodifyheaderalloc() 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 Software

5 affected componentsFixes available
Linux Linux kernel
linux/kernel>=6.14.0<6.18.65
6.18.65
linux/kernel>=6.19.0<7.3.6
7.3.6
debian/linux<7.3.6-1
7.3.6-1
debian/linux
7.3.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.65
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.6
  3. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.6-1

Event History

Nov 30, 2026
CVE Published
via MITRE·01:33 PM
Data Sourced
via MITRE·01:33 PM
Description
Data Sourced
via OSV·01:33 PM
DescriptionAffected Software
Data Sourced
via NVD·02:18 PM
Description

Frequently Asked Questions

1

Which workloads are exposed to the race condition?

Systems using mlx5 HWS where TC and CT can allocate modify headers concurrently are exposed. The race occurs when both callers fail to find a matching pool and attempt to create a pool at the same index.

2

What symptoms can this issue produce?

One concurrent allocation can fail with -EBUSY after two callers select the same pool index. The failing path can also destroy a pool that another caller has already begun using.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203