net/mlx5e: Fix use-after-free race in sample_restore_put()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel cdf920e44cbbee1900c66f002fb50afee20977d4, Kernel 1daecd76ab9e5f055fe3970462410ad1d40bd177, Kernel 308e1cbb0d9712081f90860fe839ccb47bc196ee and 10 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=36a3196256bf3310e5e7142b0e61787f7a201abd <cdf920e44cbbee1900c66f002fb50afee20977d4, >=36a3196256bf3310e5e7142b0e61787f7a201abd <1daecd76ab9e5f055fe3970462410ad1d40bd177, >=36a3196256bf3310e5e7142b0e61787f7a201abd <308e1cbb0d9712081f90860fe839ccb47bc196ee, >=36a3196256bf3310e5e7142b0e61787f7a201abd <3efd1a1938cbb33c53b0d75e55b6c0fe2ebad79a, >=36a3196256bf3310e5e7142b0e61787f7a201abd <72324da8eeca269db9196c2a555abf72eb0385c5, >=36a3196256bf3310e5e7142b0e61787f7a201abd <8267e46d14e847e80e0aebe366d348e8a484a619, >=36a3196256bf3310e5e7142b0e61787f7a201abd <af3aef0245abbab5e9f6302e7a7d6407187afb71, =5.13 | cdf920e44cbbee1900c66f002fb50afee20977d4, 1daecd76ab9e5f055fe3970462410ad1d40bd177, 308e1cbb0d9712081f90860fe839ccb47bc196ee, 3efd1a1938cbb33c53b0d75e55b6c0fe2ebad79a, 72324da8eeca269db9196c2a555abf72eb0385c5, 8267e46d14e847e80e0aebe366d348e8a484a619, af3aef0245abbab5e9f6302e7a7d6407187afb71 |
| linux-kernel: Kernel | >=5.16.0 <6.1.189, >=6.13.0 <6.18.53, >=6.19.0 <7.2.7, >=6.2.0 <6.6.158, >=6.7.0 <6.12.111, >=5.13.0 <5.15.222 | 6.1.189, 6.18.53, 7.2.7, 6.6.158, 6.12.111, 5.15.222 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket