{"id":"CVE-2026-139225","summary":"net/mlx5: HWS, fix modify header pool match for copy actions","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5: HWS, fix modify header pool match for copy actions\n\nmlx5_fs_hws_mh_pool_match() compares a single dword of each action\nsince rules pass their values as arguments. Copy and add_field actions\nkeep their destination in the second dword and HWS reads them from the\npattern alone. Two modify headers whose copies differ only in\ndestination then share a pool and the second rule writes to the wrong\nfield.\n\nUse the HWS core comparison that checks these actions in full.\n\nFound while checking a Sashiko AI review report and confirmed against\nthe HWS pattern code. Not reproduced. No in-kernel user puts such\nactions on the FDB but RDMA flow actions can. Tested for regressions on\nConnectX-7 with firmware 28.48.1000 on a little-endian host.","modified":"2026-12-01T21:02:37.080600186Z","published":"2026-11-30T13:32:46.548Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139225.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/7debb50be9e5c242121b05ec84ba117722b1ffcc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d425ec9bb9371d52d492ac4d09f0da6e26561684"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f8c15a036e714997bb1e77ef7735e47600ee1612"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139225.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139225"},{"type":"PACKAGE","url":"https://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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.9.2"}