CVE-2026-98498

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

Published Oct 18, 2026 CVSS 3.1 · 2.5 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Linux kernel contains a reference leak in the mlx5 driver. When a reverse entry is located but its counter is already being released, the function refcount_inc_not_zero() fails and the reference that mlx5_tc_ct_entry_get() acquired is never released before the routine falls through to create_counter. As a result, the reverse entry remains alive indefinitely, effectively leaking a kernel resource and potentially leading to exhaustion or denial of service if the leak accumulates over time.

Affected Systems

This issue is present in the Linux kernel’s network stack for all releases prior to the commit that introduced the fix. It affects systems that use the mlx5 driver on the Linux platform, including any distribution that ships with the unaffected kernel version.

Risk and Exploitability

The CVSS score is 2.5, indicating low severity, and the EPSS score is <1%, indicating a very low exploitation probability. The vulnerability is not listed in the CISA KEV catalog, and no publicly recorded exploitation data exists. The likely attack vector is inferred to be through crafted network traffic that triggers the mlx5 counter lookup path, which an attacker could provoke by interacting with the mlx5 interface or by using privileged code to invoke the driver. The resulting reference leak could degrade system stability and lead to resource exhaustion, but given the low severity and low exploitation probability, the risk is considered moderate until the kernel is updated.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply a kernel update that contains the fix released in commit 0bf6bb567f0edaa771e7dd208ef98da50e6a4485.
  • If an immediate kernel upgrade is not feasible, restrict or remove usage of the mlx5 network interface to prevent execution of the vulnerable code path.
  • Monitor the system for signs of resource exhaustion, such as increased memory usage or kernel panics, to detect possible ongoing leakage.

Generated by OpenCVE AI on October 22, 2026 at 22:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Ubuntu USN Ubuntu USN USN-8961-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9029-1 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9091-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9183-1 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-9192-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-911
References
Metrics threat_severity

None

cvssV3_1

{'score': 2.5, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L'}

threat_severity

Low

Type Values Removed Values Added
Weaknesses CWE-772
Type Values Removed Values Added
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.
Title net/mlx5: Fix rev_entry reference leak in mlx5_tc_ct_shared_counter_get()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime

  • CWE-911

    Improper Update of Reference Count

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 9:20 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 18, 2026, 4:17 PM
Modified
Oct 19, 2026, 10:19 AM
Severity
Low
Public date
Oct 18, 2026, 12:00 AM