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

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linuxb36315ca69cb39c839c98a31cae27b266481b0ac to before f8c15a036e714997bb1e77ef7735e47600ee1612 Affectedb36315ca69cb39c839c98a31cae27b266481b0ac to before 7debb50be9e5c242121b05ec84ba117722b1ffcc Affectedb36315ca69cb39c839c98a31cae27b266481b0ac to before d425ec9bb9371d52d492ac4d09f0da6e26561684 Affected
Linux Linux6.14 Affectedbefore 6.14 Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.