CVE Catalog

CVE-2026-98016

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel, the net/mlx5e driver's sample_restore_put() could re-read restore->count after dropping restore_lock during concurrent teardown of TC sample rules sharing the same restore context. At that point another thread may have already completed cleanup and freed the restore object, leading to a use-after-free.

Risk Assessment

A use-after-free in the mlx5e driver can lead to kernel crashes or potential code execution in kernel context, threatening system stability and security.

Recommendation

Update the Linux kernel to a version containing the fix that uses the result of the refcount decrement while holding restore_lock to determine whether cleanup is needed.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS