{"api_version":"1","generated_at":"2026-10-26T08:56:35+00:00","cve":"CVE-2026-98895","urls":{"html":"https://cve.report/CVE-2026-98895","api":"https://cve.report/api/cve/CVE-2026-98895.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-98895","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-98895"},"summary":{"title":"net/mlx5: HWS, Handle destroying table that has a miss table","description":"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'mlx5hws_table_set_default_miss' 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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-10-23 12:18:23","updated_at":"2026-10-26 07:17:14"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"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"}}],"references":[{"url":"https://git.kernel.org/stable/c/6efdc212627cecf33b594256ae4460b4c52a126a","name":"https://git.kernel.org/stable/c/6efdc212627cecf33b594256ae4460b4c52a126a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/60e9e82f162ab7399373ff2185119289e4f6dc06","name":"https://git.kernel.org/stable/c/60e9e82f162ab7399373ff2185119289e4f6dc06","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/16b81428f7b5f253ab30a998bc4f4ecd1c8823f8","name":"https://git.kernel.org/stable/c/16b81428f7b5f253ab30a998bc4f4ecd1c8823f8","refsource":"MITRE","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98895","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98895","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9fc43b5e3933a7e5924ba83d7561399d439de5bb 6efdc212627cecf33b594256ae4460b4c52a126a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 9fc43b5e3933a7e5924ba83d7561399d439de5bb 60e9e82f162ab7399373ff2185119289e4f6dc06 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.53 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2 * 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/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'mlx5hws_table_set_default_miss' 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's 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->default_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"},"nvd":{"publishedDate":"2026-10-23 12:18:23","lastModifiedDate":"2026-10-26 07:17:14","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"98895","Ordinal":"1","Title":"net/mlx5: HWS, Handle destroying table that has a miss table","CVE":"CVE-2026-98895","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"98895","Ordinal":"1","NoteData":"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'mlx5hws_table_set_default_miss' 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.","Type":"Description","Title":"net/mlx5: HWS, Handle destroying table that has a miss table"}]}}}