CVE-2026-139225

Source
https://cve.org/CVERecord?id=CVE-2026-139225
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139225.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139225
Downstream
Published
2026-11-30T13:32:46Z
Modified
2026-11-30T15:02:27Z
Summary
net/mlx5: HWS, fix modify header pool match for copy actions
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139225.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b36315ca69cb39c839c98a31cae27b266481b0ac
Fixed
f8c15a036e714997bb1e77ef7735e47600ee1612
Fixed
7debb50be9e5c242121b05ec84ba117722b1ffcc
Fixed
d425ec9bb9371d52d492ac4d09f0da6e26561684

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139225.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.14.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139225.json"