VDB

CVE-2026-98015

CVE-2026-98015 PUBLISHED

net/mlx5: E-Switch: fix use-after-free in mlx5_eswitch_termtbl_put

Reported by linux · Published September 25, 2026

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: E-Switch: fix use-after-free in mlx5_eswitch_termtbl_put In mlx5_eswitch_termtbl_put(), the zero-ref cleanup check reads tt->ref_count after termtbl_mutex has been released. Two concurrent callers on the same mlx5_termtbl_handle race: one decrements ref_count to zero, removes the hash entry, and calls kfree(tt) while the other has already dropped the mutex and is about to evaluate if (!tt->ref_count), producing a use-after-free. Fix this by capturing the result of the decrement into a stack-local last variable before dropping the mutex. The cleanup decision is now made entirely under termtbl_mutex, and tt is not touched after kfree.

EPSS 0.18% · 7.3th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12Amazon Linux1:6.12.111-136.204.amzn2023
python3-perf6.12Amazon Linux1:6.12.111-136.204.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.54-121.166.amzn2023
kernel-livepatch-6.12.111-136.204Amazon Linux1:1.0-0.amzn2023
kernel6.18-develAmazon Linux1:6.18.54-121.166.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.54-121.166.amzn2023
python3-perf6.18Amazon Linux1:6.18.54-121.166.amzn2023
kernel-headersAmazon Linux1:6.1.189-236.399.amzn2023
perf6.18Amazon Linux1:6.18.54-121.166.amzn2023
kernel-tools-develAmazon Linux1:6.1.189-236.399.amzn2023
kernel6.12-develAmazon Linux1:6.12.111-136.204.amzn2023
kernel-livepatch-6.18.54-121.166Amazon Linux1:1.0-0.amzn2023

3 more packages have a fixed version. See every fix in Lookup.

Risk scores

EPSS Score
0.18%
7.3th percentile

Affected products

VendorProductVersions
LinuxLinux10caabdaad5ace85577a453da97d1f8d3b944427, 10caabdaad5ace85577a453da97d1f8d3b944427, 10caabdaad5ace85577a453da97d1f8d3b944427
LinuxLinux5.3, 0, 5.10.271
amazon:2023kernel6.120
amazon:2023python3-perf6.120
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel-livepatch-6.12.111-136.2040
amazon:2023kernel6.18-devel0
amazon:2023kernel6.18-modules-extra0
amazon:2023python3-perf6.180
amazon:2023kernel-headers0
amazon:2023perf6.180
amazon:2023kernel-tools-devel0
amazon:2023kernel6.12-devel0
amazon:2023kernel-livepatch-6.18.54-121.1660
amazon:2023microvm-kernel0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-livepatch-6.1.189-236.3990
linuxlinux_kernel5.3, 5.3, 5.3
amazon:2023python3-perf0
amazon:2023kernel6.12-tools-devel0

…and 19 more

Timeline

  • Sep 25, 2026 CVE Published
  • Sep 26, 2026 EPSS Score (8 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98015
vulnetix vdb fixes CVE-2026-98015

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98015/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›