{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "b36315ca69cb39c839c98a31cae27b266481b0ac"
            },
            {
              "fixed": "f8c15a036e714997bb1e77ef7735e47600ee1612"
            },
            {
              "fixed": "7debb50be9e5c242121b05ec84ba117722b1ffcc"
            },
            {
              "fixed": "d425ec9bb9371d52d492ac4d09f0da6e26561684"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.14.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139225.json"
  },
  "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.",
  "id": "CVE-2026-139225",
  "modified": "2026-12-01T20:45:16.210755531Z",
  "published": "2026-11-30T13:32:46.548Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "net/mlx5: HWS, fix modify header pool match for copy actions"
}