Not scored
net/mlx5: HWS, fix modify header pool match for copy actions
- Severity
- Not scored
- Exploit likelihood
- 0.20% (higher than 10% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- 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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from b36315ca69cb39c839c98a31cae27b266481b0ac before f8c15a036e714997bb1e77ef7735e47600ee1612, from b36315ca69cb39c839c98a31cae27b266481b0ac before 7debb50be9e5c242121b05ec84ba117722b1ffcc, from b36315ca69cb39c839c98a31cae27b266481b0ac before d425ec9bb9371d52d492ac4d09f0da6e26561684, 6.14 Not affected: before 6.14, from 6.18.65 up to 6.18.*, from 7.3.6 up to 7.3.*, from 7.4-rc1 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-139225 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-139225 changed 2026-11-30 | Public domain |