CVE-2026-98016

net/mlx5e: Fix use-after-free race in sample_restore_put()

No CVSS score yet EPSS 0.22%

Published 25 Sep 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-98016

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98016 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

net/mlx5e: Fix use-after-free race in sample_restore_put()

Concurrent teardown of TC sample rules sharing the same restore context may re-read restore->count after dropping restore_lock. At that point another thread may already have completed cleanup and freed the restore object.

Use the result of the refcount decrement while holding restore_lock to determine whether cleanup is needed.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.90% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 36a3196256bf3310e5e7142b0e61787f7a201abd, before cdf920e44cbbee1900c66f002fb50afee20977d4
affected from 36a3196256bf3310e5e7142b0e61787f7a201abd, before 308e1cbb0d9712081f90860fe839ccb47bc196ee
affected from 36a3196256bf3310e5e7142b0e61787f7a201abd, before 8267e46d14e847e80e0aebe366d348e8a484a619
affected from 36a3196256bf3310e5e7142b0e61787f7a201abd, before 3efd1a1938cbb33c53b0d75e55b6c0fe2ebad79a
affected from 36a3196256bf3310e5e7142b0e61787f7a201abd, before 72324da8eeca269db9196c2a555abf72eb0385c5
affected from 36a3196256bf3310e5e7142b0e61787f7a201abd, before 1daecd76ab9e5f055fe3970462410ad1d40bd177
affected from 36a3196256bf3310e5e7142b0e61787f7a201abd, before af3aef0245abbab5e9f6302e7a7d6407187afb71
Other versions: unaffected
Linux
affected 5.13
unaffected before 5.13
unaffected from 5.15.222 up to and including 5.15.*
unaffected from 6.1.189 up to and including 6.1.*
unaffected from 6.6.158 up to and including 6.6.*
unaffected from 6.12.111 up to and including 6.12.*
unaffected from 6.18.53 up to and including 6.18.*
unaffected from 7.2.7 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98016 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98016

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-98016
trivy image --scanners vuln IMAGE | grep CVE-2026-98016

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-98016 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.