Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DF4544C4F7F for ; Sun, 18 Oct 2026 15:23:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792336987; cv=none; b=mJ8EaLfzQ1irU7sI3hJRVhXDjZil4a13vDpqS8wZAxB83kfsM3DM29ACvV+r7d3qhnWfsp7cQqxg5pd7dZnlhKjhb5ukb9n/FIb4aqrox2E/ybRPdZq+iz+aQ+2cxRILjla8BpPEVztFDJwYeHTQlzSZzQaiNsPMkpxUvmSFWXw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792336987; c=relaxed/simple; bh=jkWympDYasBPqGDRBeIBuU93J0MjeD1r6lDYTT9Xz6o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=B/bO8Srk5eop/rUAEg56t2Y6oUImWlmtQlQCdYf6/VlyNqMFFbf4xsOsOopw2uHqdliKTiIee4TcBb94yGHjpmH7G/Vc9ZFpVxxgwXAZS7W7oAexcUriDaejGquVcO2k/CVaTVDvS+dKCY60jCzEVLX0/BqoNw74hqg9HmuDdFk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=SU6Cq7NA; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="SU6Cq7NA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 216901F000C4; Sun, 18 Oct 2026 15:23:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792336986; bh=TCRHCvk8rYwE4WNDK/7OryCh0SBX/9M6YXgdk+xKRTk=; h=From:To:Cc:Subject:Date:Reply-To; b=SU6Cq7NA4zSLICEdy8bP8aLybPJd/9b83JcMiEy3upg3PBYshFCh/ueRxu4Jy1Y5a OiWMmXG2W09bGEyDSEH/GZgAE70XNuB5L+2hGymV7io7AVDIaPknK9v48DwL63+Fgb 42h8h9fNrWE3NQYjkMNiLkq6miKfZxyyMI3Kk1M0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98498: net/mlx5: Fix rev_entry reference leak in mlx5_tc_ct_shared_counter_get() Date: Sun, 18 Oct 2026 17:16:02 +0200 Message-ID: <2026101818-CVE-2026-98498-5a2d@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3507; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=B41gSdwNA4lBZD4jHtnhUzI3spu9u6r2p7rsNPx5j50=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHrXdlGo6b9F44U6RjuLcOc95ku9vFU7p0xBevX2Hd 0vV8ocMHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRlMsM86wvLDw2g9fqwc49 mZO2sm7xDj2RX80wV1JjW2L0QsO8704yUb6RtT/nnuW2BgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-98498 to this issue. Affected and fixed versions =========================== Issue introduced in 5.10 with commit 1edae2335adfa7006853e8b427f0c7c3f46b51dd and fixed in 5.10.271 with commit 598daa5f95883f881a54967da40ce0fdfc1fdaa8 Issue introduced in 5.10 with commit 1edae2335adfa7006853e8b427f0c7c3f46b51dd and fixed in 5.15.222 with commit 79a3257280a335bbebbcd10d3895e8468bdcd6ae Issue introduced in 5.10 with commit 1edae2335adfa7006853e8b427f0c7c3f46b51dd and fixed in 6.1.189 with commit c45c997d0c27359b502587897f775c5a277f0bd4 Issue introduced in 5.10 with commit 1edae2335adfa7006853e8b427f0c7c3f46b51dd and fixed in 6.6.158 with commit 288721013605b4e0304e10f6a087b77f71cfad11 Issue introduced in 5.10 with commit 1edae2335adfa7006853e8b427f0c7c3f46b51dd and fixed in 6.12.112 with commit 60eab87d0a798070bf5a856b1d9e5785ce92da53 Issue introduced in 5.10 with commit 1edae2335adfa7006853e8b427f0c7c3f46b51dd and fixed in 6.18.55 with commit 99d8dc51663747078c031acac32edc6d90c8f1f7 Issue introduced in 5.10 with commit 1edae2335adfa7006853e8b427f0c7c3f46b51dd and fixed in 7.2.9 with commit 1f13989a0704bd98cab09f9bee63e2c8a98ad4dd Issue introduced in 5.10 with commit 1edae2335adfa7006853e8b427f0c7c3f46b51dd and fixed in 7.3-rc5 with commit 0bf6bb567f0edaa771e7dd208ef98da50e6a4485 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-98498 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: 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