{"api_version":"1","generated_at":"2026-12-01T13:13:07+00:00","cve":"CVE-2026-139225","urls":{"html":"https://cve.report/CVE-2026-139225","api":"https://cve.report/api/cve/CVE-2026-139225.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139225","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139225"},"summary":{"title":"net/mlx5: HWS, fix modify header pool match for copy actions","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:43","updated_at":"2026-11-30 14:18:43"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/7debb50be9e5c242121b05ec84ba117722b1ffcc","name":"https://git.kernel.org/stable/c/7debb50be9e5c242121b05ec84ba117722b1ffcc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f8c15a036e714997bb1e77ef7735e47600ee1612","name":"https://git.kernel.org/stable/c/f8c15a036e714997bb1e77ef7735e47600ee1612","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d425ec9bb9371d52d492ac4d09f0da6e26561684","name":"https://git.kernel.org/stable/c/d425ec9bb9371d52d492ac4d09f0da6e26561684","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139225","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139225","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b36315ca69cb39c839c98a31cae27b266481b0ac f8c15a036e714997bb1e77ef7735e47600ee1612 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b36315ca69cb39c839c98a31cae27b266481b0ac 7debb50be9e5c242121b05ec84ba117722b1ffcc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b36315ca69cb39c839c98a31cae27b266481b0ac d425ec9bb9371d52d492ac4d09f0da6e26561684 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.14","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.14 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","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","vendor":"Linux","versions":[{"lessThan":"f8c15a036e714997bb1e77ef7735e47600ee1612","status":"affected","version":"b36315ca69cb39c839c98a31cae27b266481b0ac","versionType":"git"},{"lessThan":"7debb50be9e5c242121b05ec84ba117722b1ffcc","status":"affected","version":"b36315ca69cb39c839c98a31cae27b266481b0ac","versionType":"git"},{"lessThan":"d425ec9bb9371d52d492ac4d09f0da6e26561684","status":"affected","version":"b36315ca69cb39c839c98a31cae27b266481b0ac","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","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","vendor":"Linux","versions":[{"status":"affected","version":"6.14"},{"lessThan":"6.14","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"6.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"6.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"6.14","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:32:46.548Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139225","datePublished":"2026-11-30T13:32:46.548Z","dateReserved":"2026-11-30T13:22:15.921Z","dateUpdated":"2026-11-30T13:32:46.548Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:43","lastModifiedDate":"2026-11-30 14:18:43","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139225","Ordinal":"1","Title":"net/mlx5: HWS, fix modify header pool match for copy actions","CVE":"CVE-2026-139225","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139225","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"net/mlx5: HWS, fix modify header pool match for copy actions"}]}}}