CVE-2026-98498 PUBLISHED

net/mlx5: Fix rev_entry reference leak in mlx5_tc_ct_shared_counter_get()

Assigner: Linux
Reserved: 25.09.2026 Published: 18.10.2026 Updated: 18.10.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 1edae2335adfa7006853e8b427f0c7c3f46b51dd to 598daa5f95883f881a54967da40ce0fdfc1fdaa8 (excl.)
  • affected from 1edae2335adfa7006853e8b427f0c7c3f46b51dd to 79a3257280a335bbebbcd10d3895e8468bdcd6ae (excl.)
  • affected from 1edae2335adfa7006853e8b427f0c7c3f46b51dd to c45c997d0c27359b502587897f775c5a277f0bd4 (excl.)
  • affected from 1edae2335adfa7006853e8b427f0c7c3f46b51dd to 288721013605b4e0304e10f6a087b77f71cfad11 (excl.)
  • affected from 1edae2335adfa7006853e8b427f0c7c3f46b51dd to 60eab87d0a798070bf5a856b1d9e5785ce92da53 (excl.)
  • affected from 1edae2335adfa7006853e8b427f0c7c3f46b51dd to 99d8dc51663747078c031acac32edc6d90c8f1f7 (excl.)
  • affected from 1edae2335adfa7006853e8b427f0c7c3f46b51dd to 1f13989a0704bd98cab09f9bee63e2c8a98ad4dd (excl.)
  • affected from 1edae2335adfa7006853e8b427f0c7c3f46b51dd to 0bf6bb567f0edaa771e7dd208ef98da50e6a4485 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.10 is affected
  • unaffected from 0 to 5.10 (excl.)
  • unaffected from 5.10.271 to 5.10.* (incl.)
  • unaffected from 5.15.222 to 5.15.* (incl.)
  • unaffected from 6.1.189 to 6.1.* (incl.)
  • unaffected from 6.6.158 to 6.6.* (incl.)
  • unaffected from 6.12.112 to 6.12.* (incl.)
  • unaffected from 6.18.55 to 6.18.* (incl.)
  • unaffected from 7.2.9 to 7.2.* (incl.)
  • unaffected from 7.3-rc5 to * (incl.)

References