CVE-2026-98895 (GCVE-0-2026-98895)
Vulnerability from cvelistv5
Published
2026-10-23 11:37
Modified
2026-10-26 06:56
Summary
In the Linux kernel, the following vulnerability has been resolved: net/mlx5: HWS, Handle destroying table that has a miss table If a table has a miss table that was created by 'mlx5hws_table_set_default_miss' API function, its miss_tbl keeps the table that points to it in a list. If such table is deleted, we need to also remove it from the miss_tbl list, otherwise the node in miss_tbl list will contain garbage.
Impacted products
Vendor Product Version
Linux Linux Version: 9fc43b5e3933a7e5924ba83d7561399d439de5bb
Version: 9fc43b5e3933a7e5924ba83d7561399d439de5bb
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/mellanox/mlx5/core/steering/hws/table.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "6efdc212627cecf33b594256ae4460b4c52a126a",
              "status": "affected",
              "version": "9fc43b5e3933a7e5924ba83d7561399d439de5bb",
              "versionType": "git"
            },
            {
              "lessThan": "60e9e82f162ab7399373ff2185119289e4f6dc06",
              "status": "affected",
              "version": "9fc43b5e3933a7e5924ba83d7561399d439de5bb",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/ethernet/mellanox/mlx5/core/steering/hws/table.c"
          ],
          "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.53",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.53",
                  "versionStartIncluding": "6.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "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, Handle destroying table that has a miss table\n\nIf a table has a miss table that was created by\n\u0027mlx5hws_table_set_default_miss\u0027 API function, its miss_tbl\nkeeps the table that points to it in a list.\nIf such table is deleted, we need to also remove it from the\nmiss_tbl list, otherwise the node in miss_tbl list will contain\ngarbage."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - RTM_NEWTFILTER/RTM_DELTFILTER reaches tc_new_tfilter/tc_del_tfilter, mlx5e flower offload, mlx5_destroy_flow_table(), and the patched mlx5hws_table_destroy(); network packets only traverse installed rules and cannot create the stale list node.\nAC:H - mlx5_cmd_hws_destroy_flow_table() normally removes the miss link through mlx5_fs_set_ft_default_miss(NULL); the stale node requires its mlx5hws_cmd_flow_table_modify() disconnect to fail while destruction continues, a firmware/device condition the TC actor cannot reliably induce.\nPR:L - rtnetlink_rcv_msg() gates RTM_*TFILTER with netlink_net_capable(CAP_NET_ADMIN), which uses the socket network namespace\u0027s user_ns. CAP_NET_ADMIN in a delegated netns containing an mlx5 representor suffices; mlx5e_setup_tc_block_cb() adds no init-user-namespace check.\nUI:N - Once an HMFS switchdev device is configured, the TC actor can issue the filter deletion and subsequent table or matcher operation directly; no action by another user is required.\nS:U - The dangling mlx5hws_table is consumed within the host mlx5 driver and kernel allocator; exploitation affects the same kernel security authority rather than crossing a VM, IOMMU, or other scope boundary.\nC:H - mlx5hws_table_update_connected_miss_tables() treats the freed list entry as a live src_tbl and dereferences its ctx, matchers_list, IDs, and other pointers, giving a reclaim-and-spray attacker UAF-based kernel-memory read potential.\nI:H - list_add() can write a new-node pointer through the stale freed list entry, and mlx5hws_table_connect_to_miss_table() later writes src_tbl-\u003edefault_miss.miss_tbl through that UAF; controlled slab reuse can convert these writes into exploitable heap corruption.\nA:H - Walking the freed default_miss.next entry and dereferencing a reclaimed src_tbl can corrupt list state or fault on bogus ctx and matcher pointers, causing a kernel oops or panic."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-26T06:56:21.757Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/6efdc212627cecf33b594256ae4460b4c52a126a"
        },
        {
          "url": "https://git.kernel.org/stable/c/60e9e82f162ab7399373ff2185119289e4f6dc06"
        }
      ],
      "title": "net/mlx5: HWS, Handle destroying table that has a miss table",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98895",
    "datePublished": "2026-10-23T11:37:56.618Z",
    "dateReserved": "2026-09-25T10:25:14.378Z",
    "dateUpdated": "2026-10-26T06:56:21.757Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…