{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "fe22f7410527c2077223b5fd0fc0458db912f0db"
            },
            {
              "fixed": "41ad5bcf0219aaebf8ffb052c5e8177479330cde"
            },
            {
              "fixed": "c8e934287debb29c6ded86b21e49fc72e186d15e"
            },
            {
              "fixed": "3938430f0237c59ca08d6a366e7657b2b7f8d0bb"
            },
            {
              "fixed": "4eaf1285b5c1e42f80e47f9fe0d391e70418db02"
            },
            {
              "fixed": "7ea07afb230f1342ab0f9365edd0aae137f425d3"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.6.0"
            },
            {
              "fixed": "6.6.160"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.113"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.57"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.11"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98948.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmlxsw: spectrum_flower: Fix port range register leak in tmplt_create()\n\nmlxsw_sp_flower_tmplt_create() parses a flow_cls_offload template\ninto a stack-local struct mlxsw_sp_acl_rule_info purely to compute\nrulei.values.elusage. Parsing can acquire port range registers via\nmlxsw_sp_flower_parse_ports_range(), but since this rulei never goes\nthrough mlxsw_sp_acl_rulei_destroy(), those registers were never\nreleased, including through chain template deletion.\n\nFactor out of mlxsw_sp_acl_rulei_destroy() the code to actually\nrelease the necessary resources and call from\nmlxsw_sp_flower_tmplt_create() to plug the leak.\n\nThe issue was found during a review of Wentao Liang's patch referenced\nbelow.",
  "id": "CVE-2026-98948",
  "modified": "2026-10-28T02:31:13.481805890Z",
  "published": "2026-10-23T12:19:08.043Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3938430f0237c59ca08d6a366e7657b2b7f8d0bb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/41ad5bcf0219aaebf8ffb052c5e8177479330cde"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4eaf1285b5c1e42f80e47f9fe0d391e70418db02"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7ea07afb230f1342ab0f9365edd0aae137f425d3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c8e934287debb29c6ded86b21e49fc72e186d15e"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98948.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98948"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "mlxsw: spectrum_flower: Fix port range register leak in tmplt_create()"
}