# CVE-2026-98498: net/mlx5: Fix rev_entry reference leak in mlx5_tc_ct_shared_counter_get()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-10-18T15:16:30.116Z
- Modified: 2026-10-19T10:19:02.553Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1edae2335adfa7006853e8b427f0c7c3f46b51dd before 598daa5f95883f881a54967da40ce0fdfc1fdaa8; from 1edae2335adfa7006853e8b427f0c7c3f46b51dd before 79a3257280a335bbebbcd10d3895e8468bdcd6ae; from 1edae2335adfa7006853e8b427f0c7c3f46b51dd before c45c997d0c27359b502587897f775c5a277f0bd4; from 1edae2335adfa7006853e8b427f0c7c3f46b51dd before 288721013605b4e0304e10f6a087b77f71cfad11; from 1edae2335adfa7006853e8b427f0c7c3f46b51dd before 60eab87d0a798070bf5a856b1d9e5785ce92da53; from 1edae2335adfa7006853e8b427f0c7c3f46b51dd before 99d8dc51663747078c031acac32edc6d90c8f1f7; from 1edae2335adfa7006853e8b427f0c7c3f46b51dd before 1f13989a0704bd98cab09f9bee63e2c8a98ad4dd; from 1edae2335adfa7006853e8b427f0c7c3f46b51dd before 0bf6bb567f0edaa771e7dd208ef98da50e6a4485; 5.10 (not affected: before 5.10; from 5.10.271 up to 5.10.*; from 5.15.222 up to 5.15.*; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.112 up to 6.12.*; from 6.18.55 up to 6.18.*; from 7.2.9 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/598daa5f95883f881a54967da40ce0fdfc1fdaa8>
- <https://git.kernel.org/stable/c/79a3257280a335bbebbcd10d3895e8468bdcd6ae>
- <https://git.kernel.org/stable/c/c45c997d0c27359b502587897f775c5a277f0bd4>
- <https://git.kernel.org/stable/c/288721013605b4e0304e10f6a087b77f71cfad11>
- <https://git.kernel.org/stable/c/60eab87d0a798070bf5a856b1d9e5785ce92da53>
- <https://git.kernel.org/stable/c/99d8dc51663747078c031acac32edc6d90c8f1f7>
- <https://git.kernel.org/stable/c/1f13989a0704bd98cab09f9bee63e2c8a98ad4dd>
- <https://git.kernel.org/stable/c/0bf6bb567f0edaa771e7dd208ef98da50e6a4485>

## Sources

- CVE List: [CVE-2026-98498](https://www.cve.org/CVERecord?id=CVE-2026-98498), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98498](https://nvd.nist.gov/vuln/detail/CVE-2026-98498), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98498 · Whole record: https://cve.day/CVE-2026-98498.json · Rebuilt by cve.day 2026-11-25T22:59:45.202Z
