net/mlx5: HWS, fix modify header pool match for copy actions
Summary
| CVE | CVE-2026-139225 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:18:43 UTC |
| Updated | 2026-11-30 14:18:43 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected b36315ca69cb39c839c98a31cae27b266481b0ac f8c15a036e714997bb1e77ef7735e47600ee1612 git |
Not specified |
| CNA |
Linux |
Linux |
affected b36315ca69cb39c839c98a31cae27b266481b0ac 7debb50be9e5c242121b05ec84ba117722b1ffcc git |
Not specified |
| CNA |
Linux |
Linux |
affected b36315ca69cb39c839c98a31cae27b266481b0ac d425ec9bb9371d52d492ac4d09f0da6e26561684 git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.14 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.14 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.65 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.6 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/7debb50be9e5c242121b05ec84ba117722b1ffcc |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/f8c15a036e714997bb1e77ef7735e47600ee1612 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/d425ec9bb9371d52d492ac4d09f0da6e26561684 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.