{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139225","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-11-30T13:22:15.921Z","datePublished":"2026-11-30T13:32:46.548Z","dateUpdated":"2026-11-30T13:32:46.548Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:32:46.548Z"},"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":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","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"],"versions":[{"version":"b36315ca69cb39c839c98a31cae27b266481b0ac","lessThan":"f8c15a036e714997bb1e77ef7735e47600ee1612","status":"affected","versionType":"git"},{"version":"b36315ca69cb39c839c98a31cae27b266481b0ac","lessThan":"7debb50be9e5c242121b05ec84ba117722b1ffcc","status":"affected","versionType":"git"},{"version":"b36315ca69cb39c839c98a31cae27b266481b0ac","lessThan":"d425ec9bb9371d52d492ac4d09f0da6e26561684","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","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"],"versions":[{"version":"6.14","status":"affected"},{"version":"0","lessThan":"6.14","status":"unaffected","versionType":"semver"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.14","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/f8c15a036e714997bb1e77ef7735e47600ee1612"},{"url":"https://git.kernel.org/stable/c/7debb50be9e5c242121b05ec84ba117722b1ffcc"},{"url":"https://git.kernel.org/stable/c/d425ec9bb9371d52d492ac4d09f0da6e26561684"}],"title":"net/mlx5: HWS, fix modify header pool match for copy actions","x_generator":{"engine":"bippy-1.2.0"}}}}