All vulnerabilities
CVE-2026-98016

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

Linux LinuxOperating systems
CVSS
NoneNot scored
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.17%Chance of exploitation activity in the next 30 days, higher than 6% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in308e1cbb0d9712081f90860fe839ccb47bc196eeAlso 8267e46d14e847e80e0aebe366d348e8a484a619, 3efd1a1938cbb33c53b0d75e55b6c0fe2ebad79a and 2 moreCVE List
Published25 Sep 2026Updated 19 Oct 2026CVE List

What fixes it

  • 308e1cbb0d9712081f90860fe839ccb47bc196eeLinuxCVE List
  • 8267e46d14e847e80e0aebe366d348e8a484a619LinuxCVE List
  • 3efd1a1938cbb33c53b0d75e55b6c0fe2ebad79aLinuxCVE List
  • 72324da8eeca269db9196c2a555abf72eb0385c5LinuxCVE List
  • 1daecd76ab9e5f055fe3970462410ad1d40bd177LinuxCVE List

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

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.

Text from CVE List

Affected versions 16

  • Linuxaffected: 36a3196256bf3310e5e7142b0e61787f7a201abd before cdf920e44cbbee1900c66f002fb50afee20977d4CVE List
  • Linuxaffected: 36a3196256bf3310e5e7142b0e61787f7a201abd before 308e1cbb0d9712081f90860fe839ccb47bc196eeCVE List
  • Linuxaffected: 36a3196256bf3310e5e7142b0e61787f7a201abd before 8267e46d14e847e80e0aebe366d348e8a484a619CVE List
  • Linuxaffected: 36a3196256bf3310e5e7142b0e61787f7a201abd before 3efd1a1938cbb33c53b0d75e55b6c0fe2ebad79aCVE List
  • Linuxaffected: 36a3196256bf3310e5e7142b0e61787f7a201abd before 72324da8eeca269db9196c2a555abf72eb0385c5CVE List
  • Linuxaffected: 36a3196256bf3310e5e7142b0e61787f7a201abd before 1daecd76ab9e5f055fe3970462410ad1d40bd177CVE List
  • Linuxaffected: 36a3196256bf3310e5e7142b0e61787f7a201abd before af3aef0245abbab5e9f6302e7a7d6407187afb71CVE List
  • Linuxaffected: 5.13CVE List
  • Linuxunaffected: all versions before 5.13CVE List
  • Linuxunaffected: 5.15.222 through 5.15.*CVE List
  • Linuxunaffected: 6.1.189 through 6.1.*CVE List
  • Linuxunaffected: 6.6.158 through 6.6.*CVE List
  • Linuxunaffected: 6.12.111 through 6.12.*CVE List
  • Linuxunaffected: 6.18.53 through 6.18.*CVE List
  • Linuxunaffected: 7.2.7 through 7.2.*CVE List
  • Linuxunaffected: 7.3CVE List

References 7