All reports
Medium

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

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-98016

Probability of exploitation in the next 30 days: 0.17%

FIRST EPSS · 2026-11-24

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.

A flaw was found in the Linux kernel's Mellanox network driver (mlx5e). A race condition occurs during the concurrent teardown of traffic control (TC) sample rules sharing the same context, causing the system to reference memory after it has already been freed. A local user with network administrative capabilities could exploit this flaw to cause a Denial of Service (DoS) or potentially execute arbitrary code.