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

net/mlx5: HWS, fix modify header pool match for copy actions

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

Description

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: HWS, fix modify header pool match for copy actions mlx5_fs_hws_mh_pool_match() compares a single dword of each action since rules pass their values as arguments. Copy and add_field actions keep their destination in the second dword and HWS reads them from the pattern alone. Two modify headers whose copies differ only in destination then share a pool and the second rule writes to the wrong field. Use the HWS core comparison that checks these actions in full. Found while checking a Sashiko AI review report and confirmed against the HWS pattern code. Not reproduced. No in-kernel user puts such actions on the FDB but RDMA flow actions can. Tested for regressions on ConnectX-7 with firmware 28.48.1000 on a little-endian host.

Affected products and versions

Linux Linuxb36315ca69cb39c839c98a31cae27b266481b0ac – < f8c15a036e714997bb1e77ef7735e47600ee1612 · b36315ca69cb39c839c98a31cae27b266481b0ac – < 7debb50be9e5c242121b05ec84ba117722b1ffcc · b36315ca69cb39c839c98a31cae27b266481b0ac – < d425ec9bb9371d52d492ac4d09f0da6e26561684Fixed in: f8c15a036e714997bb1e77ef7735e47600ee1612 · 7debb50be9e5c242121b05ec84ba117722b1ffcc · d425ec9bb9371d52d492ac4d09f0da6e26561684
Linux Linux6.14Fixed in: 6.18.65 · 7.3.6 · 7.4-rc1

References

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