{"id":"CVE-2026-139225","aliases":["CVE-2026-139225"],"related":[],"kind":"vulnerability","state":"published","title":"net/mlx5: HWS, fix modify header pool match for copy actions","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-30T13:32:46.548Z","modified":"2026-11-30T14:18:43.337Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b36315ca69cb39c839c98a31cae27b266481b0ac","fixed":"f8c15a036e714997bb1e77ef7735e47600ee1612","status":"affected"},{"type":"git","introduced":"b36315ca69cb39c839c98a31cae27b266481b0ac","fixed":"7debb50be9e5c242121b05ec84ba117722b1ffcc","status":"affected"},{"type":"git","introduced":"b36315ca69cb39c839c98a31cae27b266481b0ac","fixed":"d425ec9bb9371d52d492ac4d09f0da6e26561684","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.14","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/f8c15a036e714997bb1e77ef7735e47600ee1612","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7debb50be9e5c242121b05ec84ba117722b1ffcc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d425ec9bb9371d52d492ac4d09f0da6e26561684","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139225","url":"https://www.cve.org/CVERecord?id=CVE-2026-139225","licence":"CVE Terms of Use","modified":"2026-11-30T13:32:46.548Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139225","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139225","licence":"Public domain","modified":"2026-11-30T14:18:43.337Z"}],"updatedAt":"2026-11-30T14:32:47.203Z","epss":{"score":0.00198,"percentile":0.1012,"date":"2026-12-01T12:00:22.000Z"}}