net/mlx5: Fix rev_entry reference leak in mlx5_tc_ct_shared_counter_get()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0bf6bb567f0edaa771e7dd208ef98da50e6a4485, Kernel 1f13989a0704bd98cab09f9bee63e2c8a98ad4dd, Kernel 288721013605b4e0304e10f6a087b77f71cfad11 and 5 more.
In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Fix rev_entry reference leak in mlx5_tc_ct_shared_counter_get() When the reverse entry is found but its counter is already being released, refcount_inc_not_zero() fails and the reference taken by mlx5_tc_ct_entry_get() is never dropped before falling through to create_counter. Drop it so the reverse entry is not kept alive forever by a shared counter lookup that did not use it.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.10, >=1edae2335adfa7006853e8b427f0c7c3f46b51dd <0bf6bb567f0edaa771e7dd208ef98da50e6a4485, >=1edae2335adfa7006853e8b427f0c7c3f46b51dd <1f13989a0704bd98cab09f9bee63e2c8a98ad4dd, >=1edae2335adfa7006853e8b427f0c7c3f46b51dd <288721013605b4e0304e10f6a087b77f71cfad11, >=1edae2335adfa7006853e8b427f0c7c3f46b51dd <598daa5f95883f881a54967da40ce0fdfc1fdaa8, >=1edae2335adfa7006853e8b427f0c7c3f46b51dd <60eab87d0a798070bf5a856b1d9e5785ce92da53, >=1edae2335adfa7006853e8b427f0c7c3f46b51dd <79a3257280a335bbebbcd10d3895e8468bdcd6ae, >=1edae2335adfa7006853e8b427f0c7c3f46b51dd <99d8dc51663747078c031acac32edc6d90c8f1f7, >=1edae2335adfa7006853e8b427f0c7c3f46b51dd <c45c997d0c27359b502587897f775c5a277f0bd4 | 0bf6bb567f0edaa771e7dd208ef98da50e6a4485, 1f13989a0704bd98cab09f9bee63e2c8a98ad4dd, 288721013605b4e0304e10f6a087b77f71cfad11, 598daa5f95883f881a54967da40ce0fdfc1fdaa8, 60eab87d0a798070bf5a856b1d9e5785ce92da53, 79a3257280a335bbebbcd10d3895e8468bdcd6ae, 99d8dc51663747078c031acac32edc6d90c8f1f7, c45c997d0c27359b502587897f775c5a277f0bd4 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket