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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
b36315ca69cb39c839c98a31cae27b266481b0ac to < f8c15a036e714997bb1e77ef7735e47600ee1612affectedb36315ca69cb39c839c98a31cae27b266481b0ac to < 7debb50be9e5c242121b05ec84ba117722b1ffccaffectedb36315ca69cb39c839c98a31cae27b266481b0ac to < d425ec9bb9371d52d492ac4d09f0da6e26561684affected
Linux Linux
Default version status: affected
6.14affected0 to < 6.14unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected