Shellfeed logo Shellfeed

CVE-2026-98016 · UNKNOWN

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

EPSS: 0.2% probability of exploitation in the next 30 days (percentile 6.7).

Details

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.

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [36a3196256bf3310e5e7142b0e61787f7a201abd – cdf920e44cbbee1900c66f002fb50afee20977d4]
  • Linux Kernel [5.13.0 – 5.15.222] [5.16.0 – 6.1.189] [6.2.0 – 6.6.158] [6.7.0 – 6.12.111] [6.13.0 – 6.18.53] [6.19.0 – 7.2.7]

References