{"id":"CVE-2026-139225","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:18:43.337","lastModified":"2026-11-30T14:18:43.337","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws_pools.c","drivers/net/ethernet/mellanox/mlx5/core/steering/hws/pat_arg.c","drivers/net/ethernet/mellanox/mlx5/core/steering/hws/pat_arg.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"b36315ca69cb39c839c98a31cae27b266481b0ac","lessThan":"f8c15a036e714997bb1e77ef7735e47600ee1612","versionType":"git","status":"affected"},{"version":"b36315ca69cb39c839c98a31cae27b266481b0ac","lessThan":"7debb50be9e5c242121b05ec84ba117722b1ffcc","versionType":"git","status":"affected"},{"version":"b36315ca69cb39c839c98a31cae27b266481b0ac","lessThan":"d425ec9bb9371d52d492ac4d09f0da6e26561684","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/net/ethernet/mellanox/mlx5/core/steering/hws/fs_hws_pools.c","drivers/net/ethernet/mellanox/mlx5/core/steering/hws/pat_arg.c","drivers/net/ethernet/mellanox/mlx5/core/steering/hws/pat_arg.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.14","status":"affected"},{"version":"0","lessThan":"6.14","versionType":"semver","status":"unaffected"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/7debb50be9e5c242121b05ec84ba117722b1ffcc","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/d425ec9bb9371d52d492ac4d09f0da6e26561684","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f8c15a036e714997bb1e77ef7735e47600ee1612","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}